[R] NetCDF, open *.nc

kokavolchkov kokavolchkov at gmail.com
Mon Jul 11 15:57:12 CEST 2011


Well, if I use this script:

library(ncdf) 
link <-
"http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc" 
dest <-  "C:/temp/slr_sla_gbl_free_all_66.nc" 
mode="wb": AFAIK
download.file(url=link,destfile=dest) 
nc1 <- open.ncdf(dest)

compiler prints:

Error in R_nc_open: Invalid argument
Error in open.ncdf trying to open file C:/temp/slr_sla_gbl_free_all_66.nc

[Package ncdf is installed correctly]

--
View this message in context: http://r.789695.n4.nabble.com/NetCDF-open-nc-tp3659401p3659597.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list