Skip to content

Commit

Permalink
remove path from config.com and yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonMFernando-NOAA committed Dec 16, 2024
1 parent 805fe00 commit 2a5a464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions parm/archive/gefs_extracted_wave.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,13 @@ gefs_wave:
- "{{ file_path | relpath(ROTDIR)}}"

{% for res in RESOLUTION %}
{% set tmpl_dict = tmpl_dict.update({ '${GRID}':res }) %}
{% set COMIN_WAVE_GRID = COM_WAVE_GRID_RES_TMPL | replace_tmpl(tmpl_dict) %}
{% set COMIN_WAVE_GRID = COM_WAVE_GRID_TMPL | replace_tmpl(tmpl_dict) %}
# Select grib2 files to copy to the atardir
{% if path_exists(COMIN_WAVE_GRID) %}
{% for fhr in range(ofst_hr, FHMAX_GFS + FHOUT_WAV, FHOUT_WAV) %}
{% set file_name = head ~ "global." ~ res ~ ".f" ~ '%03d'|format(fhr) ~ ".grib2" %}
{% set file_path = COMIN_WAVE_GRID ~ "/" ~ file_name %}
{% set file_path = COMIN_WAVE_GRID ~ "/" ~ res ~ "/" ~ file_name %}
- "{{ file_path | relpath(ROTDIR)}}"

{% endfor %}
{% endif %}
{% endfor %}
Expand Down
1 change: 0 additions & 1 deletion parm/config/gfs/config.com
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ declare -rx COM_WAVE_RESTART_TMPL=${COM_BASE}'/model/wave/restart'
declare -rx COM_WAVE_PREP_TMPL=${COM_BASE}'/model/wave/prep'
declare -rx COM_WAVE_HISTORY_TMPL=${COM_BASE}'/model/wave/history'
declare -rx COM_WAVE_GRID_TMPL=${COM_BASE}'/products/wave/gridded'
declare -rx COM_WAVE_GRID_RES_TMPL=${COM_WAVE_GRID_TMPL}'/${GRID}'
declare -rx COM_WAVE_STATION_TMPL=${COM_BASE}'/products/wave/station'
declare -rx COM_WAVE_GEMPAK_TMPL=${COM_BASE}'/products/wave/gempak'
declare -rx COM_WAVE_WMO_TMPL=${COM_BASE}'/products/wave/wmo'
Expand Down

0 comments on commit 2a5a464

Please sign in to comment.