HWRF  trunk@4391
Namespaces
ush Namespace Reference

Utility scripts for testing and workflow management. More...

Detailed Description

Utility scripts for testing and workflow management.

The ush directory is the resting place of most of the Python scripts in the HWRF package, but it also contains a number of simple utility scripts for testing the hwrf or produtil packages, or for managing the HWRF workflow.

Utility scripts of general interest:

setup_hurricane — this is the script run by the NOAA Senior Duty Meteorologist (SDM) every six hours to create message files input to the HWRF and GFDL hurricane models.

psychoanalyst — checks the HWRF installation to see if it is complete. This runs the same checks done by the Rocoto run_hwrf.py script, but does not actually launch any jobs.

hwrf_scrub — called from the Rocoto workflow scrubber jobs to delete directory trees and log relevant messages. It includes safeguards to prevent accidental deletion of important directories like / and $HOMEhwrf

hwrf_deliver — a wrapper around produtil.datastore.deliver_file() which provides most of its functionality.

hwrf_datastore — query or manipulate an HWRF database file

hwrf_completion — run by the Rocoto completion job to log completion of an HWRF forecast cycle.

hwrf_stream_parse — a wrapper around produtil.atparse.AtParser, this is a simple preparser, which replaces the Perl script of the same name in the old ksh-based system.

rocoto_from_vitals — generate Rocoto cycle definitions from tcvitals files.

Namespaces

 hwrf_completion
 A simple script that logs the completion of an HWRF forecast cycle.
 
 hwrf_datastore
 A utility script for dumping or modifying the contents of an HWRF sqlite3 database file.
 
 hwrf_deliver
 A test program for the produtil.fileop.deliver_file() function.
 
 hwrf_donefile
 A simple script that makes a "donefile" that indicates the completion of one ensemble member's work, before archiving and scrubbing.
 
 hwrf_generate_vitals
 A utility script for tcvitals manipulation, a wrapper around hwrf.revital.
 
 hwrf_make_jobs
 Makes the jobs/JHWRF_* sh scripts.
 
 hwrf_multistorm_sort_test
 A test script for the multistorm sort function.
 
 hwrf_scrub
 A utility script that deletes directories, but adds safeguards and logging.
 
 hwrf_stream_parse
 This is a wrapper around produtil.atparse.AtParser, a simple preparser.
 
 psychoanalyst
 This script runs all HWRF sanity checks that do not require a specific cyle to run.
 
 rocoto_from_hhs
 This program converts HHS baseline cycle list fix files (sent to stdin) to XML entities for use with Rocoto (sent to stdout).
 
 rocoto_from_vitals
 Reads the tcvitals, and generates Rocoto XML entities for storm cycle lists.
 
 setup_hurricane
 This script is run by the NOAA Senior Duty Meteorologist four times a day to generate the list of storms for the HWRF and GFDL hurricane models to run.