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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to