Skip to content

Commit

Permalink
219 additional entry of length or number of octets in grib2 template …
Browse files Browse the repository at this point in the history
…csv files (#290)

* add column to section 1 and section 3 templates

* add column to section 4 templates

* add column to section 5 templates

* add column to section 7 templates

* test: add OctetCount to create_master_lists.py

* Apply suggestions from code review

fixed errors  introduced when column was added

* Apply suggestions from code review

* Apply suggestions from code review

removed update to scripts.
  • Loading branch information
amilan17 authored Nov 28, 2024
1 parent 0cd816a commit f408d83
Show file tree
Hide file tree
Showing 171 changed files with 4,287 additions and 4,287 deletions.
4 changes: 2 additions & 2 deletions GRIB2_Template_1_0_IdentificationTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
calendar definition,24,Type of calendar,(see Code table 1.6),,1.6,,Operational
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
calendar definition,24,,Type of calendar,(see Code table 1.6),,1.6,,Operational
4 changes: 2 additions & 2 deletions GRIB2_Template_1_1_IdentificationTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
paleontological offset,24-25,Number of tens of thousands of years of offset,,,,,Operational
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
paleontological offset,24-25,,Number of tens of thousands of years of offset,,,,,Operational
6 changes: 3 additions & 3 deletions GRIB2_Template_1_2_IdentificationTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
calendar definition and paleontological offset,24,Type of calendar,(see Code table 1.6),,1.6,,Operational
calendar definition and paleontological offset,25-26,Number of tens of thousands of years of offset,,,,,Operational
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
calendar definition and paleontological offset,24,,Type of calendar,(see Code table 1.6),,1.6,,Operational
calendar definition and paleontological offset,25-26,,Number of tens of thousands of years of offset,,,,,Operational
44 changes: 22 additions & 22 deletions GRIB2_Template_3_1000_GridDefinitionTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
cross-section grid with points equally spaced on the horizontal,15,Shape of the Earth,(see Code table 3.2),,3.2,,Experimental
cross-section grid with points equally spaced on the horizontal,16,Scale factor of radius of spherical Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,17-20,Scaled value of radius of spherical Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,21,Scale factor of major axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,22-25,Scaled value of major axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,26,Scale factor of minor axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,27-30,Scaled value of minor axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,31-34,Number of horizontal points,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,35-38,Basic angle of the initial production domain,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,39-42,Subdivisions of basic angle used to define extreme longitudes and latitudes,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,43-46,La1 - latitude of first grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,47-50,Lo1 - longitude of first grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,51,Scanning mode,(flags - see Flag table 3.4),,,3.4,Experimental
cross-section grid with points equally spaced on the horizontal,52-55,La2 - latitude of last grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,56-59,Lo2 - longitude of last grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,60,Type of horizontal line,(see Code table 3.20),,3.20,,Experimental
cross-section grid with points equally spaced on the horizontal,61-62,Number of vertical points,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,63,Physical meaning of vertical coordinate,(see Code table 3.15),,,,Experimental
cross-section grid with points equally spaced on the horizontal,64,Vertical dimension coordinate values definition,(see Code table 3.21),,,,Experimental
cross-section grid with points equally spaced on the horizontal,65-66,NC - number of coefficients or values used to specify vertical coordinates,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,67-(66+NCx4),"Coefficients to define vertical dimension coordinate values in functional form, or the explicit coordinate values (IEEE 32-bit floating-point values)",,,,,Experimental
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
cross-section grid with points equally spaced on the horizontal,15,,Shape of the Earth,(see Code table 3.2),,3.2,,Experimental
cross-section grid with points equally spaced on the horizontal,16,,Scale factor of radius of spherical Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,17-20,,Scaled value of radius of spherical Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,21,,Scale factor of major axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,22-25,,Scaled value of major axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,26,,Scale factor of minor axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,27-30,,Scaled value of minor axis of oblate spheroid Earth,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,31-34,,Number of horizontal points,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,35-38,,Basic angle of the initial production domain,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,39-42,,Subdivisions of basic angle used to define extreme longitudes and latitudes,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,43-46,,La1 - latitude of first grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,47-50,,Lo1 - longitude of first grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,51,,Scanning mode,(flags - see Flag table 3.4),,,3.4,Experimental
cross-section grid with points equally spaced on the horizontal,52-55,,La2 - latitude of last grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,56-59,,Lo2 - longitude of last grid point,(see Note 1),9,,,Experimental
cross-section grid with points equally spaced on the horizontal,60,,Type of horizontal line,(see Code table 3.20),,3.2,,Experimental
cross-section grid with points equally spaced on the horizontal,61-62,,Number of vertical points,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,63,,Physical meaning of vertical coordinate,(see Code table 3.15),,,,Experimental
cross-section grid with points equally spaced on the horizontal,64,,Vertical dimension coordinate values definition,(see Code table 3.21),,,,Experimental
cross-section grid with points equally spaced on the horizontal,65-66,,NC - number of coefficients or values used to specify vertical coordinates,,,,,Experimental
cross-section grid with points equally spaced on the horizontal,67-(66+NCx4),,"Coefficients to define vertical dimension coordinate values in functional form, or the explicit coordinate values (IEEE 32-bit floating-point values)",,,,,Experimental
24 changes: 12 additions & 12 deletions GRIB2_Template_3_100_GridDefinitionTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",15,n2 - exponent of 2 for the number of intervals on main triangle sides,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",16,n3 - exponent of 3 for the number of intervals on main triangle sides,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",17-18,ni - number of intervals on main triangle sides of the icosahedron,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",19,nd - number of diamonds,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",20-23,Latitude of the pole point of the icosahedron on the sphere,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",24-27,Longitude of the pole point of the icosahedron on the sphere,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",28-31,Longitude of the centre line of the first diamond of the icosahedron on the sphere,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",32,Grid point position,(see Code table 3.8),,3.8,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",33,Numbering order of diamonds,(see Flag table 3.9),,,3.9,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",34,Scanning mode for one diamond,(see Flag table 3.10),,,3.10,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",35-38,nt - total number of grid points,,,,,Operational
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",15,,n2 - exponent of 2 for the number of intervals on main triangle sides,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",16,,n3 - exponent of 3 for the number of intervals on main triangle sides,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",17-18,,ni - number of intervals on main triangle sides of the icosahedron,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",19,,nd - number of diamonds,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",20-23,,Latitude of the pole point of the icosahedron on the sphere,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",24-27,,Longitude of the pole point of the icosahedron on the sphere,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",28-31,,Longitude of the centre line of the first diamond of the icosahedron on the sphere,,,,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",32,,Grid point position,(see Code table 3.8),,3.8,,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",33,,Numbering order of diamonds,(see Flag table 3.9),,,3.9,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",34,,Scanning mode for one diamond,(see Flag table 3.10),,,3.10,Operational
"triangular grid based on an icosahedron (see Part B, GRIB Attachment I)",35-38,,nt - total number of grid points,,,,,Operational
10 changes: 5 additions & 5 deletions GRIB2_Template_3_101_GridDefinitionTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
general unstructured grid,15,Shape of the Earth,(see Code table 3.2),,3.2,,Operational
general unstructured grid,16-18,Number of grid used (defined by originating centre),,,,,Operational
general unstructured grid,19,Number of grid in reference (to allow annotating for Arakawa C-grid on arbitrary grid),(see Note),86,,,Operational
general unstructured grid,20-35,Universally Unique Identifier of horizontal grid,,,,,Operational
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
general unstructured grid,15,,Shape of the Earth,(see Code table 3.2),,3.2,,Operational
general unstructured grid,16-18,,Number of grid used (defined by originating centre),,,,,Operational
general unstructured grid,19,,Number of grid in reference (to allow annotating for Arakawa C-grid on arbitrary grid),(see Note),86,,,Operational
general unstructured grid,20-35,,Universally Unique Identifier of horizontal grid,,,,,Operational
60 changes: 30 additions & 30 deletions GRIB2_Template_3_1100_GridDefinitionTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
Hovmöller diagram grid with points equally spaced on the horizontal,15,Shape of the Earth,(see Code table 3.2),,3.2,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,16,Scale factor of radius of spherical Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,17-20,Scaled value of radius of spherical Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,21,Scale factor of major axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,22-25,Scaled value of major axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,26,Scale factor of minor axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,27-30,Scaled value of minor axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,31-34,Number of horizontal points,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,35-38,Basic angle of the initial production domain,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,39-42,Subdivisions of basic angle used to define extreme longitudes and latitudes,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,43-46,La1 - latitude of first grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,47-50,Lo1 - longitude of first grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,51,Scanning mode,(see Flag table 3.4),,,3.4,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,52-55,La2 - latitude of last grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,56-59,Lo2 - longitude of last grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,60,Type of horizontal line,(see Code table 3.20),,3.20,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,61-64,NT - number of time steps,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,65,Unit of offset from reference time,(see Code table 4.4),,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,66-69,Offset from reference of first time (negative value when first bit set),,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,70,Type of time increment,(see Code table 4.11),,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,71,Unit of time increment,(see Code table 4.4),,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,72-75,Time increment (negative value when first bit set),,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,,76-82 Last date/time,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,76-77,Year,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,78,Month,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,79,Day,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,80,Hour,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,81,Minute,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,82,Second,,,,,Experimental
Title_en,OctetNo,OctetCount,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
Hovmöller diagram grid with points equally spaced on the horizontal,15,,Shape of the Earth,(see Code table 3.2),,3.2,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,16,,Scale factor of radius of spherical Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,17-20,,Scaled value of radius of spherical Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,21,,Scale factor of major axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,22-25,,Scaled value of major axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,26,,Scale factor of minor axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,27-30,,Scaled value of minor axis of oblate spheroid Earth,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,31-34,,Number of horizontal points,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,35-38,,Basic angle of the initial production domain,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,39-42,,Subdivisions of basic angle used to define extreme longitudes and latitudes,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,43-46,,La1 - latitude of first grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,47-50,,Lo1 - longitude of first grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,51,,Scanning mode,(see Flag table 3.4),,,3.4,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,52-55,,La2 - latitude of last grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,56-59,,Lo2 - longitude of last grid point,(see Note 1),9,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,60,,Type of horizontal line,(see Code table 3.20),,3.20,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,61-64,,NT - number of time steps,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,65,,Unit of offset from reference time,(see Code table 4.4),,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,66-69,,Offset from reference of first time (negative value when first bit set),,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,70,,Type of time increment,(see Code table 4.11),,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,71,,Unit of time increment,(see Code table 4.4),,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,72-75,,Time increment (negative value when first bit set),,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,,,76-82 Last date/time,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,76-77,,Year,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,78,,Month,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,79,,Day,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,80,,Hour,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,81,,Minute,,,,,Experimental
Hovmöller diagram grid with points equally spaced on the horizontal,82,,Second,,,,,Experimental
Loading

0 comments on commit f408d83

Please sign in to comment.