You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear all,
Today after re-installing the packages and updating R, the following codes started to giving error: object 'nc' not found. I could not find the reason. Any help is appreciated.
The problem was related with the condition used to decide if a dataset is defined by a NetCDF or other data format (text or zip):
(grepl("\.ncml$|\.nc$|\.nc4$|", dataset))
It has a disjunction at the end which makes the condition always TRUE and, then, the function tries to open a NetCDF instead a zip or text file. The bug has been fixed in the development branch.
Dear all,
Today after re-installing the packages and updating R, the following codes started to giving error: object 'nc' not found. I could not find the reason. Any help is appreciated.
library(loadeR)
library(climate4R.datasets)
library(visualizeR)
library(VALUE)
library(climate4R.value)
data("PRUDENCEregions", package = "visualizeR")
bb <- PRUDENCEregions["IP"]@bbox
lon <- bb[1,]; lat <- bb[2,]
v86 <- file.path(find.package("VALUE"), "example_datasets","VALUE_ECA_86_v2.zip")
y <- loadStationData(dataset = v86, var = "precip",
lonLim = lon, latLim = lat,
years = 1979:2008)
Error in loadStationData(dataset = v86, var = "precip", lonLim = lon, :
object 'nc' not found
The text was updated successfully, but these errors were encountered: