mirror of https://github.com/ecmwf/eccodes.git
ECC-1261: GRIB local definition 12: MARS 'time' key should be HHMM not single digit
This commit is contained in:
parent
eac182b328
commit
a516cdcc5f
|
@ -57,8 +57,12 @@ alias totalNumber=numberOfForecastsInEnsemble;
|
|||
|
||||
unsigned[4] indexingDate: dump; # MARS archiving date (YYYYMMDD)
|
||||
unsigned[2] indexingTime: dump; # MARS archiving time (HHMM)
|
||||
transient indexingTimeHH = indexingTime/100 : hidden;
|
||||
transient indexingTimeMM = indexingTime - 100 * indexingTimeHH : hidden;
|
||||
meta indexingTimeHHMM sprintf("%.2d%.2d",indexingTimeHH,indexingTimeMM);
|
||||
|
||||
alias mars.date = indexingDate;
|
||||
alias mars.time = indexingTime;
|
||||
alias mars.time = indexingTimeHHMM;
|
||||
|
||||
# spareSetToZero
|
||||
pad padding_loc12_1(50);
|
||||
|
|
|
@ -8,7 +8,11 @@ alias local.methodNumber=methodNumber;
|
|||
|
||||
unsigned[4] indexingDate: dump; # MARS archiving date (YYYYMMDD)
|
||||
unsigned[2] indexingTime: dump; # MARS archiving time (HHMM)
|
||||
transient indexingTimeHH = indexingTime/100 : hidden;
|
||||
transient indexingTimeMM = indexingTime - 100 * indexingTimeHH : hidden;
|
||||
meta indexingTimeHHMM sprintf("%.2d%.2d",indexingTimeHH,indexingTimeMM);
|
||||
|
||||
alias mars.date = indexingDate;
|
||||
alias mars.time = indexingTime;
|
||||
alias mars.time = indexingTimeHHMM;
|
||||
|
||||
pad padding_loc12_1(50);
|
||||
|
|
Loading…
Reference in New Issue