NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Dear all, I'm using the netcdf-4 libraries from R. I installed ncdf4 package (http://cran.r-project.org/web/packages/ncdf4/index.html) and also the netcf-4 land hfd4 library as written on http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#build_default. I launched an R script where a netCDF archive with weather data should be created but I obtain the following error: .... "Calling R_nc4_create for file /Users/ecor/Documents/workspace_new/activity_misc/RSUBDAILYCLIM/inst/trentino/data" Error in R_nc4_create: NetCDF: Can't add HDF5 file metadata (creation mode was 4096) Error in nc_create(ncpath, nclist, force_v4 = TRUE, verbose = TRUE) : Error in nc_create! In addition: There were 16 warnings (use warnings() to see them) It looks like ncdf4 does not find the netcdf-4 and hdf5 libraries. How can I link these libraries to the R ncdf4 package? Actually I have not found yet any instruction about this on the web. Thank you Regards Emanuele Cordano Emanuele Cordano Environmental Engineer / Ingegnere per l' Ambiente e il territorio nr. 3587 (Albo A - Provincia di Trento) Fondazione Edmund Mach CRI - Reasearch and Innovation Center Agro-Eco-System Dynamic Platform Via Mach 1 38017 San Michele All'Adige (Italy) phone +39 0461 615397 email: emanuele.cordano@xxxxxxxx ,emanuele.cordano@xxxxxxxxx
netcdfgroup
archives: