Skip to main content

Readers and converters for data from the GLDAS Noah Land Surface Model.

Project description

ci cov pip doc

Readers and converters for data from the GLDAS Noah Land Surface Model. Written in Python.

Works great in combination with pytesmo.

Citation

https://zenodo.org/badge/DOI/10.5281/zenodo.596427.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.596427 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 can be installed via pip from pypi.org. The minimum supported python version is 3.10.

You can install the gldas package and all required dependencies via

pip install gldas

Optional dependencies

To read grib versions of GLDAS Noah, please install pygrib first:

pip install pygrib

On windows it might be necessary to use conda:

conda install -c conda-forge pygrib

Supported Products

At the moment this package supports GLDAS Noah data version 1 in grib format (reading, time series creation) and GLDAS Noah data version 2.0 and version 2.1 in netCDF format (download, reading, time series creation) with a spatial sampling of 0.25 degrees. It should be easy to extend the package to support other GLDAS based products. This will be done as need arises.

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 also recommend a conda environment. You can create one including test dependencies and debugger by running conda create -n gldas python=3.12, then conda env update -f environment.yml to install all dependencies. Finally, call pip install -e .[testing]. Now everything should be in place to run tests and develop new features.

Guidelines

If you want to contribute please follow these steps:

  • Fork the gldas repository to your account

  • Clone the repository, make sure you use git clone --recursive to also get the test data repository.

  • make a new feature branch from the gldas 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 2.5.6. For details and usage information on PyScaffold see http://pyscaffold.readthedocs.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

gldas-0.7.2.tar.gz (834.2 kB view details)

Uploaded Source

Built Distribution

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

gldas-0.7.2-py2.py3-none-any.whl (59.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gldas-0.7.2.tar.gz.

File metadata

  • Download URL: gldas-0.7.2.tar.gz
  • Upload date:
  • Size: 834.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gldas-0.7.2.tar.gz
Algorithm Hash digest
SHA256 395f78710167bfd8c9755247686c4693222edf73eb07ee6e7ec1ec6047a43506
MD5 cf5110129729fe3c4cc6c5325485ac74
BLAKE2b-256 dea9f80402e662fb492093c547bbe732eaa58012a6d7f848f13db6604a1e78d2

See more details on using hashes here.

File details

Details for the file gldas-0.7.2-py2.py3-none-any.whl.

File metadata

  • Download URL: gldas-0.7.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 59.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gldas-0.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e751e93ae97754d0a598a973380d02567c9afbd92028d9133b5f57be28ac254b
MD5 c0fe9c11ca6a8ad8a84bfe6081d58a3a
BLAKE2b-256 02e1527becd5863176db5e96ac632ea4018930cb58ef493ccb39e060efd3613e

See more details on using hashes here.

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