{ "info": { "author": "Joseph Barraud", "author_email": "joseph.barraud@geophysicslabs.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering" ], "description": "# Interpies\n\n`interpies` is a collection of functions to read and analyse geophysical data, especially non-seismic data such as magnetic and gravity data.\n\n## Table of Contents\n\n* [Getting Started](##GettingStarted)\n * [Requirements](###Prerequisits)\n * [Installation](###Installation)\n* [Examples](##Examples)\n* [Documentation](##Documentation)\n\n## Getting Started\n\n### Requirements\n\nInterpies requires `Python 3.x` and makes use of the following libraries:\n\n* `numpy`\n* `matplotlib`\n* `rasterio` version > 1.0 (alpha)\n* `gdal`\n* `scikit-learn`\n* `scikit-image`\n\nOptional:\n\n* `obspy` for reading and writing SEG-Y files (seismic data)\n* `geopandas` for reading survey line data\n* `ipykernel` for working with `interpies` in Jupyter notebooks\n* `basemap` and `cartopy` for making maps\n\n### Installation\n\n#### Dependencies\n\nI recommend using [Anaconda](https://www.anaconda.com/what-is-anaconda/) for the installation of both Python and most of the dependencies.\n\nOnce Anaconda has been installed, make sure the `conda-forge` channel is added to your configuration:\n\n`conda config --add channels conda-forge`\n\nNext, I would suggest creating a new environment for working with `interpies`. You could start with this command:\n\n`conda create --name interpies gdal scikit-learn scikit-image matplotlib ipykernel obspy python=3.6`\n\nNext, 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.\n\nOn **Windows**, if the version does not match, simply download the binaries for the required version from Christoph Gohlke's [website](http://www.lfd.uci.edu/~gohlke/pythonlibs/#rasterio). Then run, for example:\n\n`pip install rasterio-1.0a12-cp36-cp36m-win_amd64.whl`\n\nAnd that should do. If you encounter other problems with this part of the installation, please refer to the [rasterio installation](https://mapbox.github.io/rasterio/installation.html).\n\nOptionally, 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.\n\n#### interpies\n\nInstalling `interpies` itself is done directly with:\n\n`pip install interpies`\n\nOr you could do it manually by first cloning the current repository:\n\n`$ git clone https://github.com/jobar8/interpies.git`\n\nThen run the following command in the repository directory:\n\n`$ python setup.py install`\n\n#### Upgrading\n\nBecause 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:\n\n`pip install --upgrade --no-deps interpies`\n\n## Examples\n\nThe 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:\n\n```python\nimport interpies\ngrid1 = interpies.open(r'..\\data\\brtpgrd.gxf')\ngrid1.show()\n```\n\n![image of magnetic data](/doc/mag_survey_example.png)\n\nFor more advanced examples, please see the notebooks.\n\n## Documentation\n\nUnder construction.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jobar8/interpies", "keywords": "geophysics raster gdal gravimetry magnetometry seismic", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "interpies", "package_url": "https://pypi.org/project/interpies/", "platform": "", "project_url": "https://pypi.org/project/interpies/", "project_urls": { "Homepage": "https://github.com/jobar8/interpies" }, "release_url": "https://pypi.org/project/interpies/0.3.1/", "requires_dist": [ "matplotlib", "numpy", "rasterio (>=1.0a9)", "scikit-image", "scikit-learn", "scipy" ], "requires_python": "", "summary": "A collection of functions for reading, displaying, transforming and analyzing geophysical data.", "version": "0.3.1" }, "last_serial": 3638061, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "55ca1d84c7431875ea44ef3011319fb9", "sha256": "648043ce0a2760a51ccd4379412831853e690122e1ca89a41f3be04e96688453" }, "downloads": -1, "filename": "interpies-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "55ca1d84c7431875ea44ef3011319fb9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34391, "upload_time": "2017-10-01T16:34:34", "url": "https://files.pythonhosted.org/packages/91/7b/6358281151e419ebed3580bf02f09d063f89b2de8b8555932035223321f9/interpies-0.1.0-py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "29d5eebc101b4d9ca1742ec7ab108352", "sha256": "31f4a313b27153b4aa0922f1de6f7a30eefae7c54f0ca22b37c8b2f440e85b46" }, "downloads": -1, "filename": "interpies-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "29d5eebc101b4d9ca1742ec7ab108352", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 37817, "upload_time": "2017-10-01T17:13:14", "url": "https://files.pythonhosted.org/packages/3a/aa/5a9c520d399b8c8546522716affb6446ca113d261fc11fa4b0eed5495833/interpies-0.1.1-py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b07becbaf4225e76be30d06d0f6160b8", "sha256": "08595d85140d3ec74ab757479ec679fe9aaf016a6e4050ec478dd83eb2575903" }, "downloads": -1, "filename": "interpies-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b07becbaf4225e76be30d06d0f6160b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 37867, "upload_time": "2017-10-03T22:09:45", "url": "https://files.pythonhosted.org/packages/2a/f1/ddbfefb570280d71dd3f0bc6a9691e500e4c39e1162659ccb7592acf8dd0/interpies-0.1.2-py3-none-any.whl" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "01348fb1b7d6d1db33c2ba04efc60826", "sha256": "e985d9c8ec262889a2b38649935d04e0307ba71c69064eb780a9e2861c60d2d0" }, "downloads": -1, "filename": "interpies-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "01348fb1b7d6d1db33c2ba04efc60826", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 38248, "upload_time": "2017-11-02T08:33:05", "url": "https://files.pythonhosted.org/packages/f0/e8/c732370e7139d1c53aac6b7b272a2379eba371cbca9f0da4fd3413703a91/interpies-0.1.3-py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c7698999a3ba966206e321f68c58ce54", "sha256": "10f54c02faf37e22ce144f041fc28c39eaeafb4df66a164246823264447c77c4" }, "downloads": -1, "filename": "interpies-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c7698999a3ba966206e321f68c58ce54", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41387, "upload_time": "2017-12-19T07:43:46", "url": "https://files.pythonhosted.org/packages/38/4d/9e8249e9b475f760b9eb06d1d4b049293ad4fd48d90c7422f64b9d83bf67/interpies-0.2.0-py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0c37a40b555a86440cb0da070614ea0e", "sha256": "b45f6981adeb1720e306538d7b1e404a8e32c1b2e3eb068b6ca7bcb30933bec9" }, "downloads": -1, "filename": "interpies-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0c37a40b555a86440cb0da070614ea0e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41971, "upload_time": "2018-03-03T11:33:28", "url": "https://files.pythonhosted.org/packages/be/cd/63e6b042fa2cd58742645054ae098d2b8ef7bf6aaefc17fdb9c315281720/interpies-0.3.0-py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "68ed4e6eeafc85250a96d3591fcb4c85", "sha256": "881de8270e23719a1c14553a909519302eebed3fd65fe9bb896913aacb4c822a" }, "downloads": -1, "filename": "interpies-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "68ed4e6eeafc85250a96d3591fcb4c85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 42024, "upload_time": "2018-03-04T13:36:51", "url": "https://files.pythonhosted.org/packages/2e/7f/f255ad4f65a8cf7f5ff2d74f7d6303aa200513d874a72aadd614c1ce679d/interpies-0.3.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68ed4e6eeafc85250a96d3591fcb4c85", "sha256": "881de8270e23719a1c14553a909519302eebed3fd65fe9bb896913aacb4c822a" }, "downloads": -1, "filename": "interpies-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "68ed4e6eeafc85250a96d3591fcb4c85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 42024, "upload_time": "2018-03-04T13:36:51", "url": "https://files.pythonhosted.org/packages/2e/7f/f255ad4f65a8cf7f5ff2d74f7d6303aa200513d874a72aadd614c1ce679d/interpies-0.3.1-py3-none-any.whl" } ] }