Skip to content

Commit

Permalink
Remove leading 0 from post task dependencies (#283)
Browse files Browse the repository at this point in the history
* Changes to post file names to make model lowercase and move ${fhr} to three values instead of two

* Change "rrfs" to "${NET}" instead

* Add missing "f" to file name

* Remove restriction on ${fhr} being only two digits

* Change fhour to three digit variable and at "f" to filename for Python plotting script.

* Add new "post_fhr" variable to support dynamic 2- and 3-digit forecast hour formats in post filenames

* Use "print_err_msg_exit" if forecast hour length is too long or short.

* Fix indentations

* Remove 0 from dynf0#fhr# and phyf0#fhr# dependencies for post task in XML template
  • Loading branch information
JeffBeck-NOAA authored Sep 1, 2020
1 parent 039665d commit 2d93671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/templates/FV3LAM_wflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ MODULES_RUN_TASK_FP script.
<or>
<taskdep task="&RUN_FCST_TN;"/>
<and>
<datadep age="05:00"><cyclestr>&CYCLE_BASEDIR;/@Y@m@d@H{{ slash_ensmem_subdir }}/dynf0#fhr#.nc</cyclestr></datadep>
<datadep age="05:00"><cyclestr>&CYCLE_BASEDIR;/@Y@m@d@H{{ slash_ensmem_subdir }}/phyf0#fhr#.nc</cyclestr></datadep>
<datadep age="05:00"><cyclestr>&CYCLE_BASEDIR;/@Y@m@d@H{{ slash_ensmem_subdir }}/dynf#fhr#.nc</cyclestr></datadep>
<datadep age="05:00"><cyclestr>&CYCLE_BASEDIR;/@Y@m@d@H{{ slash_ensmem_subdir }}/phyf#fhr#.nc</cyclestr></datadep>
</and>
</or>
</dependency>
Expand Down

0 comments on commit 2d93671

Please sign in to comment.