Skip to main content

MeshiPhi: Earth's digital twin mapped on a non-uniform mesh

Project description

Meshiφ (MeshiPhi)

Manual Page PyPi Release Tag Issues License

Introducing Meshiφ, a versatile software package designed for comprehensive earth modeling and navigation planning. Meshiφ works by discretizing the Earth's surface into a non-uniform grid, allocating higher resolution in regions of geographic diversity, and conserving lower resolution in more uniform regions. The software also incorporates data-driven vehicle models, with the ability to calculate speed limits and fuel needs for specific vessels within each grid cell. These mesh objects can be output in standard formats, such as GeoJSON and GeoTIFF, enabling data-visualisation via GIS software such as ArcGIS.

Installation

Meshiφ can be installed via pip or by cloning the repository from GitHub.

Pip:

pip install meshiphi

Github: (for local development)

git clone https://github.com/Antarctica/MeshiPhi
cd MeshiPhi
pip install -e .

The Meshiφ package has an optional dependency on GDAL, which is required to produce outputs in GeoJSON or GeoTIFF formats. More information on setting up GDAL can be found in the manual pages linked above. Once these requirements are met then the software can be installed by:

NOTE: The installation process may vary slightly dependent on OS. Please consult the documentation for further installation guidance.

Documentation

Sphinx is used to generate documentation for this project. The dependencies can be installed through pip:

pip install sphinx sphinx_markdown_builder sphinx_rtd_theme rinohtype

When updating the docs, run the following command within the MeshiPhi directory to recompile.

sphinx-build -b html ./docs/source ./docs/html

Sometimes the cache needs to be cleared for internal links to update. If facing this problem, run this from the MeshiPhi directory.

rm -r docs/build/.doctrees/

Required Data sources

Meshiφ has been built to work with a variety of open-source atmospheric and oceanographic data sources. A list of supported data sources and their associated data-loaders is given in the 'Data Loaders' section of the manual

Developers

Samuel Hall, Harrison Abbot, Ayat Fekry, George Coombs, Jonathan Smith, Maria Fox, and James Byrne

Collaboration

We are currently assessing the best practice for collaboration on the codebase, until then please contact polarroute@bas.ac.uk for further info.

License

This software is licensed under a MIT license, but request users cite our publication.

Jonathan D. Smith, Samuel Hall, George Coombs, James Byrne, Michael A. S. Thorne, J. Alexander Brearley, Derek Long, Michael Meredith, Maria Fox, (2022), Autonomous Passage Planning for a Polar Vessel, arXiv, https://arxiv.org/abs/2209.02389

For more information please see the attached LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meshiphi-2.0.8.tar.gz (88.4 kB view hashes)

Uploaded Source

Built Distribution

meshiphi-2.0.8-py3-none-any.whl (119.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page