Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add template and codes tables for HEALPix grid #212

Merged
merged 3 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions GRIB2_CodeFlag_3_12_CodeTable_en.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Title_en,SubTitle_en,CodeFlag,Value,MeaningParameterDescription_en,Note_en,noteIDs,UnitComments_en,Status
HEALPix rhomboids or points ordering,,0,,Ring ordering,,,,Operational
HEALPix rhomboids or points ordering,,1,,Nested ordering,,,,Operational
HEALPix rhomboids or points ordering,,2-191,,Reserved,,,,Operational
HEALPix rhomboids or points ordering,,192-254,,Reserved for local use,,,,Operational
HEALPix rhomboids or points ordering,,255,,Missing,,,,Operational
8 changes: 8 additions & 0 deletions GRIB2_CodeFlag_3_13_FlagTable_en.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Title_en,SubTitle_en,CodeFlag,Value,MeaningParameterDescription_en,Note_en,noteIDs,UnitComments_en,Status
HEALPix scanning mode,,1,0,"Points scan in +i direction, i.e. from North to South",,,,Operational
HEALPix scanning mode,,1,1,"Points scan in -i direction, i.e. from South to North",,,,Operational
HEALPix scanning mode,,2,0,"Points scan in +j direction, i.e. from West to East",,,,Operational
HEALPix scanning mode,,2,1,"Points scan in -j direction, i.e. from East to West",,,,Operational
HEALPix scanning mode,,3,0,Adjacent points in i direction are consecutive,,,,Operational
HEALPix scanning mode,,3,1,Adjacent points in j direction are consecutive,,,,Operational
HEALPix scanning mode,,4-8,,Reserved,,,,Operational
4 changes: 3 additions & 1 deletion GRIB2_CodeFlag_3_1_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ Grid definition template number,,111-119,,Reserved,,,,Operational
Grid definition template number,,120,,Azimuth-range projection,,,,Operational
Grid definition template number,,121-139,,Reserved,,,,Operational
Grid definition template number,,140,,Lambert azimuthal equal area projection,,,,Operational
Grid definition template number,,141-999,,Reserved,,,,Operational
Grid definition template number,,141-149,,Reserved,,,,Operational
Grid definition template number,,150,,Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix),,,,Operational
Grid definition template number,,151-999,,Reserved,,,,Operational
Grid definition template number,,1000,,Cross-section grid with points equally spaced on the horizontal,,,,Experimental
Grid definition template number,,1001-1099,,Reserved,,,,Operational
Grid definition template number,,1100,,Hovmöller diagram grid with points equally spaced on the horizontal,,,,Experimental
Expand Down
5 changes: 4 additions & 1 deletion GRIB2_CodeFlag_3_8_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Title_en,SubTitle_en,CodeFlag,Value,MeaningParameterDescription_en,Note_en,noteI
Grid point position,,0,,Grid points at triangle vertices,,,,Operational
Grid point position,,1,,Grid points at centres of triangles,,,,Operational
Grid point position,,2,,Grid points at midpoints of triangle sides,,,,Operational
Grid point position,,3-191,,Reserved,,,,Operational
Grid point position,,3,,Grid points at shape vertices,,,,Operational
Grid point position,,4,,Grid points at centre of shapes,,,,Operational
Grid point position,,5,,Grid points at midpoints of shape sides,,,,Operational
Grid point position,,6-191,,Reserved,,,,Operational
Grid point position,,192-254,,Reserved for local use,,,,Operational
Grid point position,,255,,Missing,,,,Operational
14 changes: 14 additions & 0 deletions GRIB2_Template_3_150_GridDefinitionTemplate_en.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Title_en,OctetNo,Contents_en,Note_en,noteIDs,codeTable,flagTable,Status
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",15,Shape of the Earth,(see Code table 3.2),,3.2,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",16,Scale factor of radius of spherical Earth,,,,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",17-20,Scaled value of radius of spherical Earth,,,,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",21,Scale factor of major axis of oblate spheroid Earth,,,,,Operational
amilan17 marked this conversation as resolved.
Show resolved Hide resolved
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",22-25,Scaled value of major axis of oblate spheroid Earth,,,,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",26,Scale factor of minor axis of oblate spheroid Earth,,,,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",27-30,Scaled value of minor axis of oblate spheroid Earth,,,,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",31,Resolution and component flags,(see Flag table 3.3),,,3.3,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",32-35,nsides - number of sides within a rhomboid shape,(see note 1),197a,,,Operational
amilan17 marked this conversation as resolved.
Show resolved Hide resolved
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",36-39,Lo - Longitude of the centre line of the first rhomboid,(see note 2),197b,,,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",40,Grid point position,(see Code Table 3.8),,,3.8,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",41,Numbering order,(see Code Table 3.12),,,3.12,Operational
"Hierarchical Equal Area isoLatitude Pixelization grid (HEALPix)",42,Scanning mode,(see Flag table 3.13),,,3.13,Operational
3 changes: 3 additions & 0 deletions notes/CodeFlag_notes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,6 @@ noteID,note
138,"SOT is defined in https://doi.org/10.1256/qj.02.152. Lower and upper quantile used for the SOT need to be defined (NA=2) in this order: start of the tail (10 or 90 usually) then end of tail (1 or 99 respectively)."
139,"This table is divided into blocks of 1000 entries: 1-1000, 1001-2000, 2001-3000, etc. Each block corresponds to a specific land cover survey listed in Code table 4.242 and is subsequently divided into 2 ranges of 500 entries (apart for the first 1000 entries which are designed to be generic and not bound to a specific land cover survey). The first 500 entries are reserved for native classification types of the given survey while the remaining 500 are using for groupings of native classification types."
140,"Parameters 37 and 38 are deprecated. It is recommended to use 63 and 64 instead."
iss197d,"See Appendix XYZ."
iss197e,"In the ring ordering scheme, the 12 rhomboids are not considered and the scanning mode applies to the grid in its entirety."
iss197f,"In the nested ordering scheme, the 12 rhomboids are scanned in order defined in Gorsky et al. 2015. The flag bits then refer to how the points are scanned within a rhomboid."
5 changes: 4 additions & 1 deletion notes/CodeFlag_table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ tableNo,tableName,subTableName,noteID,notation
3.9.0.0,Flag table 3.9 - Numbering order of diamonds as seen from the corresponding pole,,,
3.10.0.0,Flag table 3.10 - Scanning mode for one diamond,,,
3.11.0.0,Code table 3.11 - Interpretation of list of numbers at end of section 3,,,
3.13.0.0,Code table 3.13 - HEALPix scanning mode,,197d,1
3.13.0.0,Code table 3.13 - HEALPix scanning mode,,197e,2
3.13.0.0,Code table 3.13 - HEALPix scanning mode,,197f,3
3.15.0.0,Code table 3.15 - Physical meaning of vertical coordinate,,,
3.20.0.0,Code table 3.20 - Type of horizontal line,,,
3.21.0.0,Code table 3.21 - Vertical dimension coordinate values definition,,,
Expand Down Expand Up @@ -163,4 +166,4 @@ tableNo,tableName,subTableName,noteID,notation
5.25.0.0,Code table 5.25 - Type of bi-Fourier subtruncation,,,
5.26.0.0,Code table 5.26 - Packing mode for axes,,,
5.40.0.0,Code table 5.40 - Type of compression,,,
6.0.0.0,Code table 6.0 - Bit map indicator,,,
6.0.0.0,Code table 6.0 - Bit map indicator,,,
2 changes: 2 additions & 0 deletions notes/Template_notes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,5 @@ noteID,note
163,"Wave periods should be specified in seconds."
164,"See notes under Code table 4.101 for details."
165,"'Number of reference period time range' is used to define an outer and, if needed, one or more inner loops. The outer loop gives the overall date and time range of the reference period and the inner loop(s) are used to specify a sub-period over all time instances defined in the outer loop in terms of the time unit defined by 'Reference period indicator of unit for time increment'. Typically the outer loop defines a number of years and inner loop defines the date and time range within each year: for instance 'every January for 30 years'."
iss197a,"The grid is composed of 12 rhomboids, each rhomboid has nsides**2 grid boxes within a rhomboid."
iss197b,"Longitude of the first grid point of the first rhomboid given in microdegrees. For instance 45.0 degrees is encoded as 45,000,000."