Preprocess datasets to manage to combine historical, ssp585, and ssp534-over into single time series.
ds (xr.Dataset) – dataset to be concatenated with other datasets
ds (xr.Dataset) – dataset cut after 2039 unless the start year is after 2030
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)