Skip to main content

Morton numbering and indexing for healpix grids

Project description

mortie

Morty using mortie

Mortie is a library for applying morton indexing to healpix grids. Morton numbering (also called z-ordering) facilitates several geospatial operators such as buffering and neighborhood look-ups, and can generally be thought of as a type of geohashing.

This particular implementation focuses on hierarchical healpix maps, and is mostly inspired from this paper.

TODO:

  • add paper reference
  • add funding information
  • add tests
  • remove / prune dead code
  • add example(s)
  • fix north / south bug
  • remove numba dependency
  • update documentation
  • publish to pypi

Dependencies currently are numpy, numba, and healpy. Ideally, this will be reduced to just healpy and numpy in the near future. Although not a dependency, there are several functions that have been written to interface with the vaex project. The environment.yaml file contains a full plotting environment needed to run the examples; setup.py will only build the minimum requirements for only the library.

Funding

Initial funding of this work was supported by the ICESat-2 project science office, at the Laboratory for Cryospheric Sciences (NASA Goddard, Section 615).

References

[1] Youngren, Robert W., and Mikel D. Petty. "A multi-resolution HEALPix data structure for spherically mapped point data." Heliyon 3.6 (2017): e00332. doi: 10.1016/j.heliyon.2017.e00332

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

mortie-0.3.1.tar.gz (11.5 MB view details)

Uploaded Source

Built Distribution

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

mortie-0.3.1-py3-none-any.whl (11.4 MB view details)

Uploaded Python 3

File details

Details for the file mortie-0.3.1.tar.gz.

File metadata

  • Download URL: mortie-0.3.1.tar.gz
  • Upload date:
  • Size: 11.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mortie-0.3.1.tar.gz
Algorithm Hash digest
SHA256 abd56654fc33568d00add6944d3cfd89ceb4e0b49e6bb254010bc67b31e6978d
MD5 63de0fb75165b4a8ba68df84fec52ecd
BLAKE2b-256 4e05c1ddcdf72fd6471ca3c94c6b8267c098f20afd36c0a73ed1657ba9614a48

See more details on using hashes here.

Provenance

The following attestation bundles were made for mortie-0.3.1.tar.gz:

Publisher: publish.yml on espg/mortie

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

File details

Details for the file mortie-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: mortie-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mortie-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9de80c864b061bb8d691ba24c91c9e96cbc99139ae4cdbf41c4c97e98c0226
MD5 d33056acc4ab8efe98572b4c1299e5ea
BLAKE2b-256 e5607876a0756d21656b8ded598e6ff91c5ca1c636f8c5f1d46c79df65272c06

See more details on using hashes here.

Provenance

The following attestation bundles were made for mortie-0.3.1-py3-none-any.whl:

Publisher: publish.yml on espg/mortie

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