Skip to main content

Module for creation and handling of discrete global grids

Project description

https://github.com/TUW-GEO/pygeogrids/workflows/test/badge.svg https://coveralls.io/repos/TUW-GEO/pygeogrids/badge.svg?branch=master https://badge.fury.io/py/pygeogrids.svg https://readthedocs.org/projects/pygeogrids/badge/?version=latest

This is a package for creation and handling of Discrete Global Grids or Point collections. We hope extend the interface also to projected grids(images) in the future.

Citation

https://zenodo.org/badge/DOI/10.5281/zenodo.596401.svg

If you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.

Please select your specific version at https://doi.org/10.5281/zenodo.596401 to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning

Installation

This package should be installable through pip:

pip install pygeogrids

Features

For now the main features are:

  • Creation of grids

  • Nearest neighbor search

  • conversion of grid piont indices to lat, lon

  • Storage of grids and loading grids from CF-compatible netCDF files

  • Calculation of lookup tables between grids

  • Support for different Geodetic Datums using pyproj.

Contribute

We are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes.

Development setup

For Development we recommend a conda environment. You can create one including test dependencies and debugger by running conda env create -f environment.yml. This will create a new pygeogrids environment which you can activate by using source activate pygeogrids.

Guidelines

If you want to contribute please follow these steps:

  • Fork the pygeogrids repository to your account

  • Clone the repository

  • make a new feature branch from the pygeogrids master branch

  • Add your feature

  • Please include tests for your contributions in one of the test directories. We use py.test so a simple function called test_my_feature is enough

  • submit a pull request to our master branch

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

pygeogrids-0.4.1.tar.gz (63.5 kB view details)

Uploaded Source

Built Distribution

pygeogrids-0.4.1-py2.py3-none-any.whl (30.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pygeogrids-0.4.1.tar.gz.

File metadata

  • Download URL: pygeogrids-0.4.1.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for pygeogrids-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0e7224515e515f1efa793fad97076fd6402f390c4fb1ed72877aee3f1fe9b00e
MD5 239c395c9c3536265bd2055c417f3dd5
BLAKE2b-256 6dfff2e8ae6d4396e52bef516e6ba17098074c7140525cddf12a066b391a6303

See more details on using hashes here.

File details

Details for the file pygeogrids-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pygeogrids-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for pygeogrids-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2abaf33012df173e20eebf5e5ccc3d587b42f9a435e0d058e30e5b0adf2303e4
MD5 d9854987ada14eef27a6213de1d54930
BLAKE2b-256 72f9821515ac2e9f123feefe43384065fa64085aa7d2bc51ba59ef640fd548c9

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