Details
Similar to #314, previous versions of the CodeFlag.xml file included unit information in a UnitComments_en element, e.g.:
<GRIB2_22_0_0_CodeFlag_exp_en>
<No>520</No>
<Title_en>Code table 4.2 - Parameter number by product discipline and parameter category</Title_en>
<SubTitle_en>Product discipline 0 - Meteorological products, parameter category 1: moisture</SubTitle_en>
<CodeFlag>97</CodeFlag>
<MeaningParameterDescription_en>Mass density of snow</MeaningParameterDescription_en>
<UnitComments_en>kg m-3</UnitComments_en>
<ElementDescription_en>Mass of particles per unit volume of air</ElementDescription_en>
<Status>Operational</Status>
</GRIB2_22_0_0_CodeFlag_exp_en>
The UnitComments_en field still exists in the CodeFlag.txt file. Would it be possible to add that field back to the xml document? As with the <SubTitle_en>, empty elements would be ok (e.g. <UnitComments_en/>). I'd be happy to make the pull request (should be as simple as adding that field to the list of XML elements, I think?):
|
xml_elements=["Title_en","SubTitle_en","CodeFlag","MeaningParameterDescription_en","Status"] |
Requestor
Sean Arms (NSF Unidata), @lesserwhirls
Details
Similar to #314, previous versions of the
CodeFlag.xmlfile included unit information in aUnitComments_enelement, e.g.:The
UnitComments_enfield still exists in theCodeFlag.txtfile. Would it be possible to add that field back to the xml document? As with the<SubTitle_en>, empty elements would be ok (e.g.<UnitComments_en/>). I'd be happy to make the pull request (should be as simple as adding that field to the list of XML elements, I think?):GRIB2/scripts/create_master_lists.py
Line 173 in a367930
Requestor
Sean Arms (NSF Unidata), @lesserwhirls