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-2.3.1.tar.gz (100.9 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for meshiphi-2.3.1.tar.gz
Algorithm Hash digest
SHA256 b65e2546e8c575b722d6878e68af14bb7a94336f92ec0cb79abb5b9fa01d7d37
MD5 cc5eb43b03d4781c13e462fe1a5f59cc
BLAKE2b-256 7520828ae1933297a150c0c5f8ebdc3ce24fee4eab0af4a71e8922f4238cd4df

See more details on using hashes here.

Provenance

The following attestation bundles were made for meshiphi-2.3.1.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-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: meshiphi-2.3.1-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-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9df3a7430e0eef1e4dbd78c85beccd704d20f5f81a7ec42b8fffacd58d9570ea
MD5 aa17249a131d9006ffe38135be917138
BLAKE2b-256 cb95179d06825e62d9c794cc10ccc47dd78c2a77ca5c13a3c70551996c8edce9

See more details on using hashes here.

Provenance

The following attestation bundles were made for meshiphi-2.3.1-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