Skip to content

Commit

Permalink
Merge branch 'master2' into 1537-crop-date-outputs3
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Mar 14, 2022
2 parents 3aa7d65 + bf958ac commit d810b0f
Show file tree
Hide file tree
Showing 104 changed files with 5,752 additions and 2,960 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# directories checked out by manage_externals, and other files created
# by manage_externals
manage_externals.log
ccs_config
/src/fates/
/tools/site_and_regional/PTCLM/
/cime/
/components/
/libraries/
Expand Down
19 changes: 13 additions & 6 deletions Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ required = True
local_path = components/cism
protocol = git
repo_url = https://github.com/ESCOMP/CISM-wrapper
tag = cismwrap_2_1_93
tag = cismwrap_2_1_95
externals = Externals_CISM.cfg
required = True

Expand All @@ -33,30 +33,37 @@ repo_url = https://github.com/nmizukami/mizuRoute
hash = 34723c2
required = True

[ccs_config]
tag = ccs_config_cesm0.0.5
protocol = git
repo_url = https://github.com/ESMCI/ccs_config_cesm.git
local_path = ccs_config
required = True

[cime]
local_path = cime
protocol = git
repo_url = https://github.com/ESMCI/cime
tag = branch_tags/cime6.0.12_a01
tag = cime6.0.13
required = True

[cmeps]
tag = cmeps0.13.43
tag = cmeps0.13.47
protocol = git
repo_url = https://github.com/ESCOMP/CMEPS.git
local_path = components/cmeps
required = True

[cdeps]
tag = cdeps0.12.34
tag = cdeps0.12.35
protocol = git
repo_url = https://github.com/ESCOMP/CDEPS.git
local_path = components/cdeps
externals = Externals_CDEPS.cfg
required = True

[cpl7]
tag = cpl7.0.7
tag = cpl7.0.12
protocol = git
repo_url = https://github.com/ESCOMP/CESM_CPL7andDataComps
local_path = components/cpl7
Expand All @@ -77,7 +84,7 @@ local_path = libraries/mct
required = True

[parallelio]
tag = pio2_5_4
tag = pio2_5_5
protocol = git
repo_url = https://github.com/NCAR/ParallelIO
local_path = libraries/parallelio
Expand Down
2 changes: 1 addition & 1 deletion Externals_CLM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
local_path = src/fates
protocol = git
repo_url = https://github.com/NGEET/fates
tag = sci.1.53.0_api.21.0.0
tag = sci.1.54.0_api.22.0.0
required = True

[externals_description]
Expand Down
9 changes: 8 additions & 1 deletion bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,14 @@ sub setup_logic_surface_dataset {
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, $var,
'hgrid'=>$nl_flags->{'res'}, 'ssp_rcp'=>$nl_flags->{'ssp_rcp'}, 'use_vichydro'=>$nl_flags->{'use_vichydro'},
'sim_year'=>$nl_flags->{'sim_year'}, 'irrigate'=>$nl_flags->{'irrigate'},
'use_crop'=>$nl_flags->{'use_crop'}, 'glc_nec'=>$nl_flags->{'glc_nec'});
'use_crop'=>$nl_flags->{'use_crop'}, 'glc_nec'=>$nl_flags->{'glc_nec'}, 'nofail'=>1 );
if ( ! defined($nl->get_value($var) ) ) {
$log->verbose_message( "Exact match of $var NOT found, searching for version with irrigate true" );
}
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, $var,
'hgrid'=>$nl_flags->{'res'}, 'ssp_rcp'=>$nl_flags->{'ssp_rcp'}, 'use_vichydro'=>$nl_flags->{'use_vichydro'},
'sim_year'=>$nl_flags->{'sim_year'}, 'irrigate'=>".true.",
'use_crop'=>$nl_flags->{'use_crop'}, 'glc_nec'=>$nl_flags->{'glc_nec'} );
}
}

Expand Down
21 changes: 10 additions & 11 deletions bld/namelist_files/namelist_defaults_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,13 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
<atm_c14_filename use_c14=".true." use_c14_bombspike =".true." ssp_rcp="SSP5-8.5" >lnd/clm2/isotopes/atm_delta_C14_CMIP6_SSP5B_3x1_global_1850-2100_yearly_c181209.nc</atm_c14_filename>

<!-- Irrigation default -->
<irrigate use_crop=".true." phys="clm5_1" use_cndv=".false." sim_year_range="1850-2100">.true.</irrigate>
<irrigate use_crop=".true." phys="clm5_1" use_cndv=".true." sim_year_range="1850-2100">.false.</irrigate>
<irrigate use_crop=".true." phys="clm5_0" use_cndv=".false." sim_year_range="1850-2100">.true.</irrigate>
<irrigate use_crop=".true." phys="clm5_0" use_cndv=".true." sim_year_range="1850-2100">.false.</irrigate>
<irrigate use_crop=".true." phys="clm4_5" sim_year_range="1850-2100">.false.</irrigate>
<irrigate phys="clm5_1" use_cndv=".false." sim_year_range="1850-2100">.true.</irrigate>
<irrigate phys="clm5_1" use_cndv=".true." sim_year_range="1850-2100">.false.</irrigate>
<irrigate phys="clm5_0" use_cndv=".false." sim_year_range="1850-2100">.true.</irrigate>
<irrigate phys="clm5_0" use_cndv=".true." sim_year_range="1850-2100">.false.</irrigate>
<irrigate phys="clm4_5" sim_year_range="1850-2100">.false.</irrigate>

