Warning |
---|
Note: The high-level Python interface was always experimental and has been removed (from version 1.4.0). |
Deprecated Python classes
The following Python classes have been removed:
GribFile and BufrFile: Classes that implement access to a GRIB/BUFR file.
GribMessage and BufrMessage: Classes that implement access to a GRIB/BUFR message.
GribIndex
There are now Python classes that can be used to represent the objects one often works whilst processing GRIB and BUFR messages.
GribFile: A class that implements a GRIB file that closes itself and its messages when it is no longer needed.
BufrFile: A class that implements a BUFR file that closes itself and its messages when it is no longer needed.
GribMessage: A class that implements a GRIB message index that allows access to the message's key-value pairs in a dictionary-like manner and closes the message when it is no longer needed, coordinating this with its host file.
GribFiles and BufrFiles can be treated mostly as regular files and used as context managers, as can GribMessages/BufrMessages. Each of these classes destructs itself and
any child instances appropriately.
indexing functionality.
These were in the directory "eccodes/high_level".