Skip to main content

Morton numbering 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.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

mortie-0.2.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mortie-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for mortie-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a6f36770ad6bca8e3acbac28a76c56e5267bf8a940617ab60dc707f635121ba1
MD5 7c1b48591ca85477fc4a03824160d0f4
BLAKE2b-256 9af2ca5a92160849fbcaf3a8b7552b6eab894e43b8567e7d3a9f7120afc24655

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mortie-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for mortie-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0930c63768fb1adfaac274855edf8223708e7354229b6c23231b58acc9e0b9e0
MD5 2954c7b7f3f471290e1ac4e8afeef37f
BLAKE2b-256 d232490ef400a5d2212a04617b52fdaecf9c4da1970d09c43750b18d9ae0b28e

See more details on using hashes here.

Supported by

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