Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions datm/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def _create_namelists(case, confdir, inst_string, infile, nmlgen, data_list_path
scol_lat = float(case.get_value('PTS_LAT'))
else:
scol_lat = -999.
if case.get_value('ATM_DOMAIN_FILE'):
if scol_lon > -999. and scol_lat > -999. and case.get_value("ATM_DOMAIN_FILE") != "UNSET":
if case.get_value('PTS_DOMAINFILE'):
if scol_lon > -999. and scol_lat > -999. and case.get_value("PTS_DOMAINFILE") != "UNSET":
config['single_column'] = 'true'
else:
config['single_column'] = 'false'
Expand Down
4 changes: 2 additions & 2 deletions dice/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def _create_namelists(case, confdir, inst_string, infile, nmlgen, data_list_path
scol_lat = float(case.get_value('PTS_LAT'))
else:
scol_lat = -999.
if case.get_value('ATM_DOMAIN_FILE'):
if scol_lon > -999. and scol_lat >= -999. and case.get_value("ATM_DOMAIN_FILE") != "UNSET":
if case.get_value('PTS_DOMAINFILE'):
if scol_lon > -999. and scol_lat >= -999. and case.get_value("PTS_DOMAINFILE") != "UNSET":
config['single_column'] = 'true'
else:
config['single_column'] = 'false'
Expand Down
4 changes: 2 additions & 2 deletions docn/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def _create_namelists(case, confdir, inst_string, infile, nmlgen, data_list_path
scol_lat = float(case.get_value('PTS_LAT'))
else:
scol_lat = -999.
if case.get_value('ATM_DOMAIN_FILE'):
if scol_lon > -999. and scol_lat > -999. and case.get_value("ATM_DOMAIN_FILE") != "UNSET":
if case.get_value('PTS_DOMAINFILE'):
if scol_lon > -999. and scol_lat > -999. and case.get_value("PTS_DOMAINFILE") != "UNSET":
config['single_column'] = 'true'
else:
config['single_column'] = 'false'
Expand Down
Loading