Skip to content

Commit b9d935a

Browse files
amilan17efucile
andauthored
#314 include discipline information to codeflagxml (#337)
* add subtitle to XML generator * xml,txt files * xml,txt files * xml,txt files --------- Co-authored-by: Enrico Fucile <efucile@wmo.int>
1 parent f7da40f commit b9d935a

File tree

2 files changed

+3243
-1
lines changed

2 files changed

+3243
-1
lines changed

scripts/create_master_lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def process_files(files,pattern,writers,title_prefix):
170170
fieldnames=["Title_en","SubTitle_en","CodeFlag","Value","MeaningParameterDescription_en","Note_en","noteIDs","UnitComments_en","Status"]
171171
csv_writer = CSVWriter("txt/CodeFlag.txt",fieldnames)
172172

173-
xml_elements=["Title_en","CodeFlag","MeaningParameterDescription_en","Status"]
173+
xml_elements=["Title_en","SubTitle_en","CodeFlag","MeaningParameterDescription_en","Status"]
174174
xml_writer = XMLWriter("xml/CodeFlag.xml",xml_elements,"GRIB2_CodeFlag_en")
175175

176176
writers = [csv_writer,xml_writer]

0 commit comments

Comments
 (0)