Remove redundant comments

This commit is contained in:
Shahram Najm 2019-01-10 18:10:41 +00:00
parent 26bb1b6b3d
commit 6ce3607c1e
14 changed files with 5 additions and 37 deletions

View File

@ -22,7 +22,6 @@ meta section3Pointer section_pointer(offsetSection3,section3Length,3);
unsigned[1] numberOfSection = 3 :read_only;
# Source of grid definition
# NOTE 1 NOT FOUND
codetable[1] sourceOfGridDefinition ('3.0.table',masterDir,localDir) ;
# Number of data points
@ -30,7 +29,6 @@ unsigned[4] numberOfDataPoints : dump;
alias numberOfPoints=numberOfDataPoints;
# Number of octets for optional list of numbers defining number of points
# NOTE 2 NOT FOUND
unsigned[1] numberOfOctectsForNumberOfPoints;
# Interpretation of list of numbers defining number of points

View File

@ -22,7 +22,6 @@ meta section6 section_pointer(offsetSection6,section6Length,6);
unsigned[1] numberOfSection = 6:read_only;
# Bit-map indicator
# NOTE 1 NOT FOUND
codetable[1] bitMapIndicator ('6.0.table',masterDir,localDir) = 255 : dump;
#transient bitmapPresent=1;

View File

@ -17,20 +17,16 @@ include "grib2/template.3.shape_of_the_earth.def";
unsigned[4] numberOfHorizontalPoints : dump ;
# Basic angle of the initial production domain
# NOTE 1 NOT FOUND
unsigned[4] basicAngleOfTheInitialProductionDomain = 0;
# Subdivisions of basic angle used to define extreme longitudes and latitudes
# NOTE 1 NOT FOUND
unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing;;
# La1 - latitude of first grid point
# NOTE 1 NOT FOUND
signed[4] latitudeOfFirstGridPoint : edition_specific ;
alias La1 = latitudeOfFirstGridPoint;
# Lo1 - longitude of first grid point
# NOTE 1 NOT FOUND
unsigned[4] longitudeOfFirstGridPoint : edition_specific;
alias Lo1 = longitudeOfFirstGridPoint;
@ -38,12 +34,10 @@ alias Lo1 = longitudeOfFirstGridPoint;
include "grib2/template.3.scanning_mode.def";
# La2 - latitude of last grid point
# NOTE 1 NOT FOUND
signed[4] latitudeOfLastGridPoint : edition_specific;
alias La2 = latitudeOfLastGridPoint;
# Lo2 - longitude of last grid point
# NOTE 1 NOT FOUND
unsigned[4] longitudeOfLastGridPoint: edition_specific ;
alias Lo2 = longitudeOfLastGridPoint;

View File

@ -15,20 +15,16 @@ include "grib2/template.3.shape_of_the_earth.def";
unsigned[5] numberOfHorizontalPoints : dump ;
# Basic angle of the initial production domain
# NOTE 1 NOT FOUND
unsigned[4] basicAngleOfTheInitialProductionDomain = 0 : dump ;
# Subdivisions of basic angle used to define extreme longitudes and latitudes
# NOTE 1 NOT FOUND
unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing,dump;
# La1 - latitude of first grid point
# NOTE 1 NOT FOUND
signed[4] latitudeOfFirstGridPoint : edition_specific,dump;
alias La1 =latitudeOfFirstGridPoint;
# Lo1 - longitude of first grid point
# NOTE 1 NOT FOUND
unsigned[4] longitudeOfFirstGridPoint : edition_specific,dump;
alias Lo1 =longitudeOfFirstGridPoint;
@ -36,12 +32,10 @@ alias Lo1 =longitudeOfFirstGridPoint;
include "grib2/template.3.scanning_mode.def";
# La2 - latitude of last grid point
# NOTE 1 NOT FOUND
signed[4] latitudeOfLastGridPoint : edition_specific,dump;
alias La2 = latitudeOfLastGridPoint;
# Lo2 - longitude of last grid point
# NOTE 1 NOT FOUND
unsigned[4] longitudeOfLastGridPoint : edition_specific,dump ;
alias Lo2 = longitudeOfLastGridPoint;

View File

@ -48,14 +48,12 @@ unsigned[4] LoV : edition_specific;
meta geography.LoVInDegrees scale(LoV,one,grib2divider,truncateDegrees) : dump;
# Dx - X-direction grid length
# NOTE 1 NOT FOUND
unsigned[4] Dx : edition_specific ;
alias xDirectionGridLength=Dx;
alias Di = Dx;
meta geography.DxInMetres scale(Dx,one,thousand) : dump;
# Dy - Y-direction grid length
# NOTE 1 NOT FOUND
unsigned[4] Dy : edition_specific ;
alias yDirectionGridLength=Dy ;
alias Dj = Dy;

View File

@ -38,12 +38,10 @@ alias latitudeWhereDxAndDyAreSpecified=LaD ;
unsigned[4] LoV : dump;
# Dx - X-direction grid length
# NOTE 1 NOT FOUND
unsigned[4] xDirectionGridLength : dump;
alias Dx = xDirectionGridLength;
# Dy - Y-direction grid length
# NOTE 1 NOT FOUND
unsigned[4] yDirectionGridLength : dump;
alias Dy = yDirectionGridLength;

View File

