Bug when retrieving numeric indices with a list(start, end)
As reported by @rcruzgar
library(startR)
path <- '~/rcruzgar/load_metfr/$variable$_day_1993$section$_$item$.nc'
data <- Start(source = path, variable = 'soicecov', section = 'all', item = 'all', x = 'all', y = list(10, 30), time_counter = 'all')
* Exploring files... This will take a variable amount of time depending
* on the issued request and the performance of the file server...
Error in Start(source = path, variable = "soicecov", section = "all", :
Can not translate the provided selectors for 'y' to numeric indices. Provide numeric indices and a 'file_dim_reader' function, or a 'y_var' in order to calculate the indices.
In addition: Warning messages:
1: ! Warning: Parameter 'pattern_dims' not specified. Taking the first dimension,
! 'source' as 'pattern_dims'.
2: ! Warning: Taking the first pattern dim, 'source', as dimension with pattern
! specifications (to be fetched in configuration file).