forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1d46bf
commit 9e43bda
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% set cycle_HH = current_cycle | strftime("%H") %} | ||
{% set cycle_YMDH = current_cycle | to_YMDH %} | ||
{% set cycle_YMD = current_cycle | to_YMD %} | ||
{% set head = RUN + ".t" + cycle_HH + "z." %} | ||
|
||
# Declare the GEFS_ARCH where atmos data will be sent | ||
{% set GEFS_ARCH = ROTDIR ~ RUN ~"/arch" %} | ||
|
||
# test files | ||
{% if RUN == "gefs" %} | ||
{% set det_files = [] %} | ||
{% if path_exists(ROTDIR ~ RUN ~ "." ~ cycle_YMD ~ cycle_HH | ||
~ "/ensstat/products/atmos/grib2/0p50") %} | ||
{% do det_files.append([ROTDIR ~ RUN ~ "." ~ cycle_YMD ~ cycle_HH | ||
~ "/ensstat/products/atmos/grib2/0p50/gefs.t12z.mean.pres_.0p50.f006.grib2"]) %} | ||
{% endif %} | ||
|
||
# Actually write the yaml | ||
mkdir: | ||
- "{{ GEFS_ARCH }}" | ||
copy: | ||
- {{ det_files }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters