Interpolating data with startR-transform
I have not being able to interpolate model data to observations with the following code.
repos <- '/esarchive/exp/ecearth/a1ua/cmorfiles/DCPP/EC-Earth-Consortium/EC-Earth3/dcppA-hindcast/$memb$/Omon/$var$/gr/v20190508/$var$_Omon_EC-Earth3_dcppA-hindcast_s$sdate$-$memb$_gr_$chunk$.nc'
data_cmip6_1 <- Start(dat = repos,
var = 'tos',
memb = c('r1i1p1f1'),
sdate = paste(seq('1960','1962')),
time = c(1:12),
chunk = 'all',
lat = 'all',
lon = 'all',
chunk_depends = 'sdate',
time_across = 'chunk',
merge_across_dims = TRUE,
transform = CDORemapper,
transform_params = list(grid='/esarchive/obs/ukmo/hadcrut_v4.6/monthly_mean/tasanomaly/tasanomaly_201712.nc', method='con'),
transform_vars = c('lat', 'lon'),
return_vars = list(lat = NULL, lon = NULL),
retrieve = T)
I get the following error:
- Exploring files... This will take a variable amount of time depending
- on the issued request and the performance of the file server... Error in picked_common_vars_ordered[[i]] : subscript out of bounds
Could you tell me if there is anything missing? Perhaps there is something wrong with my script, but there isn't much documentation.
Thanks