selector is 'all' has problem in interpolation
When lat and lon is 'all', the interpolation has problems sometimes. The following example has lat = 179
if lat = 'all'
. lat = list(90 , -90)
has no problem.
path_obs <- '/esarchive/recon/ecmwf/era5/monthly_mean/$var$_f1h/$var$_$file_date$.nc'
data_obs <- Start(dat = path_obs,
var = 'tas',
file_date = '198012',
latitude = 'all', #values(list(90,-90)),
latitude_reorder = Sort(),
longitude = 'all', #values(list(0, 359.9)),
longitude_reorder = CircularSort(0, 360),
time = indices(1),
transform = CDORemapper, transform_extra_cells = 2,
transform_params = list(grid = 'r360x181',
method = 'con'),
transform_vars = c('latitude', 'longitude'),
synonims = list(longitude = c('lon', 'longitude'),
latitude = c('lat', 'latitude')),
return_vars = list(time = c('file_date'),
latitude = NULL, longitude = NULL),
retrieve = F)