diff --git a/DESCRIPTION b/DESCRIPTION index f501e90231a2ac149732de51b5b9339f7e9d7ebc..c091bc3abc4aaa65c59522452d2b62a52c4d3f32 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: startR Title: Automatically Retrieve Multidimensional Distributed Data Sets -Version: 2.1.0 +Version: 2.1.0-1 Authors@R: c( person("BSC-CNS", role = c("aut", "cph")), person("Nicolau", "Manubens", , "nicolau.manubens@bsc.es", role = c("aut")), diff --git a/R/CDORemapper.R b/R/CDORemapper.R index 815b92a651d409a2ab1917125d486729ebeda52f..867ee2660250adfdca2b2a1e26e04678f5297989 100644 --- a/R/CDORemapper.R +++ b/R/CDORemapper.R @@ -54,8 +54,8 @@ #'@export CDORemapper <- function(data_array, variables, file_selectors = NULL, ...) { file_dims <- names(file_selectors) - known_lon_names <- .KnownLonNames() - known_lat_names <- .KnownLatNames() + known_lon_names <- startR:::.KnownLonNames() + known_lat_names <- startR:::.KnownLatNames() if (!any(known_lon_names %in% names(variables)) || !any(known_lat_names %in% names(variables))) { stop("The longitude and latitude variables must be requested in ", diff --git a/R/Start.R b/R/Start.R index 39e1e6cbd8588c37f555eaea8cb268ec45645e82..25b0e2dd1859bcdbbf9e09cb50a0371dd041dbd1 100644 --- a/R/Start.R +++ b/R/Start.R @@ -3179,7 +3179,7 @@ Start <- function(..., # dim = indices/selectors, # Before changing crop, first we need to find the name of longitude. # NOTE: The potential bug here (also the bug for CDORemapper): the lon name # is limited (only the ones listed in .KnownLonNames() are available. - known_lon_names <- .KnownLonNames() + known_lon_names <- startR:::.KnownLonNames() lon_name <- names(subset_vars_to_transform)[which(names(subset_vars_to_transform) %in% known_lon_names)[1]] # NOTE: The cases not considered: (1) if lon reorder(decreasing = T)