cmip6_downscaling.data.cmip.postprocess

Contents

cmip6_downscaling.data.cmip.postprocess#

cmip6_downscaling.data.cmip.postprocess(ds: Dataset, to_standard_calendar: bool = True) Dataset[source]#

Post process input experiment

  • Drops band variables (if present)

  • Drops height variable (if present)

  • Squeezes length 1 dimensions (if present)

  • Standardizes longitude convention to [-180, 180]

  • Reorders latitudes to [-90, 90]

  • Shifts time from Noon (12:00) start to Midnight (00:00)

Parameters:
dsxr.Dataset

Input dataset

to_standard_calendarbool, optional

Whether to convert time to standard calendar, by default True

Returns:
dsxr.Dataset

Post processed dataset