Python package for Earth data models management
Project description
- Copyright:
- 2019 Antonio Valentino
- license:
MIT
- url:
About
GeoModels provides tools for the management of Earth models like geoids, gravity models, and magnetic field models.
It also provides some utility function to download and install support data to that are necessary for Earth models computation.
It is basically a Cython wrapper for part of the the GeographicLib C++ library.
Installation
The GeoModels requires Python >= 3.6. To use GeoModels it is necessary to have the following Python packages installed:
tqdm (optional)
argcomplete (optional)
The geomodels package provides some binary extensions so the installation from sources also requires:
a C/C++ compiler
GeographicLib >= 1.49
The required Python packages are automatically installed installed by Pip and setuptools but the user is in charge of ensuring that the C++ compiler and GeographicLib are properly installed and configured.
The installation form sources can be done using the following command:
$ python3 -m pip install PATH_TO_GEOMODELS_SOURCES_OR_TARBALL
Please refer to the Pip user manual for details about installation options.
Developers may want to build the package inplace for development and testing purposes. In this case the following command can be used from within the root of the package source tree:
$ python3 setup.py build_ext --inplace
Testing
The recommended way to run tests is to use PyTest form the root of the geomodels package source tree:
$ python3 -m pytest
The above, of course, requires the PyTest to be installed.
In alternative the following command can be used:
$ python3 setup.py test
License
GeoModels is released under the terms of the MIT/X11 License (see LICENSE file).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file geomodels-1.0.0b1.tar.gz
.
File metadata
- Download URL: geomodels-1.0.0b1.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf96e9c4fb4d637a244c0db9d912010f7db414dbcd22d4994fac23a990adce6b |
|
MD5 | 7f9adebb71c76e373a2fff09e62b991f |
|
BLAKE2b-256 | f267f6e135c2e89f792b5ff1cd8f06623eefdd3d38c50f7660cfdeb3612da7b6 |