climr
climr copied to clipboard
update CRU and climateNA time series to 2024
i thought we had updated them, but CRU is only to 2022 and climatena to 2023. also, climatena starts at 1902; need to fix that too.
> test <- downscale(my_points, obs_ts_dataset = list_obs_ts_datasets(), obs_years = 1901:2024)
Welcome to climr!
Downscaling in database...
Extracting [73] bands from refmap_climr
Extracting [4,464] bands from mswx_blend
Extracting [4,392] bands from historic_cru_gpcc
Extracting [4,392] bands from historic_climatena
> range(as.numeric(test[DATASET=="climatena", PERIOD]))
[1] 1902 2023
> range(as.numeric(test[DATASET=="cru.gpcc", PERIOD]))
[1] 1901 2022
climateNA time series is still 1902-2023
> in_xyz <- data.frame(lon = c(-127.7052),lat = c(55.3557),elev = c(291),id = 1)
> test <- downscale(in_xyz, obs_ts_dataset = list_obs_ts_datasets(), obs_years = 1901:2024)
> range(as.numeric(test[DATASET=="climatena", PERIOD]))
[1] 1902 2023
> range(as.numeric(test[DATASET=="cru.gpcc", PERIOD]))
[1] 1901 2024
> range(as.numeric(test[DATASET=="mswx.blend", PERIOD]))
[1] 1901 2024