process_desp_era5_data#
- dtcg.datacube.desp.process_desp_era5_data(
- gdir,
- settings_filesuffix='',
- frequency='monthly',
- y0=None,
- y1=None,
- output_filesuffix=None,
Processes and writes the ERA5 baseline climate data for this glacier.
Extracts the nearest timeseries and writes everything to a NetCDF file.
- Parameters:
gdir (GlacierDirectory) – the glacier directory to process
settings_filesuffix (str, optional) – You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments. Code-wise the settings_filesuffix is set in the @entity-task decorater.
frequency (str, default "monthly") – ‘monthly’ (default) to use monthly DESP dataset, or “daily” to use the hourly DESP dataset resampled to daily aggregates.
y0 (int, default None) – The starting year of the desired timeseries. The default is to take the entire time period available in the file, but with this argument you can shorten it to save space or to crop bad data.
y1 (int, default None) – The end year of the desired timeseries. The default is to take the entire time period available in the file, but with this argument you can shorten it to save space or to crop bad data.
output_filesuffix (str) – Add a suffix to the output file (useful to avoid overwriting previous experiments).
