-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The indexing code has been cleaned up significantly. The index dictionary now contains offsets and sizes for all sections, for all messages. This will help for a future change to allow for in-place modification of GRIB2 metdata back into the input file -- similar to how you can edit NetCDF attributes with mode = 'a'. The new code logic allows for a simplified process for managing GRIB2 messages that contain submessages. Additionally with this commit, grib2io can now safely ignore GRIB1 messages. ECMWF GRIB files can contains GRIB1 and GRIB2 (...ugh...).
- Loading branch information
1 parent
2d4d773
commit 44842fd
Showing
1 changed file
with
113 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters