Rename significanceOfReferenceTime to significanceOfReferenceDateAndTime

This commit is contained in:
Shahram Najm 2017-05-08 18:13:36 +01:00
parent b78cf824eb
commit 1d431e48ee
4 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,7 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
# Section 0 - Indicator Section
position offsetSection0;
constant section0Length = 16;
ascii[4] identifier = "GRIB" : read_only;
@ -22,4 +23,3 @@ section_length[8] totalLength;
position startOfHeaders; # See later for endOfHeadersMarker
meta section0Pointer section_pointer(offsetSection0,section0Length,0);

View File

@ -6,7 +6,8 @@
# 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.
#
# Originator Section
# Section 1 - Originator Section
position offsetSection1;
section_length[4] section1Length ;
meta section1Pointer section_pointer(offsetSection1,section1Length,1);

View File

@ -6,7 +6,8 @@
# 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.
#
# Repetitions and Index Section
# Section 2 - Repetitions and Index Section
position offsetSection2;
section_length[4] section2Length ;
meta section2Pointer section_pointer(offsetSection2,section2Length,2);

View File

@ -15,13 +15,13 @@ unsigned[1] numberOfSection = 3 :read_only;
unsigned[2] section3UniqueIdentifier; # SUI
codetable[1] significanceOfReferenceTime ('3.0.table',masterDir,localDir) = 1 : dump;
codetable[1] significanceOfReferenceDateAndTime ('3.0.table',masterDir,localDir) = 1 : dump;
# The type of calendar used applies to the entire section including the Time Domain Template
codetable[1] typeOfCalendar ('3.1.table',masterDir,localDir) = 255 : dump,no_copy,edition_specific;
# Year, month, day etc form the Reference date and time
signed[4] year ; # signed integer according to Reg. 92.1.5
signed[4] year ; # signed integer according to Reg. 92.1.5
unsigned[1] month ;
unsigned[1] day ;
unsigned[1] hour ;