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

Adding README file #7

Merged
merged 2 commits into from
May 13, 2021
Merged
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
20 changes: 20 additions & 0 deletions parm/README.make_flatfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
To make a .txt flat file for UPP, follow these steps within the parm/ directory:

1) Select, then validate, the associated "post_avblflds" file, e.g.,

xmllint --noout --schema EMC_POST_Avblflds_Schema.xsd fv3lam_post_avblflds.xml

2) Select, then validate, the associated "postcntrl" file, e.g.,

xmllint --noout --schema EMC_POST_CTRL_Schema.xsd fv3lam_rrfs.xml

3) If file validation succeeds in steps (1) and (2), generate the .txt flat file, e.g.,

perl PostXMLPreprocessor.pl fv3lam_rrfs.xml fv3lam_post_avblflds.xml postxconfig-NT-fv3lam_rrfs.txt
jaymes-kenyon marked this conversation as resolved.
Show resolved Hide resolved

In this example, "fv3lam_rrfs.xml" and "fv3lam_post_avblflds.xml" are input files, read by the perl
script. The "postxconfig-NT-fv3lam_rrfs.txt" flat file is the output file produced by the script, which
can have any name.

Note that a log file will be created by this script, in addition to the flat file.