Readers and converters for data from the GLDAS Noah Land Surface Model.
Project description
Readers and converters for data from the GLDAS Noah Land Surface Model. Written in Python.
Works great in combination with pytesmo.
Citation
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
395f78710167bfd8c9755247686c4693222edf73eb07ee6e7ec1ec6047a43506
|
|
| MD5 |
cf5110129729fe3c4cc6c5325485ac74
|
|
| BLAKE2b-256 |
dea9f80402e662fb492093c547bbe732eaa58012a6d7f848f13db6604a1e78d2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e751e93ae97754d0a598a973380d02567c9afbd92028d9133b5f57be28ac254b
|
|
| MD5 |
c0fe9c11ca6a8ad8a84bfe6081d58a3a
|
|
| BLAKE2b-256 |
02e1527becd5863176db5e96ac632ea4018930cb58ef493ccb39e060efd3613e
|