cordex.preprocessing.remap_lambert_conformal

cordex.preprocessing.remap_lambert_conformal#

remap_lambert_conformal(ds, regridder=None, domain=None)[source]#

Remap lambert conformal grid to rotated pole grid

Remap CORDEX dataset with lambert conformal grid mapping to rotated pole grid mapping using xesmf.

Parameters:
  • ds (xr.Dataset) – CORDEX like dataset.

  • regridder (xesmf.Regridder) – Regridder instance for use in the remapping. If regridder is None, an instance will be created to remap the dataset to the rotated_pole grid defined by the CORDEX_domain dataset attribute.

  • domain (str) – Domain name of the target grid. If domain is None, remap the dataset to the rotated_pole grid defined by the CORDEX_domain dataset attribute.

Returns:

remapped dataset (xr.Dataset) – Dataset with lambert conformal data remapped to rotated pole.