Displaying 2 results from an estimated 2 matches for "sealevelrise".
2011 Jul 11
3
NetCDF, open *.nc
...ista(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!*...
2010 Nov 17
1
Problem downloading and opening netcdf file
I am trying to download and open an on-line netcdf file.
I'm using Windows XP and R 2.11.1
Here's my 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"
download.file(url=link,destfile=dest)
nc1 <- open.ncdf(dest)
The file appears in my C:/temp directory, however I can not open() it, I get
this error message:
> nc1 <- open.ncdf(dest)...