Problem with the use case: 'Use experimental data attribute to load in oberservational data (dataex1_3_attr_loadin.R)'
Hi!
I've been trying to reproduce this use case because I have to perform a similar kind of data retrieval, and I've encountered that when I'm executing it (with the parameter retrieve = FALSE), it gets stuck and never progresses from 'exploring'. I've been doing some small 'checks', and it seems that it is related to the sdate
in the return_vars
:
var = 'tas',
sdate = sdate,
time = indices(seq(1, 124, 4)), #first time step per day
ensemble = 'all',
latitude = indices(1:10),
longitude = indices(1:10),
return_vars = list(latitude = NULL,
longitude = NULL,
time = c('sdate')))
Because if I use pattern_dims = 'dat'
and time = dat
, it seems to work. However, when I further check its dimensions:
# retrieve the attributes for obs load-in
dates <- attr(system4, 'Variables')$dat$time
dim(dates)
It no longer has sdate
and time
dimensions as it should be according to the vignnette (only time
). I'm not very experienced with StartR so it's also possible that I'm overlooking something...
Thanks a lot,
Raül