Using R to open grib files

Posted by robin girard on Stack Overflow See other posts from Stack Overflow or by robin girard
Published on 2010-06-16T14:59:39Z Indexed on 2010/06/16 15:02 UTC
Read the original article Hit count: 210

Filed under:

I am using R to work with meteorological data. I proceed in two steps:

1- convert grib to netcdf using the commande line function ncl_convert2nc from ncar command language 2- use package ncdf in R to import the netcdf data.

I have two problems: 1- I would like to do automatic treatment of many files within R. Can I call ncl_convert2nc within R ? 2- For some particular grib files, the convertion with ncar tool does not work. Is there other ways or trick (other than transcription into netcdf) to read grib files in R ?

© Stack Overflow or respective owner

Related posts about r