input.converter_functions.RADCLIM_to_CF#
- RADCLIM_to_CF(ds: Dataset) Dataset [source]#
Convert a xarray with raw RADCLIM data to a ValensPy compliant xarray Dataset.
Rename nlon and nlat to lon and lat, respectively. Set the coordinates lat_bounds and lon_bounds as coordinates.
- Parameters:
ds (xr.Dataset) – The xarray Dataset of CCLM simulation to convert
- Returns:
The CF compliant CCLM model data for the specified variable.
- Return type:
Dataset