Definitions: clean up

This commit is contained in:
Shahram Najm 2022-01-13 17:11:14 +00:00
parent e465160435
commit 17a66c09d1
4 changed files with 17 additions and 44 deletions

View File

@ -11,18 +11,17 @@ position startOfHeaders;
ascii[4] identifier;
alias ls.identifier=identifier;
transient missingValue = 9999;
transient missingValue = 9999;
constant ieeeFloats = 0: edition_specific;
constant zero=0:hidden;
template section1 "budg/section.1.def";
template mars_labeling "budg/mars_labeling.def";
template section4 "budg/section.4.def";
ascii[4] endMark;
position totalLength;
template section1 "budg/section.1.def";
template mars_labeling "budg/mars_labeling.def";
template section4 "budg/section.4.def";
ascii[4] endMark;
position totalLength;
# This needs to be there for the MARS server, so the totalLength is processed correctly
position endOfHeadersMarker;
position endOfHeadersMarker;
meta lengthOfHeaders evaluate( endOfHeadersMarker-startOfHeaders);
meta md5Headers md5(startOfHeaders,lengthOfHeaders);

View File

@ -20,8 +20,6 @@ codetable[1] indicatorOfTypeOfLevel 'grib1/3.table';
codetable[2] heightPressureEtcOfLevels 'grib1/3.table';
alias ls.levelType=indicatorOfTypeOfLevel;
# Year of century
# NOTE 6 NOT FOUND
unsigned[1] yearOfCentury ;
unsigned[1] month ;
@ -39,14 +37,12 @@ meta julianDay julian_day(dataDate,hour,minute,second) : edition_specific;
# Indicator of unit of time range
codetable[1] indicatorOfUnitOfTimeRange 'grib1/4.table';
# P1 - Period of time
# (number of time units)
# P1 - Period of time (number of time units)
unsigned[1] periodOfTime ;
alias P1 = periodOfTime ;
# P2 - Period of time
# (number of time units)
# P2 - Period of time (number of time units)
unsigned[1] periodOfTimeIntervals ;
alias P2 = periodOfTimeIntervals ;

View File

@ -1,11 +1,4 @@
# (C) Copyright 2005- ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
section_length[3] section1Length ;
unsigned[1] gribTablesVersionNo ;
@ -24,33 +17,18 @@ codetable[1] indicatorOfTypeOfLevel 'grib1/3.table' : string_type,edition_specif
alias ls.levelType = indicatorOfTypeOfLevel;
codetable[2] heightPressureEtcOfLevels 'grib1/3.table';
# Year of century
# NOTE 6 NOT FOUND
unsigned[1] yearOfCentury ;
# Month
unsigned[1] month ;
# Day
unsigned[1] yearOfCentury;
unsigned[1] month;
unsigned[1] day;
unsigned[1] hour;
unsigned[1] minute;
# Hour
unsigned[1] hour ;
# Minute
unsigned[1] minute ;
# Indicator of unit of time range
codetable[1] indicatorOfUnitOfTimeRange 'grib1/4.table';
# P1 - Period of time
# (number of time units)
# P1 - Period of time (number of time units)
unsigned[1] periodOfTime ;
alias P1 = periodOfTime ;
alias P1 = periodOfTime ;
# P2 - Period of time
# (number of time units)
# P2 - Period of time (number of time units)
unsigned[1] periodOfTimeIntervals ;