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
Setup of a complete environment with conda can be performed using the following commands:
conda create -n gldas python=3.9 # or any other supported python version
source activate gldas
# Either install required conda packages manually
conda install -c conda-forge numpy netCDF4 pyproj pygrib pyresample -n gldas
# Or use the provided environment file to install all dependencies
conda env update -f environment.yml -n gldas
# Install the latest gldas package and its pip-dependencies
pip install gldas
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 env create -f environment.yml. This will create a new gldas environment which you can activate by using source activate gldas.
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
File details
Details for the file gldas-0.7.0.tar.gz
.
File metadata
- Download URL: gldas-0.7.0.tar.gz
- Upload date:
- Size: 832.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b6b38a9a4f72a72b8b06a7f8109d7d38c7d67d40f13d04797a0535c843dac45 |
|
MD5 | dacb11ac97e6bc075f335a59983ad3f7 |
|
BLAKE2b-256 | bcbcc72330e81a1e1f31ace4b6ef33912596acf0f75645f13ad55cb33306ed26 |
File details
Details for the file gldas-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: gldas-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 59.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773335a6691ccf0a67e11a05c616a3426115cb06ad1ef53bc818fdf0a740c71b |
|
MD5 | 89ea16a42740de2973459b479cd2b6b3 |
|
BLAKE2b-256 | 1ad2bac85bab851b8481c0ced48ddbd8143d8f73fa91fe1b008ee86e824eefc7 |