Skip to content

Commit

Permalink
Merge pull request #104 from ESCOMP/fix_coupling_mode
Browse files Browse the repository at this point in the history
Minor fix for CIME interface
  • Loading branch information
uturuncoglu authored Sep 25, 2020
2 parents 32129aa + b36a949 commit 01dfe9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def buildnml(case, caseroot, component):
filename = os.path.join(fd_dir,"fd_cesm.yaml")
elif coupling_mode == 'hafs':
filename = os.path.join(fd_dir,"fd_hafs.yaml")
elif coupling_mode == 'nems':
elif 'nems' in coupling_mode:
filename = os.path.join(fd_dir,"fd_nems.yaml")
else:
expect(False, "coupling mode currently only supports cesm, hafs and nems")
Expand Down
2 changes: 1 addition & 1 deletion cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<entry id="COUPLING_MODE">
<type>char</type>
<valid_values>cesm,nems_orig_active,nems_orig_data,nems_frac,hafs</valid_values>
<valid_values>cesm,nems_orig,nems_orig_data,nems_frac,hafs</valid_values>
<default_value>cesm</default_value>
<group>run_coupling</group>
<file>env_run.xml</file>
Expand Down

0 comments on commit 01dfe9a

Please sign in to comment.