All Projects → jobar8 → interpies

jobar8 / interpies

Licence: BSD-3-Clause License
A collection of functions for reading, displaying, transforming and analyzing geophysical data.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to interpies

Datacube Core
Open Data Cube analyses continental scale Earth Observation data through time
Stars: ✭ 285 (+996.15%)
Mutual labels:  raster, gdal
Titiler
A dynamic Web Map tile server
Stars: ✭ 153 (+488.46%)
Mutual labels:  raster, gdal
Geocube
Tool to convert geopandas vector data into rasterized xarray data.
Stars: ✭ 87 (+234.62%)
Mutual labels:  raster, gdal
XArrayAndRasterio
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
Stars: ✭ 21 (-19.23%)
Mutual labels:  raster, gdal
dask-rasterio
Read and write rasters in parallel using Rasterio and Dask
Stars: ✭ 82 (+215.38%)
Mutual labels:  gdal, rasterio
Rasterio
Rasterio reads and writes geospatial raster datasets
Stars: ✭ 1,643 (+6219.23%)
Mutual labels:  raster, gdal
Rioxarray
geospatial xarray extension powered by rasterio
Stars: ✭ 148 (+469.23%)
Mutual labels:  raster, gdal
Earthenterprise
Google Earth Enterprise - Open Source
Stars: ✭ 2,425 (+9226.92%)
Mutual labels:  raster, gdal
GeoArrays.jl
Simple geographical raster interaction built on top of ArchGDAL, GDAL and CoordinateTransformations
Stars: ✭ 42 (+61.54%)
Mutual labels:  raster, gdal
Rio Tiler
Rasterio plugin to create web map tiles from raster datasets.
Stars: ✭ 221 (+750%)
Mutual labels:  raster, gdal
awesome-geospatial-list
A curated list of geospatial tools, data, tutorials, information, and more
Stars: ✭ 32 (+23.08%)
Mutual labels:  raster, gdal
GDAL.jl
Thin Julia wrapper for GDAL - Geospatial Data Abstraction Library
Stars: ✭ 78 (+200%)
Mutual labels:  raster, gdal
geoserver-rest
Python library for management for geospatial data in GeoServer. The geoserver-rest docs is available here,
Stars: ✭ 119 (+357.69%)
Mutual labels:  raster, gdal
rio-hist
Histogram matching plugin for rasterio
Stars: ✭ 71 (+173.08%)
Mutual labels:  rasterio
gaia
Gaia is a geospatial analysis library jointly developed by Kitware and Epidemico.
Stars: ✭ 29 (+11.54%)
Mutual labels:  gdal
xlines
X lines of Python
Stars: ✭ 100 (+284.62%)
Mutual labels:  geophysics
rio-toa
Top Of Atmosphere (TOA) calculations for Landsat 8
Stars: ✭ 38 (+46.15%)
Mutual labels:  rasterio
geodot-plugin
Godot plugin for loading geospatial data
Stars: ✭ 37 (+42.31%)
Mutual labels:  gdal
PVGeo
🌍 Python package of VTK-based algorithms to analyze geoscientific data and models
Stars: ✭ 156 (+500%)
Mutual labels:  geophysics
Julia Geospatial
Examples for a blog series on Geospatial Julia using ArchGDAL
Stars: ✭ 58 (+123.08%)
Mutual labels:  raster

Interpies

interpies is a collection of functions to read and analyse geophysical data, especially non-seismic data such as magnetic and gravity data.

Table of Contents

Getting Started

Requirements

Interpies requires Python 3.x and makes use of the following libraries:

  • numpy
  • matplotlib
  • rasterio version > 1.0 (alpha)
  • gdal
  • scikit-learn
  • scikit-image

Optional:

  • obspy for reading and writing SEG-Y files (seismic data)
  • geopandas for reading survey line data
  • ipykernel for working with interpies in Jupyter notebooks
  • basemap and cartopy for making maps

Installation

Dependencies

I recommend using Anaconda for the installation of both Python and most of the dependencies.

Once Anaconda has been installed, make sure the conda-forge channel is added to your configuration:

conda config --add channels conda-forge

Next, I would suggest creating a new environment for working with interpies. You could start with this command:

conda create --name interpies gdal scikit-learn scikit-image matplotlib ipykernel obspy python=3.6

Next, install rasterio. You could try using conda install rasterio. However, the only version available on conda-forge might be the old 0.36. The alpha version 1.0a9 or better is required for interpies to work. So carefully check which version is going to be installed first.

On Windows, if the version does not match, simply download the binaries for the required version from Christoph Gohlke's website. Then run, for example:

pip install rasterio-1.0a12-cp36-cp36m-win_amd64.whl

And that should do. If you encounter other problems with this part of the installation, please refer to the rasterio installation.

Optionally, you could also install geopandas, which is great for reading line data from geophysical surveys. And don't forget to install ipykernel to run the notebooks in the interpies environment.

interpies

Installing interpies itself is done directly with:

pip install interpies

Or you could do it manually by first cloning the current repository:

$ git clone https://github.com/jobar8/interpies.git

Then run the following command in the repository directory:

$ python setup.py install

Upgrading

Because a version of rasterio > 1.0 is not directly available to pip, upgrading an existing installation of interpies must be done without trying to upgrade dependencies (or do it separately). Here is the command:

pip install --upgrade --no-deps interpies

Examples

The basic usage of interpies is to load gridded data into a grid object, which then gives access to various methods for transforming and displaying the data. So, loading magnetic data and creating a map with the grid is simply done with:

import interpies
grid1 = interpies.open(r'..\data\brtpgrd.gxf')
grid1.show()

image of magnetic data

For more advanced examples, please see the notebooks.

Documentation

Under construction.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].