Skip to content

Commit

Permalink
Merge pull request #122 from wmo-im/updateScript
Browse files Browse the repository at this point in the history
create txt/xml files for FT21-2
  • Loading branch information
amilan17 authored Oct 21, 2021
2 parents 7e754aa + d9e1748 commit a3711da
Show file tree
Hide file tree
Showing 5 changed files with 12,999 additions and 2,754 deletions.
4 changes: 2 additions & 2 deletions scripts/create_master_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ def process_files(files,pattern,writers,title_prefix):
# Template tables
template_files = load_files("GRIB2_Template",basedir=".")

fieldnames=["Title_en","OctetNo","Contents_en","Note_en","Status"]
fieldnames=["Title_en","OctetNo","Contents_en","Note_en","noteIDs","codeTable","flagTable","Status"]
csv_writer = CSVWriter("txt/Template.txt",fieldnames)

xml_elements=["Title_en","OctetNo","Contents_en","Note_en","Status"]
xml_elements=["Title_en","OctetNo","Contents_en","Note_en","noteIDs","codeTable","flagTable","Status"]
xml_writer = XMLWriter("xml/Template.xml",xml_elements,"GRIB2_Template_en")

writers = [csv_writer,xml_writer]
Expand Down
Loading

0 comments on commit a3711da

Please sign in to comment.