Closed edigiacomo closed 4 years ago
Update: it seems that in Fedora 32 (eccodes-2.17) a key alias is changed from altitudeOfTheCameraFromTheEarthSCenterMeasuredInUnitsOfTheEarth
to altitudeOfTheCameraFromTheEarthsCentreMeasuredInUnitsOfTheEarthsRadius
In Fedora 30 (eccodes-2.14)
$ $ grep -R altitudeOfTheCameraFromTheEarthSCenterMeasuredInUnitsOfTheEarth /usr/share/eccodes/
/usr/share/eccodes/definitions/grib2/template.3.90.def:alias altitudeOfTheCameraFromTheEarthSCenterMeasuredInUnitsOfTheEarth = Nr;
/usr/share/eccodes/definitions/grib1/grid_definition_90.def:alias altitudeOfTheCameraFromTheEarthSCenterMeasuredInUnitsOfTheEarth = NrInRadiusOfEarth;
In Fedora 32 (eccodes-2.17):
$ grep -R altitudeOfTheCamera /usr/share/eccodes/
/usr/share/eccodes/definitions/grib1/grid_definition_90.def:alias altitudeOfTheCameraFromTheEarthsCentreMeasuredInUnitsOfTheEarthsRadius = NrInRadiusOfEarth;
/usr/share/eccodes/definitions/grib2/template.3.90.def:alias altitudeOfTheCameraFromTheEarthsCentreMeasuredInUnitsOfTheEarthsRadius = Nr;
Then, I think that this PR can be safely merged and a new issue for the grib key should be opened.
Update 2: I confirm that the key was renamed in version 2.17 https://confluence.ecmwf.int/display/ECC/ecCodes+version+2.17.0+released
I merge this PR and open another one for the grib key issue.
In this PR I have fixed issue #18, but now the build for Fedora32 (the only one with GDAL 3) fails for a missing key: https://travis-ci.org/github/ARPA-SIMC/meteosatlib/jobs/693403179
I don't merge it because I'm not 100% sure that it's an unrelated problem.