<irrigate use_crop=".true." >.false.</irrigate>
<irrigate use_crop=".false.">.true.</irrigate>
<irrigate >.false.</irrigate>


<!-- Saturation excess runoff for crops -->
Expand Down Expand Up @@ -1487,7 +1486,7 @@ lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_ne0np4.CONUS.ne30x8_hist_78pfts
<stream_fldfilename_ndep phys="clm5_1" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP2-4.5"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP2-4.5-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
<stream_fldfilename_ndep phys="clm5_1" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP3-7.0"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP3-7.0-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
>lnd/clm2/ndepdata/fndep_clm_SSP370_b.e21.BWSSP370cmip6.f09_g17.CMIP6-SSP3-7.0-WACCM.002_1849-2101_monthly_0.9x1.25_c211216.nc</stream_fldfilename_ndep>

<stream_fldfilename_ndep phys="clm5_0" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP5-8.5"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP5-8.5-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
Expand All @@ -1496,16 +1495,16 @@ lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_ne0np4.CONUS.ne30x8_hist_78pfts
<stream_fldfilename_ndep phys="clm5_0" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP2-4.5"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP2-4.5-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
<stream_fldfilename_ndep phys="clm5_0" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP3-7.0"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP3-7.0-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
>lnd/clm2/ndepdata/fndep_clm_SSP370_b.e21.BWSSP370cmip6.f09_g17.CMIP6-SSP3-7.0-WACCM.002_1849-2101_monthly_0.9x1.25_c211216.nc</stream_fldfilename_ndep>

<stream_fldfilename_ndep phys="clm4_5" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP5-8.5"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP5-8.5-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
<stream_fldfilename_ndep phys="clm4_5" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP1-2.6"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP1-2.6-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
<stream_fldfilename_ndep phys="clm4_5" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP2-4.5"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP5-8.5-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP2-4.5-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
<stream_fldfilename_ndep phys="clm4_5" hgrid="0.9x1.25" use_cn=".true." ssp_rcp="SSP3-7.0"
>lnd/clm2/ndepdata/fndep_clm_f09_g17.CMIP6-SSP3-7.0-WACCM_1849-2101_monthly_c191007.nc</stream_fldfilename_ndep>
>lnd/clm2/ndepdata/fndep_clm_SSP370_b.e21.BWSSP370cmip6.f09_g17.CMIP6-SSP3-7.0-WACCM.002_1849-2101_monthly_0.9x1.25_c211216.nc</stream_fldfilename_ndep>

<ndep_taxmode phys="clm5_1" use_cn=".true.">cycle</ndep_taxmode>
<ndep_varlist phys="clm5_1" use_cn=".true.">NDEP_month</ndep_varlist>
Expand Down
30 changes: 21 additions & 9 deletions cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,18 @@
This is an advanced flag and should only be used by expert users.</desc>
</entry>

<entry id="CLM_USRDAT_DIR">
<type>char</type>
<default_value>UNSET</default_value>
<group>run_component_ctsm</group>
<file>env_run.xml</file>
<desc>Directory name for user-created surface, landuse, and datm datasets.
This is used as an argument in user_mods namelists (e.g. user_nl_clm,
user_nl_datm_streams) generated with the subset_data script. Users
should modify this variable (in shell_commands or elsewhere) to set the
location of user-created data. The default value is UNSET.</desc>
</entry>

<entry id="CLM_FORCE_COLDSTART">
<type>char</type>
<valid_values>on,off</valid_values>
Expand Down Expand Up @@ -271,19 +283,19 @@
<desc>User mods to apply to specific compset matches. </desc>
</entry>

<entry id="NEONSITE">
<entry id="NEONSITE">
<type>char</type>
<valid_values>
<valid_values>
ABBY,BLAN,CPER,DEJU,GRSM,HEAL,KONA,LENO,NIWO,ONAQ,PUUM,SERC,SRER,TALL,TREE,WOOD,
BARR,BONA,DCFS,DELA,GUAN,JERC,KONZ,MLBS,NOGP,ORNL,RMNP,SJER,STEI,TEAK,UKFS,WREF,
BART,CLBJ,DSNY,HARV,JORN,LAJA,MOAB,OAES,OSBS,SCBI,SOAP,STER,TOOL,UNDE,YELL
</valid_values>
<default_value/>
<group>run_component_ctsm</group>
<file>env_run.xml</file>
<desc>Name of site for NEON tower data</desc>
</entry>
</valid_values>
<default_value/>
<group>run_component_ctsm</group>
<file>env_run.xml</file>
<desc>Name of site for NEON tower data</desc>
</entry>

<help>
=========================================
CLM naming conventions
Expand Down
4 changes: 4 additions & 0 deletions cime_config/config_compsets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@
<alias>I2000Clm50FatesRs</alias>
<lname>2000_DATM%GSWP3v1_CLM50%FATES_SICE_SOCN_SROF_SGLC_SWAV</lname>
</compset>
<compset>
<alias>I2000Clm51FatesRs</alias>
<lname>2000_DATM%GSWP3v1_CLM51%FATES_SICE_SOCN_SROF_SGLC_SWAV</lname>
</compset>

<compset>
<alias>I1850Clm50Bgc</alias>
Expand Down
Loading

0 comments on commit d810b0f

Please sign in to comment.