Readers and converters for data from the GLDAS Noah Land Surface Model.
Readers and converters for data from the GLDAS Noah Land Surface Model. Written in Python.
Works great in combination with pytesmo.
Setup of a complete environment with conda can be performed using the following commands:
conda create -q -n gldas-environment -c conda-forge numpy netCDF4 pyproj pygrib source activate gldas-environment pip install gldas
This will also try to install pygrib for reading the GLDAS grib files. If this does not work then please consult the pygrib manual.
Reading grib files does not work on Windows as far as we know. It might be possible to compile the ECMWF C library but we have not done it yet.
In order to download GLDAS NOAH products you have to register an account with NASA’s Earthdata portal. Instructions can be found here.
After that you can use the command line program gldas_download.
mkdir ~/workspace/gldas_data gldas_download ~/workspace/gldas_data
would download GLDAS Noah version 2.0 in 0.25 degree sampling into the folder ~/workspace/gldas_data. For more options run gldas_download -h.
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.