ecmwf / ecmwflibs

Apache License 2.0
15 stars 9 forks source link

ecmwflibs 0.5.0 / eccodes 2.27 : problem on Greenwich meridian ? #10

Open abakleriche opened 1 year ago

abakleriche commented 1 year ago

I use the following simple grib file (grid 2x2 values) which rides the Greenwich meridian greenwich.zip An extract of grib_ls result is image

The first longitude is 357, the last one is 3, the increment is 6.

My program prints the lib versions, reads the file and prints the dataset.

With ecmwflibs 0.4.17 / eccodes 2.26, the result is correct: image The array of longitudes is [357, 363], correct.

With cmwflibs 0.5.0 / eccodes 2.27, the result is incorrect: image The array of longitudes is [3, 357], incorrect.