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
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
Enregistrer un commentaire