...
- Ensure that the grid geometry of your GRIB message specifies both the latitudes:
latitudeOfFirstGridPointInDegrees and latitudeOfLastGridPointInDegrees
Check what scanning modes you have in your input file:
Code Block % grib_ls -p jScansPositively,iScansPositively input.grib
Use the grib_set command to swap the scanning order for the latitudes:
Code Block % grib_set -s swapScanningY=1 input.grib output.grib
This changes the order in which the data is stored in the GRIB message
...