tams.data.get_imerg#
- tams.data.get_imerg(time_or_range, *, version='07', run='final', parallel=False, **kwargs)#
Stream GPM IMERG L3 precipitation from NASA Earthdata.
https://gpm.nasa.gov/data/directory
This is half-hourly 0.1° (~ 10-km) resolution data. Each HDF5 file contains one time step. Each time step represents the mean precipitation rate for the half-hourly period that starts at the indicated time (i.e., left-labeled).
Note
The Python packages earthaccess and h5netcdf are required. Additionally, you must have a NASA Earthdata account (see https://earthaccess.readthedocs.io/en/stable/howto/authenticate/ for more info).
- Parameters:
time_or_range (Any | tuple[Any, Any]) – Specific time or time range (inclusive) to request.
version (str) – For example: ‘06’, ‘07’.
run (str) – ‘early’ and ‘late’ are available in near-realtime; ‘final’ is delayed by a few months. See what’s available at NASA GES DISC.
parallel (bool) – Passed to
xarray.open_mfdataset(), telling it to open files in parallel using Dask. This may speed up loading if you are requesting more than a few hours, especially if you are usingdask.distributed.**kwargs – Passed to
earthaccess.login().
- Return type:
See also
Notes
Added in version 0.1.6.