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

238 new precipitation type flag... #267

Merged
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
4 changes: 3 additions & 1 deletion GRIB2_CodeFlag_4_201_CodeTable_en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Precipitation type,,9,,Graupel,,,,Operational
Precipitation type,,10,,Hail,,,,Operational
Precipitation type,,11,,Drizzle,,,,Operational
Precipitation type,,12,,Freezing drizzle,,,,Operational
Precipitation type,,13-191,,Reserved,,,,Operational
Precipitation type,,13,,Hail (less than 5 mm),,,,Operational
Precipitation type,,14,,Hail (greater than or equal to 5 mm),,,,Operational
Precipitation type,,15-191,,Reserved,,,,Operational
Precipitation type,,192-254,,Reserved for local use,,,,Operational
Precipitation type,,255,,Missing,,,,Operational
2 changes: 1 addition & 1 deletion scripts/create_master_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def close(self):

class XMLWriter:

xmlheader = '<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="{}">'.format( datetime.now().isoformat() )
xmlheader = '<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'


def __init__(self,outfile,elements,item_name):
Expand Down
4 changes: 3 additions & 1 deletion txt/CodeFlag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,9 @@ Code table 4.201 - Precipitation type,,9,,Graupel,,,,Operational
Code table 4.201 - Precipitation type,,10,,Hail,,,,Operational
Code table 4.201 - Precipitation type,,11,,Drizzle,,,,Operational
Code table 4.201 - Precipitation type,,12,,Freezing drizzle,,,,Operational
Code table 4.201 - Precipitation type,,13-191,,Reserved,,,,Operational
Code table 4.201 - Precipitation type,,13,,Hail (less than 5 mm),,,,Operational
Code table 4.201 - Precipitation type,,14,,Hail (greater than or equal to 5 mm),,,,Operational
Code table 4.201 - Precipitation type,,15-191,,Reserved,,,,Operational
Code table 4.201 - Precipitation type,,192-254,,Reserved for local use,,,,Operational
Code table 4.201 - Precipitation type,,255,,Missing,,,,Operational
Code table 4.202 - Precipitable water category,,0-191,,Reserved,,,,Operational
Expand Down
16 changes: 14 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">
<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 @@ -13424,7 +13424,19 @@
</GRIB2_CodeFlag_en>
<GRIB2_CodeFlag_en>
<Title_en>Code table 4.201 - Precipitation type</Title_en>
<CodeFlag>13-191</CodeFlag>
<CodeFlag>13</CodeFlag>
<MeaningParameterDescription_en>Hail (less than 5 mm)</MeaningParameterDescription_en>
<Status>Operational</Status>
</GRIB2_CodeFlag_en>
<GRIB2_CodeFlag_en>
<Title_en>Code table 4.201 - Precipitation type</Title_en>
<CodeFlag>14</CodeFlag>
<MeaningParameterDescription_en>Hail (greater than or equal to 5 mm)</MeaningParameterDescription_en>
<Status>Operational</Status>
</GRIB2_CodeFlag_en>
<GRIB2_CodeFlag_en>
<Title_en>Code table 4.201 - Precipitation type</Title_en>
<CodeFlag>15-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">
<GRIB2_Template_en>
<Title_en>Identification template 1.0 - calendar definition</Title_en>
<OctetNo>24</OctetNo>
Expand Down