@ -34,13 +34,11 @@ codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
unsigned[1] backgroundProcess = 255 : edition_specific;
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
# Analysis or forecast generating processes identifier
# (defined by originating centre)
unsigned[1] generatingProcessIdentifier : dump;
# Hours of observational data cut-off after reference time
# NOTE 1 NOT FOUND
unsigned[2] hoursAfterDataCutoff = missing() : edition_specific,can_be_missing;
alias hoursAfterReferenceTimeOfDataCutoff=hoursAfterDataCutoff;

View File

@ -42,7 +42,6 @@ alias backgroundGeneratingProcessIdentifier=backgroundProcess;
unsigned[1] generatingProcessIdentifier : dump;
# Hours of observational data cut-off after reference time
# NOTE 1 NOT FOUND
unsigned[2] hoursAfterDataCutoff = missing() : edition_specific,can_be_missing;
alias hoursAfterReferenceTimeOfDataCutoff=hoursAfterDataCutoff;

View File

@ -49,7 +49,6 @@ alias backgroundGeneratingProcessIdentifier=backgroundProcess;
unsigned[1] generatingProcessIdentifier : dump;
# Hours of observational data cut-off after reference time
# NOTE 1 NOT FOUND
unsigned[2] hoursAfterDataCutoff = missing() : edition_specific,can_be_missing;
alias hoursAfterReferenceTimeOfDataCutoff=hoursAfterDataCutoff;

View File

@ -30,7 +30,6 @@ alias backgroundGeneratingProcessIdentifier=backgroundProcess;
unsigned[1] generatingProcessIdentifier : dump;
# Hours of observational data cut-off after reference time
# NOTE 1 NOT FOUND
unsigned[2] hoursAfterDataCutoff = missing() : edition_specific,can_be_missing;
alias hoursAfterReferenceTimeOfDataCutoff=hoursAfterDataCutoff;

View File

@ -52,7 +52,6 @@ statisticalProcessesList list(numberOfTimeRange)
codetable[1] indicatorOfUnitForTimeIncrement ('4.4.table',masterDir,localDir)=255 ;
# Time increment between successive fields, in units defined by the previous octet
# NOTE 3 NOT FOUND
unsigned[4] timeIncrement=0 ;
alias timeIncrementBetweenSuccessiveFields=timeIncrement;

View File

@ -29,19 +29,16 @@ unsigned[4] numberOfGroupsOfDataValues ;
alias NG = numberOfGroupsOfDataValues;
# Reference for group widths
# NOTE 12 NOT FOUND
unsigned[1] referenceForGroupWidths ;
# Number of bits used for the group widths
# (after the reference value in octet 36 has been removed)
# (after the reference value in octet 36 has been removed)
unsigned[1] numberOfBitsUsedForTheGroupWidths ;
# Reference for group lengths
# NOTE 13 NOT FOUND
unsigned[4] referenceForGroupLengths ;
# Length increment for the group lengths
# NOTE 14 NOT FOUND
unsigned[1] lengthIncrementForTheGroupLengths ;
# True length of last group
@ -49,6 +46,6 @@ unsigned[4] trueLengthOfLastGroup ;
# Number of bits used for the scaled group lengths
# (after subtraction of the reference value given in octets 38-41 and division
# by the length increment given in octet 42)
# by the length increment given in octet 42)
unsigned[1] numberOfBitsForScaledGroupLengths ;
alias numberOfBitsUsedForTheScaledGroupLengths=numberOfBitsForScaledGroupLengths;

View File

@ -29,19 +29,16 @@ unsigned[4] numberOfGroupsOfDataValues ;
alias NG = numberOfGroupsOfDataValues;
# Reference for group widths
# NOTE 12 NOT FOUND
unsigned[1] referenceForGroupWidths ;
# Number of bits used for the group widths
# (after the reference value in octet 36 has been removed)
# (after the reference value in octet 36 has been removed)
unsigned[1] numberOfBitsUsedForTheGroupWidths ;
# Reference for group lengths
# NOTE 13 NOT FOUND
unsigned[4] referenceForGroupLengths ;
# Length increment for the group lengths
# NOTE 14 NOT FOUND
unsigned[1] lengthIncrementForTheGroupLengths ;
# True length of last group
@ -49,7 +46,7 @@ unsigned[4] trueLengthOfLastGroup ;
# Number of bits used for the scaled group lengths
# (after subtraction of the reference value given in octets 38-41 and division
# by the length increment given in octet 42)
# by the length increment given in octet 42)
unsigned[1] numberOfBitsForScaledGroupLengths ;
alias numberOfBitsUsedForTheScaledGroupLengths=numberOfBitsForScaledGroupLengths;
@ -57,5 +54,5 @@ alias numberOfBitsUsedForTheScaledGroupLengths=numberOfBitsForScaledGroupLengths
codetable[1] orderOfSpatialDifferencing ('5.6.table',masterDir,localDir);
# Number of octets required in the Data Section to specify extra descriptors needed for spatial differencing
# (octets 6-ww in Data Template 7.3)
# (octets 6-ww in Data Template 7.3)
unsigned[1] numberOfOctetsExtraDescriptors ;

View File

@ -10,7 +10,6 @@
# TEMPLATE 7.3, Grid point data - complex packing and spatial differencing
# Octets 6-ww : First value(s) of original
# (undifferenced)
# NOTE 1 NOT FOUND
# ???? first_value_s_of_original
position offsetBeforeData;