Hello, I am using climr@devl v 0.2.23 with a data frame of around 20K points. The id column is unique, but every id does not have a unique location (there are a few duplicated points). My initial attempts have produced the error shown below. This has run for me if I change the obs_years and obs_ts_dataset so I'm unsure if my request is the issue?
#> packageVersion("climr")
#[1] ‘0.2.23’
test <- read.csv("https://github.com/user-attachments/files/23940237/climr_reprex_data.csv")
vars <- c("AHM", "FFP", "CMD_an", "CMI_an", "SHM", "NFFD_an",
"MAP","MAT", "MCMT", "MSP", "MWMT", "DD5_an", "DD18_an", "DDsub0_an")
test_obs_climate <- climr::downscale(xyz = test, obs_years = 1930:2022,
obs_ts_dataset = "climatena", vars = vars)
Welcome to climr!
Downscaling in database...
Extracting [73] bands from refmap_climr
Extracting [3,348] bands from historic_climatena
Processed 64629793 groups out of 64629793. 100% done. Time elapsed: 502s. ETA: 0s..
Error in Ops.data.frame(climaterast[, ppt_offset], res[, match(labels[ppt_], :
‘*’ only defined for equally-sized data frames
Hello, I am using climr@devl v 0.2.23 with a data frame of around 20K points. The id column is unique, but every id does not have a unique location (there are a few duplicated points). My initial attempts have produced the error shown below. This has run for me if I change the
obs_yearsandobs_ts_datasetso I'm unsure if my request is the issue?climr_reprex_data.csv