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.
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.
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/
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
Samuel Hall, Harrison Abbot, Ayat Fekry, George Coombs, Jonathan Smith, Maria Fox, and James Byrne
We are currently assessing the best practice for collaboration on the codebase, until then please contact polarroute@bas.ac.uk for further info.
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.