Skip to main content

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

Project description

Meshiφ (MeshiPhi)

Dev Status Documentation PyPI - Python Version PyPi Release Tag Issues License Test Status Coverage Ruff

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. These mesh objects can be output in standard formats, such as GeoJSON and GeoTIFF, enabling data-visualisation via GIS software such as ArcGIS. The default end products are designed to work with PolarRoute.

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/bas-amop/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.

Usage

Meshiφ provides CLI commands. For example, to create a mesh:

create_mesh --config path/to/config.json --output path/to/output.geojson

Example configs are provided in examples/environment_config/.

To export a mesh:

export_mesh --input path/to/meshfile --format geojson --output path/to/output.geojson

For a full list of commands and options, run:

create_mesh --help

See the documentation for more details and advanced usage.

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, David Wyld, Thomas Zwagerman, Jonathan Smith, Maria Fox, and James Byrne

Contributing

For more details on contributing, see the contributing guide.

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 LICENSE file.

How to Cite

If you use Meshiφ in your research, please cite our software and publication:

You can also use the "Cite this repository" button on GitHub for formatted citations.

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-0.0.0.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meshiphi-0.0.0-py3-none-any.whl (129.3 kB view details)

Uploaded Python 3

File details

Details for the file meshiphi-0.0.0.tar.gz.

File metadata

  • Download URL: meshiphi-0.0.0.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshiphi-0.0.0.tar.gz
Algorithm Hash digest
SHA256 5c8358440a773c3663876bf29cf9f29f34a309dd6bdfb0ba7d4d0326364deb5e
MD5 7db5159df9c06bc1feca53afe41667dd
BLAKE2b-256 c1322a355aaff501c8c41a6314787e7ec89e9e7467b1f7ea862a6d2d591cd16f

See more details on using hashes here.

Provenance

The following attestation bundles were made for meshiphi-0.0.0.tar.gz:

Publisher: pypi.yml on bas-logist/MeshiPhi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meshiphi-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: meshiphi-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 129.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshiphi-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e516df64ef11fa77d5727e664888371c0b6668307934a2bd0759c4aa064c6100
MD5 d8a45390e8c3b8166a626f129aa77bc6
BLAKE2b-256 db23e6643ba962f223ee7b5f1bbbbde5804df1851ec2019ddf9239c5f54fa1b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for meshiphi-0.0.0-py3-none-any.whl:

Publisher: pypi.yml on bas-logist/MeshiPhi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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