Skip to content

Commit

Permalink
Update buildnml to use caseroot to get plumber2 information because p…
Browse files Browse the repository at this point in the history
…lumber2site var not recognized at time of buildnml
  • Loading branch information
TeaganKing authored Aug 1, 2024
1 parent d564ec9 commit b5395f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions datm/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,8 @@ def _create_namelists(case, confdir, inst_string, infile, nmlgen, data_list_path
config['neon'] = "True"
# download and use the listing.csv file to determine data availablity
available_neon_data = _get_neon_data_availability(case, neonsite)
if 'PLUMBER' in clm_usrdat_name:
# TODO: not recognizing PLUBMER2SITE var in buildnml
plumber2site = case.get_value("PLUMBER2SITE")
if 'PLUMBER2' in clm_usrdat_name:
plumber2site = case.get_value('CASEROOT').split('/')[-1]
if plumber2site:
config['plumber'] = "True"
else:
Expand Down

0 comments on commit b5395f4

Please sign in to comment.