Open nollety opened 1 year ago
ECMWF data is referenced in the horizontal with respect to the WGS84 ellipse (which defines the major/minor axes) but in the vertical it is referenced to the Geoid (EGM96).
https://confluence.ecmwf.int/display/CKB/ERA-Interim%3A+documentation
At present, the
z
(altitude) coordinate is defined as the height above the geoid, so that the origin of the altitude axis, z = 0 km, corresponds to the geoid. (the geoid differs from the mean sea level by less than 2 meters)Given that the Earth surface is different from this geoid (e.g. mountains), the convention for z = 0 km could be generalized so that altitude could alternatively be reported relative to the Earth surface (the ground surface).
Implementation details
Each dataset would have a new attribute
vertical_datum
with a value corresponding to the vertical datum. The z coordinate' attribute could be also updated to indicate, e.g. height above the geoid, height above the ground level and so on.A new module (e.g.
geodesy.py
) could include an enumeration such as:including a transformation method to convert one representation to another:
Notes