I know that there is software, such as wgrib2 , which converts the file format griband grib2in NetCDF, but I need to go in the opposite direction from NetCDFbefore grib2, because the local meteorological service here can consume only the data from grid format grib2.
It looks like one solution could be in Python, using the NetCDF4-Python library (or another) to read files NetCDFand using pygrib to write grib2.
Is there a better way?
source
share