ecmwf / eccodes-python

Python interface to the ecCodes GRIB/BUFR decoder/encoder
Apache License 2.0
113 stars 33 forks source link

Typo in gribapi.py causes AttributeError when calling codes_index_get_double #51

Closed gernotgeppert closed 3 years ago

gernotgeppert commented 3 years ago

I suppose it should read grib_index_get_double instead of grib_index_get_doule.

https://github.com/ecmwf/eccodes-python/blob/8b997a5691677dd835c5278b171c6acba851d584/gribapi/gribapi.py#L1451

shahramn commented 3 years ago

Well spotted. Many thanks. I will fix this at once and add a test

shahramn commented 3 years ago

A JIRA issue has been created for this: See https://jira.ecmwf.int/browse/ECC-1226

shahramn commented 3 years ago

Unfortunately this was discovered after we released v1.2.0. An hour or so earlier would have made it.