mesmer.io.preprocess_ssp534over

mesmer.io.preprocess_ssp534over(ds)

Preprocess datasets to manage to combine historical, ssp585, and ssp534-over into single time series.

Parameters

ds (xr.Dataset) – dataset to be concatenated with other datasets

Returns

ds (xr.Dataset) – dataset cut after 2039 unless the start year is after 2030

Notes

  • ssp534over starts in 2040, before it follows ssp585

  • This pre-processing allows to concatenate the individual files without running into overlapping time periods

  • Code received from Mathias Hauser on 20201117 (personal exchange via slack)