Skip to content

Commit

Permalink
clean up note ids (#260)
Browse files Browse the repository at this point in the history
* clean up note ids

* xml,txt files

---------

Co-authored-by: Enrico Fucile <[email protected]>
  • Loading branch information
amilan17 and efucile authored Jun 25, 2024
1 parent eee9e66 commit 4f9cc7f
Show file tree
Hide file tree
Showing 14 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion GRIB2_CodeFlag_1_2_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Significance of reference time,,1,,Start of forecast,,,,Operational
Significance of reference time,,2,,Verifying time of forecast,,,,Operational
Significance of reference time,,3,,Observation time,,,,Operational
Significance of reference time,,4,,Local time,,,,Operational
Significance of reference time,,5,,Simulation start,(see Note),173a,,Operational
Significance of reference time,,5,,Simulation start,(see Note),150,,Operational
Significance of reference time,,6-191,,Reserved,,,,Operational
Significance of reference time,,192-254,,Reserved for local use,,,,Operational
Significance of reference time,,255,,Missing,,,,Operational
4 changes: 2 additions & 2 deletions GRIB2_CodeFlag_4_101_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Type of relationship to reference dataset,,3,,Climatology,,,,Operational
Type of relationship to reference dataset,,4-19,,Reserved,,,,Operational
Type of relationship to reference dataset,,20,,Extreme Forecast Index (EFI),(see Note 3),137,,Operational
Type of relationship to reference dataset,,21,,Shift of Tails (SOT),(see Note 4),138,,Operational
Type of relationship to reference dataset,,22,,Anomaly of probabilities,(see Note 5),226a,,Operational
Type of relationship to reference dataset,,23,,Standardized Drought Index,(see Note 6),221b,,Operational
Type of relationship to reference dataset,,22,,Anomaly of probabilities,(see Note 5),148,,Operational
Type of relationship to reference dataset,,23,,Standardized Drought Index,(see Note 6),147,,Operational
Type of relationship to reference dataset,,24-191,,Reserved,,,,Operational
Type of relationship to reference dataset,,192-254,,Reserved for local use,,,,Operational
Type of relationship to reference dataset,,255,,Missing,,,,Operational
10 changes: 5 additions & 5 deletions GRIB2_CodeFlag_4_103_CodeTable_en.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Title_en,SubTitle_en,CodeFlag,Value,MeaningParameterDescription_en,Note_en,noteIDs,UnitComments_en,Status
Spatial vicinity type,,0,,Circle [m],(see Note),225a,,Operational
Spatial vicinity type,,1,,"Rectangle [m,m]",(see Note),225a,,Operational
Spatial vicinity type,,2,,Square [m],(see Note),225a,,Operational
Spatial vicinity type,,3,,"Wedge [m, degree, degree]",(see Note),225a,,Operational
Spatial vicinity type,,4,,"Span of grid boxes centered around grid box i,j [x,y]",(see Note),225a,,Operational
Spatial vicinity type,,0,,Circle [m],(see Note),152,,Operational
Spatial vicinity type,,1,,"Rectangle [m,m]",(see Note),152,,Operational
Spatial vicinity type,,2,,Square [m],(see Note),152,,Operational
Spatial vicinity type,,3,,"Wedge [m, degree, degree]",(see Note),152,,Operational
Spatial vicinity type,,4,,"Span of grid boxes centered around grid box i,j [x,y]",(see Note),152,,Operational
Spatial vicinity type,,5-191,,Reserved,,,,Operational
Spatial vicinity type,,192-254,,Reserved for local use,,,,Operational
Spatial vicinity type,,255,,Missing,,,,Operational
2 changes: 1 addition & 1 deletion GRIB2_CodeFlag_4_104_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Spatial and temporal vicinity processing,,6,,Standard deviation,,,,Operational
Spatial and temporal vicinity processing,,7-10,,Reserved,,,,Operational
Spatial and temporal vicinity processing,,11,,Sum,,,,Operational
Spatial and temporal vicinity processing,,12-189,,Reserved,,,,Operational
Spatial and temporal vicinity processing,,190,,Quantile,(see Note),225b,,Opertional
Spatial and temporal vicinity processing,,190,,Quantile,(see Note),153,,Opertional
Spatial and temporal vicinity processing,,191,,Categorical (boolean),,,,Operational
Spatial and temporal vicinity processing,,192-254,,Reserved for local use,,,,Operational
Spatial and temporal vicinity processing,,255,,Missing,,,,Operational
2 changes: 1 addition & 1 deletion GRIB2_CodeFlag_4_10_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Type of statistical processing,,13,,Median,,,,Operational
Type of statistical processing,,14-99,,Reserved,,,,Operational
Type of statistical processing,,100,,Severity,,,,Operational
Type of statistical processing,,101,,Mode,,,,Operational
Type of statistical processing,,102,,Index processing,(see Note 4),221a,,Operational
Type of statistical processing,,102,,Index processing,(see Note 4),146,,Operational
Type of statistical processing,,103-191,,Reserved,,,,Operational
Type of statistical processing,,192-254,,Reserved for local use,,,,Operational
Type of statistical processing,,255,,Missing,,,,Operational
8 changes: 4 additions & 4 deletions GRIB2_CodeFlag_4_2_0_18_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Parameter number by product discipline and parameter category,"Product disciplin
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",16,,Height of maximum air activity concentration,,,m,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",17,,Column-integrated air activity concentration,,,Bq m-2,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",18,,Column-averaged air activity concentration in layer,,,Bq m-3,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",19,,Deposition activity arrival,(see Note 3),173b,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",20,,Deposition activity ended,(see Note 3),173b,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",21,,Cloud activity arrival,(see Note 3),173b,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",22,,Cloud activity ended,(see Note 3),173b,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",19,,Deposition activity arrival,(see Note 3),151,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",20,,Deposition activity ended,(see Note 3),151,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",21,,Cloud activity arrival,(see Note 3),151,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",22,,Cloud activity ended,(see Note 3),151,s,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",23,,Effective dose rate,,,nSv h-1,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",24,,Thyroid dose rate (adult),,,nSv h-1,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 18: nuclear/radiology",25,,Gamma dose rate (adult),,,nSv h-1,Operational
Expand Down
6 changes: 3 additions & 3 deletions GRIB2_CodeFlag_4_2_0_191_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Parameter number by product discipline and parameter category,"Product disciplin
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",2,,Geographical longitude,,,deg E,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",3,,Days since last observation,,,d,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",4,,Tropical cyclone density track,,,Numeric,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",5,,Hurricane track in spatiotemporal vicinity,(see Note),225c,boolean,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",6,,Tropical storm track in spatiotemporal vicinity,(see Note),225c,boolean,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",7,,Tropical depression track in spatiotemporal vicinity,(see Note),225c,boolean,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",5,,Hurricane track in spatiotemporal vicinity,(see Note),154,boolean,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",6,,Tropical storm track in spatiotemporal vicinity,(see Note),154,boolean,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",7,,Tropical depression track in spatiotemporal vicinity,(see Note),154,boolean,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",8-191,,Reserved,,,,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",192-254,,Reserved for local use,,,,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 191: miscellaneous",255,,Missing,,,,Operational
2 changes: 1 addition & 1 deletion GRIB2_CodeFlag_4_2_0_22_CodeTable_en.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Title_en,SubTitle_en,CodeFlag,Value,MeaningParameterDescription_en,Note_en,noteIDs,UnitComments_en,Status
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 22: drought indices",0,,Standard Precipitation Index (SPI),(see Note),221b,dimensionless,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 22: drought indices",0,,Standard Precipitation Index (SPI),(see Note),147,dimensionless,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 22: drought indices",1,,Standardized Precipitation Evapotranspiration Index (SPEI),,,dimensionless,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 22: drought indices",2,,Standardized Streamflow index (SSFI),,,dimensionless,Operational
Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 22: drought indices",3,,Standardized Reservoir Supply Index (SRSI),,,dimensionless,Operational
Expand Down
2 changes: 1 addition & 1 deletion GRIB2_CodeFlag_4_5_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Fixed surface types and units,,15,,Convective condensation level (CCL),,,-,Opera
Fixed surface types and units,,16,,Level of neutral buoyancy or equilibrium level (LNB),,,-,Operational
Fixed surface types and units,,17,,Departure level of the most unstable parcel of air (MUDL),,,-,Operational
Fixed surface types and units,,18,,Departure level of a mixed layer parcel of air with specified layer depth,,,Pa,Operational
Fixed surface types and units,,19,,Lowest level where cloud cover exceeds the specified percentage,(see Note 9),220a,%,Operational
Fixed surface types and units,,19,,Lowest level where cloud cover exceeds the specified percentage,(see Note 9),149,%,Operational
Fixed surface types and units,,20,,Isothermal level,,,K,Operational
Fixed surface types and units,,21,,Lowest level where mass density exceeds the specified value (base for a given threshold of mass density),,,kg m-3,Operational
Fixed surface types and units,,22,,Highest level where mass density exceeds the specified value (top for a given threshold of mass density),,,kg m-3,Operational
Expand Down
2 changes: 1 addition & 1 deletion GRIB2_CodeFlag_4_9_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Probability type,,5,,Probability of event equal to lower limit,,,,Operational
Probability type,,6,,Probability of event in above normal category,(see Notes 1 and 2),"7,9",,Operational
Probability type,,7,,Probability of event in near normal category,(see Notes 1 and 2),"7,9",,Operational
Probability type,,8,,Probability of event in below normal category,(see Notes 1 and 2),"7,9",,Operational
Probability type,,9,,Probability based on counts of categorical boolean,(see Note 3),225d,,Operational
Probability type,,9,,Probability based on counts of categorical boolean,(see Note 3),155,,Operational
Probability type,,10-191,,Reserved,,,,Operational
Probability type,,192-254,,Reserved for local use,,,,Operational
Probability type,,255,,Missing,,,,Operational
20 changes: 10 additions & 10 deletions notes/CodeFlag_notes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ noteID,note
143,"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."
144,"This is the Julian day of the year that surface melt begins."
145,"This is the Julian day of the year that surface freeze begins."
221a,"For code number 102 the drought index encoded in the message is specified by the table entries from discipline 0 and parameter category 22 with the corresponding parameter number. The statistical processing period of the drought index is defined by the keys ""length of time range"" and ""indicator of unit of time for the increment"""
221b,"Descriptions of the drought indices in discipline 0, meteorology, category 22 are available in the Handbook of Drought Indicators and Indices (WMO-No. 1173) [https://library.wmo.int/idurl/4/55169]. The indices are specified by setting discipline and parameter category/number to the specific index to be encoded. Drought indicators are calculated over different time ranges, prescribed by the 'Length of time range' and 'Indicator of unit for time range' parameters in the templates 4.107, 4.108, 4.109 and 4.112. All standardized drought indices are calculated according to the Standardized Precipitation Index User Guide (WMO-No. 1090)[https://library.wmo.int/idurl/4/39629]."
226a,"This entry is intended to be used with templates 4.112 and 4.123. Instead of having the probability of the exceedance of the anomaly (code number 0) of the limits specified in the message, it specifies probabilities which were calculated for the forecast and for the reference dataset with the given specification listed in the meta-data. The anomaly is calculated between the two derived probabilities."
220a,"This level differs from entry 13 which is vertically accumulated from the surface while this entry is not."
173a,"For use with downstream models (from NWP) such as dispersion modeling or air quality."
173b,Use the radionuclide release start date as baseline to determine activity arrival or activity end.
225a,"The following additional arguments must be specified: • Circle - 1 argument for the radius in metres • Rectangle - 2 arguments for the length in 1. west-east and 2. south-north in metres • Square - 1 argument for the length of the equal-length sides in metres • Wedge - 3 arguments for 1. radius in metres and 2. start and 3. end radius in arithmetic degrees with 0 on the positive axis along west-east and counted counter-clockwise. • span of grid cells - 2 arguments regarding the number of grid cells in 1. west-east and 2. south-north so that the span is i+/-x and j+/-y"
225b,"The option quantile needs two additional arguments: 1) The total number of quantiles and 2) the quantile value."
225c,"These parameters are intended to be used with templates 4.121 and 4.122 in which the spatiotemporal criteria is encoded used to get a categorical yes/no per grid point of each ensemble member."
225d,"Scale Factor of Lower Limit, Scaled Value of Lower Limit, Scale Factor of Upper Limit and Scaled Value of Upper Limit must be set to missing. This entry is intended for, but not limited to, entries 5 to 7 in Code table 4.2 discipline 0 category 191."
146,"For code number 102 the drought index encoded in the message is specified by the table entries from discipline 0 and parameter category 22 with the corresponding parameter number. The statistical processing period of the drought index is defined by the keys ""length of time range"" and ""indicator of unit of time for the increment"""
147,"Descriptions of the drought indices in discipline 0, meteorology, category 22 are available in the Handbook of Drought Indicators and Indices (WMO-No. 1173) [https://library.wmo.int/idurl/4/55169]. The indices are specified by setting discipline and parameter category/number to the specific index to be encoded. Drought indicators are calculated over different time ranges, prescribed by the 'Length of time range' and 'Indicator of unit for time range' parameters in the templates 4.107, 4.108, 4.109 and 4.112. All standardized drought indices are calculated according to the Standardized Precipitation Index User Guide (WMO-No. 1090)[https://library.wmo.int/idurl/4/39629]."
148,"This entry is intended to be used with templates 4.112 and 4.123. Instead of having the probability of the exceedance of the anomaly (code number 0) of the limits specified in the message, it specifies probabilities which were calculated for the forecast and for the reference dataset with the given specification listed in the meta-data. The anomaly is calculated between the two derived probabilities."
149,"This level differs from entry 13 which is vertically accumulated from the surface while this entry is not."
150,"For use with downstream models (from NWP) such as dispersion modeling or air quality."
151,Use the radionuclide release start date as baseline to determine activity arrival or activity end.
152,"The following additional arguments must be specified: • Circle - 1 argument for the radius in metres • Rectangle - 2 arguments for the length in 1. west-east and 2. south-north in metres • Square - 1 argument for the length of the equal-length sides in metres • Wedge - 3 arguments for 1. radius in metres and 2. start and 3. end radius in arithmetic degrees with 0 on the positive axis along west-east and counted counter-clockwise. • span of grid cells - 2 arguments regarding the number of grid cells in 1. west-east and 2. south-north so that the span is i+/-x and j+/-y"
153,"The option quantile needs two additional arguments: 1) The total number of quantiles and 2) the quantile value."
154,"These parameters are intended to be used with templates 4.121 and 4.122 in which the spatiotemporal criteria is encoded used to get a categorical yes/no per grid point of each ensemble member."
155,"Scale Factor of Lower Limit, Scaled Value of Lower Limit, Scale Factor of Upper Limit and Scaled Value of Upper Limit must be set to missing. This entry is intended for, but not limited to, entries 5 to 7 in Code table 4.2 discipline 0 category 191."
Loading

0 comments on commit 4f9cc7f

Please sign in to comment.