[R] Netcdf file in R

Marc Schwartz marc_schwartz at me.com
Fri Feb 22 17:14:19 CET 2013


NetCDF is a binary file format and will be stripped by the list server filters. Don't bother attaching it unless the two of you want to communicate off-list.

Anup has not indicated what he has actually tried to do to read in the file. R will not natively read NetCDF files, so he will need to use a CRAN package. 

The first place to start would, as always, be with the manuals. In this case, the R Data Import/Export Manual:

  http://cran.r-project.org/doc/manuals/r-release/R-data.html

which provides information on at least two CRAN packages that can read these files. 

Spending a few minutes reading the manuals is typically enlightening.

Regards,

Marc Schwartz

On Feb 22, 2013, at 9:48 AM, Gyanendra Pokharel <gyanendra.pokharel at gmail.com> wrote:

> I can't see your attached file. Can you re-attache it?
> Thanks
> Gyanendra Pokharel
> University of Guelph
> Guelph, ON
> 
> 
> On Fri, Feb 22, 2013 at 7:58 AM, Anup khanal <zanup at hotmail.com> wrote:
> 
>> 
>> Good afternoon,
>> I am a new in R. I have to work with large climate data.I am not able to
>> read the netcdf file. Can anyone try with this file attached ?
>> Best Regards,
>> ..................Anup KhanalNorwegian Institute of science and Technology
>> (NTNU)Trondheim, NorwayMob:(+47) 45174313



More information about the R-help mailing list