Skip to content

Commit eb68400

Browse files
committed
Revert "Merge remote-tracking branch 'escomp/post-5.4' into NEON_v4"
This reverts commit 409e589, reversing changes made to 81f5dda.
1 parent 409e589 commit eb68400

21 files changed

+328
-725
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fxDONOTUSEurl = https://github.com/ESCOMP/mizuRoute
6868
[submodule "ccs_config"]
6969
path = ccs_config
7070
url = https://github.com/ESMCI/ccs_config_cesm.git
71-
fxtag = ccs_config_cesm1.0.61_add_domain_ne3np4.pg2_1
71+
fxtag = ccs_config_cesm1.0.61
7272
fxrequired = ToplevelRequired
7373
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
7474
fxDONOTUSEurl = https://github.com/ESMCI/ccs_config_cesm.git

bld/CLMBuildNamelist.pm

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -735,14 +735,6 @@ sub setup_cmdl_resolution {
735735
$log->verbose_message( "This is NOT a NEON site" );
736736
}
737737

738-
#
739-
# To determine CMIP era
740-
# TODO slevis: Ideally this line would occupy a new subroutine, e.g.
741-
# subr. process_envxml_flags that would get called from
742-
# process_namelist_user_input. This would allow other such
743-
# XML variables to be set in the same place in the future (issue #3547).
744-
$nl_flags->{'cmip_era'} = $envxml_ref->{'CLM_CMIP_ERA'};
745-
746738
}
747739

748740
#-------------------------------------------------------------------------------
@@ -2375,7 +2367,6 @@ sub setup_logic_urban {
23752367
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'urban_hac');
23762368
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'urban_explicit_ac');
23772369
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'urban_traffic');
2378-
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'init_interp_fill_missing_urban_with_HD');
23792370
}
23802371

23812372
#-------------------------------------------------------------------------------
@@ -2522,13 +2513,11 @@ sub setup_logic_demand {
25222513
# For landuse.timeseries try with crop on first eise try with exact settings
25232514
# Logic for this is identical for fsurdat
25242515
if ( $item eq "flanduse_timeseries" ) {
2525-
$settings{'cmip_era'} = $nl_flags->{'cmip_era'};
25262516
$settings{'use_crop'} = ".true.";
25272517
$settings{'nofail'} = 1;
25282518
}
25292519
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, $item, %settings );
25302520
if ( $item eq "flanduse_timeseries" ) {
2531-
$settings{'cmip_era'} = $nl_flags->{'cmip_era'};
25322521
$settings{'nofail'} = 0;
25332522
$settings{'use_crop'} = $nl_flags->{'use_crop'};
25342523
if ( ! defined($nl->get_value( $item )) ) {
@@ -2578,7 +2567,6 @@ sub setup_logic_surface_dataset {
25782567
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, $var,
25792568
'hgrid'=>$nl_flags->{'res'}, 'ssp_rcp'=>$nl_flags->{'ssp_rcp'},
25802569
'neon'=>$nl_flags->{'neon'}, 'neonsite'=>$nl_flags->{'neonsite'},
2581-
'cmip_era'=>$nl_flags->{'cmip_era'},
25822570
'sim_year'=>$nl_flags->{'sim_year'}, 'use_vichydro'=>$nl_flags->{'use_vichydro'},
25832571
'use_crop'=>".true.", 'use_fates'=>$nl_flags->{'use_fates'}, 'nofail'=>1);
25842572
}
@@ -2592,7 +2580,6 @@ sub setup_logic_surface_dataset {
25922580
'hgrid'=>$nl_flags->{'res'}, 'ssp_rcp'=>$nl_flags->{'ssp_rcp'}, 'use_vichydro'=>$nl_flags->{'use_vichydro'},
25932581
'sim_year'=>$nl_flags->{'sim_year'}, 'use_fates'=>$nl_flags->{'use_fates'},
25942582
'neon'=>$nl_flags->{'neon'}, 'neonsite'=>$nl_flags->{'neonsite'},
2595-
'cmip_era'=>$nl_flags->{'cmip_era'},
25962583
'use_crop'=>$nl_flags->{'use_crop'} );
25972584
}
25982585
#
@@ -4397,11 +4384,9 @@ sub setup_logic_cropcal_streams {
43974384
if ( &value_is_true($cropcals_rx) or &value_is_true($cropcals_rx_adapt) ) {
43984385
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_fldFileName_swindow_start');
43994386
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_fldFileName_swindow_end');
4400-
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_fldfilename_cultivar_gdds',
4401-
'lnd_tuning_mode'=>$nl_flags->{'lnd_tuning_mode'}
4402-
);
4387+
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_fldfilename_cultivar_gdds');
44034388
if ( &value_is_true($cropcals_rx_adapt) ) {
4404-
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_fldFileName_gdd20_baseline', 'stream_gdd20_seasons'=>$stream_gdd20_seasons, 'lnd_tuning_mode'=>$nl_flags->{'lnd_tuning_mode'});
4389+
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_fldFileName_gdd20_baseline', 'stream_gdd20_seasons'=>$stream_gdd20_seasons);
44054390
}
44064391
}
44074392

@@ -5461,7 +5446,7 @@ sub add_default {
54615446
" Are defaults provided for this resolution and land mask?" );
54625447
} else {
54635448
$log->fatal_error("No default value found for $var.\n" .
5464-
" Are defaults provided in namelist_defaults for this resolution, land mask, and CLM_CMIP_ERA (set in env_run.xml)?");
5449+
" Are defaults provided for this resolution and land mask?");
54655450
}
54665451
}
54675452
else {

0 commit comments

Comments
 (0)