[R] Netcdf file in R
Jon Olav Skoien
jon.skoien at jrc.ec.europa.eu
Fri Feb 22 17:28:14 CET 2013
I would also suggest the package raster, which usually make it much
easier to extract spatial NetCDF-data than direct use of the
NetCDF-packages.
Bests,
Jon
On 22-Feb-13 17:14, Marc Schwartz wrote:
> 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
> ______________________________________________
> 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.
--
Jon Olav Skøien
Joint Research Centre - European Commission
Institute for Environment and Sustainability (IES)
Land Resource Management Unit
Via Fermi 2749, TP 440, I-21027 Ispra (VA), ITALY
jon.skoien at jrc.ec.europa.eu
Tel: +39 0332 789206
Disclaimer: Views expressed in this email are those of the individual and do not necessarily represent official views of the European Commission.
More information about the R-help
mailing list