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.0.0.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.0.0-py3-none-any.whl (11.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mortie-0.0.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 0d77b25a31cbd344b8bd4d706ef1fff3fa21f3de87732a441fe71d64f4dc7be4
MD5 723d8ffe1ea9eef9d35cd49e8388f431
BLAKE2b-256 c06558c20f1052857787bf02dd3e37a64da31543007caedb673c3ceabb559625

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mortie-0.0.0-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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92e20afb2890f23bffb288f69aa21ac0bb1727a7ea5778344f3c9192197364e4
MD5 d6b42e1bcf383a4839bd279a0304ccf2
BLAKE2b-256 462ff6ebdf34416eff333a56a2f2c441356125c947899e10ef09806924d7a0a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mortie-0.0.0-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