Re: [R] Reading *.nc4 data

2015-01-26 Thread Roy Mendelssohn - NOAA Federal
I don’t think the ncdf library open netcdf4 files, which your file would seem to be. You need the library ncdf4 for that. For variety of reasons perhaps others can explain, ncdf4 for Windows is not on CRAN. You can download it from: http://cirrus.ucsd.edu/~pierce/ncdf -Roy On Jan 26, 2015,

Re: [R] Reading *.nc4 data

2015-01-26 Thread jim holtman
The message seems to be clear in that either the directory or file is not where you think it is. Use 'choose.files()' to navigate to the file and see what it prints out as the location. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, n

[R] Reading *.nc4 data

2015-01-26 Thread John Wasige
Dear all, i get the following error when reading *.nc4 data: Error in R_nc_open: No such file or directoryError in open.ncdf("D:/Ag/rst_1980_prate.nc4") : Error in open.ncdf trying to open file D:/Ag/rst_1980_prate.nc4 library("ncdf") prec <- open.ncdf("D:/Ag/rst_1980_prate.nc4") lons <- get.