Jeff Whitaker

Results 495 comments of Jeff Whitaker

don't know - sounds as if the values you are trying to assign to the data are inconsistent with the specified precision and/or range.

@noritada I believe this was a bug, thanks for fixing it. I will merge as soon as you rebase.

Looks like the ecCodes does not populate the `shortName` key, only the `parameterName`. Don't know if this is an issue with the file or the library.

I have no idea - would have to dig into the ecCodes source code to figure that out. It's here (https://confluence.ecmwf.int//display/ECC/Releases) if you want to take a look. Specifically, eccodes-2.8.2-Source/definitions/grib2/template.4.48.def

You can't write a subset back to the same file, since the grid definitions are now invalid. It would have worked if you did not create a subset of the...

No you can't modify the grid definition section with pygrib. If you don't have a template file with the right GDS defined, you need to create the whole grib message...

Converting grib2 to grib1 is always hit or miss - it depends on whether the eccodes lib can map the grib2 metadata on to grib1. In this case, it also...

probably a difference in the names of the grib keys between eccodes lib versions used on Windows and Ubuntu

The script you reference uses netcdf4-python to read the nomads dataset, not pygrib. pygrib is for reading grib files on a local disk - if you want to read remote...