Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GRIB-API is entirely included in ecCodes without any change to its Fortran 90, Python, C interfaces. We have only suppressed the grib_handle_new_from_template which was already deprecated in GRIB-API and replaced by the grib_handle_new_from_samples.

Some of the GRIB-API command line tools are not included in ecCodes because they have been superseded by other tools . Therefore the migration from or they were experimental and not needed any more. In the following table the GRIB-API tools suppressed in ecCodes are listed:

Tool nameComments
grib_cmpSuperseded by grib_compare
grib_debugSuperseded by "grib_dump -D"
grib_convertSuperseded by grib_filter
grib_distanceExperimental
grib_errorExperimental
grib_keysExperimental
grib_add

Adds the values of two GRIBs. Does not respect missing values!
Should be deprecated as it only does one specific computation!

grib_corruption_checkOnly checks keys "min", "max" and "binaryScaleFactor" for params 246 and 247!!
pointsexperimental
grib_packingexperimental
grib_momentsexperimental
big2gribexExperimental
grib_list_keysExperimental
grib_repairExperimental
grib_to_jsonExperimental
gg_sub_area_checkExperimental

The migration from GRIB-API to ecCodes to ecCodes-GRIB-API will not affect the user software and will be managed in installation and linking phases. Neverthless, very significant changes in the library have been performed to implement the encoding of different types of messages and in particular for BUFR.

To be confident that ecCodes -GRIB-API behaves as GRIB-API, for what concerns the GRIB decoding and encoding, we are performing a set of tests. At the moment all the standard tests are passing without problems. One important aspect of the library is performance and we are continuously checking that ecCodes -GRIB-API performs at least as well as GRIB-API. In the latest version the difference in performance is not significant. ecCodes -GRIB-API is performing as well as GRIB-API and in some tests it is slightly better.

Some more tests are needed to be fully confident that ecCodes -GRIB-API can replace GRIB-API in an operational environment, but we don't have experience at the moment of problems with ecCodes-GRIB-APIthe GRIB decoding/encoding part of ecCodes. We strongly advise the users to do their own migration tests and send feedback to software.support@ecmwf.int.

...

Adds the values of two GRIBs. Does not respect missing values!
Should be deprecated as it only does one specific computation!

...