[R] Netcdf
Roy Mendelssohn
roy.mendelssohn at noaa.gov
Sun Aug 31 23:23:47 CEST 2014
Not enough information to be of much help. it is unclear if you downloaded the file and failed to open from your computer, or if you are trying to connect to a remote file.
If the former, when I click on the URL you posted, I get an error, but when I correct the URL I get a proper file so the file may not have been downloaded properly. And, the file type is netCDF-4 classic model, which may not be supported by ncdf (ncdf is deprecated, try using ncdf4).
If the latter (a remote file), ncdf can open remote files served by OPeNDAP, but that is not in what you gave.
HTH,
-Roy M.
On Aug 31, 2014, at 12:37 PM, Dominic Roye <dominic.roye at gmail.com> wrote:
> Hello,
>
> I have an issue with a conection to a ncdf file.
>
> ftp://ftp.cdc.noaa.gov/Public/www/X91.116.178.214.242.12.49.49.nc
>
> open.ncdf("X91.116.178.214.242.12.49.49.nc")
> Error in R_nc_open: NetCDF: Unknown file format
> Error in open.ncdf("X91.116.178.214.242.12.49.49.nc") :
> Error in open.ncdf trying to open file X91.116.178.214.242.12.49.49.nc
>
>
> Anyone knows a solution?
>
> Thanks,
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new address and phone***
110 Shaffer Road
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
More information about the R-help
mailing list