To read grib and grib2 file format

grib and grib2 are format used to store meteorological data. It is the native format used by ECMWF server.

To read it in R with MacOSX:

Using Macport, install the library wgrib2:

sudo port install wgrib2

You must also install the wgrib library:
Look at here:
https://rda.ucar.edu/datasets/ds083.2/software/wgrib_install_guide.txt

Then you can install rNOMAD package in R

You must install gdal library

You can use also the raster package with rgdal and goal library

4 packages can be used:
rNOMAD, rgdal, raster, stars

I found that the simple is to use rgdal



Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04