Skip to content

Commit d10ebf7

Browse files
authored
Merge branch 'erinethomas/ww3/rename-input-files-rtd' (PR #6662)
The unresolved obstacles files for WW3 (obstructions/shadow files) should include ".rtd." in the name. This stands for 'rotated grid'. It will be much easier to keep track of WW3 input files required. Some input files need to be on the WW3 rotated grid (and should specify this with the tag "rtd" in the file name), while other files need to be on the un-rotated grid. [BFB]
2 parents 2089345 + f8dfc6e commit d10ebf7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/ww3/bld/build-namelist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ if ($NML_TYPE eq "ww3_grid") {
363363
add_default($nl, 'grid%dmin');
364364

365365
add_default($nl, 'unst%sf');
366-
add_default($nl, 'unst%filename', 'val'=>"'${DIN_LOC_ROOT}/wav/ww3/${WAV_GRID}.msh'");
366+
add_default($nl, 'unst%filename', 'val'=>"'${DIN_LOC_ROOT}/wav/ww3/${WAV_GRID}_rtd.msh'");
367367
add_default($nl, 'unst%idf');
368368
add_default($nl, 'unst%idla');
369369
add_default($nl, 'unst%idfm');
@@ -398,8 +398,8 @@ if ($NML_TYPE eq "ww3_grid_nml") {
398398
add_default($nl, 'icedisp');
399399
add_default($nl, 'rwndc');
400400

401-
add_default($nl, 'uostfilelocal', 'val'=>"'${DIN_LOC_ROOT}/wav/ww3/obstructions_local.${WAV_GRID}${WAV_SPEC}.in'");
402-
add_default($nl, 'uostfileshadow', 'val'=>"'${DIN_LOC_ROOT}/wav/ww3/obstructions_shadow.${WAV_GRID}${WAV_SPEC}.in'");
401+
add_default($nl, 'uostfilelocal', 'val'=>"'${DIN_LOC_ROOT}/wav/ww3/obstructions_local.${WAV_GRID}${WAV_SPEC}.rtd.in'");
402+
add_default($nl, 'uostfileshadow', 'val'=>"'${DIN_LOC_ROOT}/wav/ww3/obstructions_shadow.${WAV_GRID}${WAV_SPEC}.rtd.in'");
403403

404404
}
405405

components/ww3/cime_config/buildnml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def buildnml(case, caseroot, compname):
6464

6565
with open(os.path.join(casebuild, "ww3.input_data_list"), "w") as input_list:
6666

67-
input_list.write("mesh = {}/wav/ww3/{}.msh\n".format(din_loc_root,wav_grid))
67+
input_list.write("mesh = {}/wav/ww3/{}_rtd.msh\n".format(din_loc_root,wav_grid))
6868
input_list.write("stations = {}/wav/ww3/stations.txt\n".format(din_loc_root))
69-
input_list.write("uostfilelocal = {}/wav/ww3/obstructions_local.{}{}.in\n".format(din_loc_root,wav_grid,wav_spec))
70-
input_list.write("uostfileshadow = {}/wav/ww3/obstructions_shadow.{}{}.in\n".format(din_loc_root,wav_grid,wav_spec))
69+
input_list.write("uostfilelocal = {}/wav/ww3/obstructions_local.{}{}.rtd.in\n".format(din_loc_root,wav_grid,wav_spec))
70+
input_list.write("uostfileshadow = {}/wav/ww3/obstructions_shadow.{}{}.rtd.in\n".format(din_loc_root,wav_grid,wav_spec))
7171

7272
#--------------------------------------------------------------------
7373
# Invoke ww3 build-namelist - output will go in $CASEBUILD/ww3conf

0 commit comments

Comments
 (0)