/usr/share/eccodes/definitions/mars/grib.supd.an.def is in libeccodes-data 2.0.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | if (localDefinitionNumber ==35) {
alias mars.date = dataDate;
alias mars.time = dataTime;
} else {
# era 40
alias mars.date = dateOfAnalysis;
alias mars.time = timeOfAnalysis;
}
if (class is "od") { alias mars.origin = centre; }
# Special rule for Grib 2 local definition 11:
# Key "centre" should be set to ECMWF and key "originatingCentreOfAnalysis"
# should be the original centre
if (editionNumber == 2 && localDefinitionNumber == 11) {
alias mars.origin = originatingCentreOfAnalysis;
}
# We need this because 'jDirectionIncrementInDegrees,iDirectionIncrementInDegrees,' is defined later
meta marsGrid sprintf("%g/%g",iDirectionIncrementInDegrees,jDirectionIncrementInDegrees) : dump;
alias mars.grid = marsGrid;
|