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

247 code table 49 add an entry to encode a probability based on a quantile distribution instead of based on a threshold #265

5 changes: 3 additions & 2 deletions GRIB2_CodeFlag_4_9_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Probability type,,6,,Probability of event in above normal category,(see Notes 1
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),155,,Operational
Probability type,,10-191,,Reserved,,,,Operational
Probability type,,10,,Probability of event within the quantile of the probability distribution function,(see Note 4),247a,,Operational
Probability type,,11-191,,Reserved,,,,Operational
Probability type,,192-254,,Reserved for local use,,,,Operational
Probability type,,255,,Missing,,,,Operational
Probability type,,255,,Missing,,,,Operational
3 changes: 2 additions & 1 deletion notes/CodeFlag_notes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ noteID,note
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."
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."
247a,"When using entry 10, the lower limit is used to encode the quantile q (must be an integer between 0 and Q) while the upper limit is used to encode the total number of quantiles Q. This defines the probability of the parameter falling within quantile q. For instance, to encode the probability of falling within the 10th percentile, then q=10 and Q=100; to encode the probability of falling within the 1st tercile, then q=1 and Q=3."
3 changes: 2 additions & 1 deletion txt/CodeFlag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,8 @@ Code table 4.9 - Probability type,,6,,Probability of event in above normal categ
Code table 4.9 - Probability type,,7,,Probability of event in near normal category,(see Notes 1 and 2),"7,9",,Operational
Code table 4.9 - Probability type,,8,,Probability of event in below normal category,(see Notes 1 and 2),"7,9",,Operational
Code table 4.9 - Probability type,,9,,Probability based on counts of categorical boolean,(see Note 3),155,,Operational
Code table 4.9 - Probability type,,10-191,,Reserved,,,,Operational
Code table 4.9 - Probability type,,10,,Probability of event within the quantile of the probability distribution function,(see Note 4),247a,,Operational
Code table 4.9 - Probability type,,11-191,,Reserved,,,,Operational
Code table 4.9 - Probability type,,192-254,,Reserved for local use,,,,Operational
Code table 4.9 - Probability type,,255,,Missing,,,,Operational
Code table 4.10 - Type of statistical processing,,0,,Average,,,,Operational
Expand Down
10 changes: 8 additions & 2 deletions xml/CodeFlag.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2024-06-25T13:47:54.832108">
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2024-07-10T11:49:55.278702">
<GRIB2_CodeFlag_en>
<Title_en>Code table 0.0 - Discipline of processed data in the GRIB message, number of GRIB Master table</Title_en>
<CodeFlag>0</CodeFlag>
Expand Down Expand Up @@ -12434,7 +12434,13 @@
</GRIB2_CodeFlag_en>
<GRIB2_CodeFlag_en>
<Title_en>Code table 4.9 - Probability type</Title_en>
<CodeFlag>10-191</CodeFlag>
<CodeFlag>10</CodeFlag>
<MeaningParameterDescription_en>Probability of event within the quantile of the probability distribution function</MeaningParameterDescription_en>
<Status>Operational</Status>
</GRIB2_CodeFlag_en>
<GRIB2_CodeFlag_en>
<Title_en>Code table 4.9 - Probability type</Title_en>
<CodeFlag>11-191</CodeFlag>
<MeaningParameterDescription_en>Reserved</MeaningParameterDescription_en>
<Status>Operational</Status>
</GRIB2_CodeFlag_en>
Expand Down
2 changes: 1 addition & 1 deletion xml/Template.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2024-06-25T13:47:54.832108">
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2024-07-10T11:49:55.278702">
<GRIB2_Template_en>
<Title_en>Identification template 1.0 - calendar definition</Title_en>
<OctetNo>24</OctetNo>
Expand Down
Loading