[R] NetCDF, open *.nc

kokavolchkov kokavolchkov at gmail.com
Mon Jul 11 14:39:26 CEST 2011


*Good day!*

I'm using Vista(x64) and R 2.13.0(x64) (with ncdf and RnetCDF packs)

*I have a problem:* I'm trying to open **.nc* file and I use this script 
(http://r.789695.n4.nabble.com/Problem-downloading-and-opening-netcdf-file-td3046897.html#a3046965)

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" 
download.file(url=link,destfile=dest) 
nc1 <- open.ncdf(dest)

Prof Brian Ripley advises to use *mode="wb": AFAIK.*

*Where exactly should I insert this code? *

*Thank you for your help!*

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



More information about the R-help mailing list