Skip to content

Commit bdc6722

Browse files
committed
Merge branch 'master' into btran
2 parents e3515eb + e0104b9 commit bdc6722

File tree

216 files changed

+5103
-2773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+5103
-2773
lines changed

.git-blame-ignore-revs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ran python directory through black python formatter
1+
# Reformat with black
22
d89c86e7776bbf7451860b60038b4725fe7a0560
33
b429b63824e09f82e95d2982f14311cbbd8e4a37
44
d229b5c6689efc4c2a6cef077515c4ccd5c18ff6
@@ -29,7 +29,6 @@ e096358c832ab292ddfd22dd5878826c7c788968
2929
475831f0fb0e31e97f630eac4e078c886558b61c
3030
fd5f177131d63d39e79a13918390bdfb642d781e
3131
a51816e0de380300b69db9fc3e2c7fa83b267b64
32-
# Ran SystemTests and python/ctsm through black python formatter
3332
5364ad66eaceb55dde2d3d598fe4ce37ac83a93c
3433
8056ae649c1b37f5e10aaaac79005d6e3a8b2380
3534
0bc3f00115d86d026a977918661c93779b3b19f9
@@ -59,3 +58,9 @@ bd535c710db78420b8e8b9d71d88d8339e899c59
5958
cf433215b58ba8776ec5edfb0b0d80c0836ed3a0
6059
16d57ff37859b34dab005693e3085d64e2bcd95a
6160
e8fc526e0d7818d45f171488c78392c4ff63902a
61+
30d2682a0893f5620bfe37ca6e2614fa60c99f51
62+
890b4633c5477dc074f79c69c40d650196337591
63+
1972cef6bba0d97169b30a53f540d56bcbd97281
64+
cdf40d265cc82775607a1bf25f5f527bacc97405
65+
251e389b361ba673b508e07d04ddcc06b2681989
66+
8ec50135eca1b99c8b903ecdaa1bd436644688bd

.github/workflows/black.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: git-fleximod test
2+
#
3+
# Test git-fleximod update and cleanliness
4+
# Based closely on workflow from CESM repo
5+
#
6+
on: [push, pull_request]
7+
8+
jobs:
9+
fleximod-test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
# oldest supported and latest supported
15+
python-version: ["3.7", "3.x"]
16+
steps:
17+
- id: checkout-CTSM
18+
uses: actions/checkout@v4
19+
- id: run-fleximod
20+
run: |
21+
$GITHUB_WORKSPACE/bin/git-fleximod update
22+
echo
23+
echo "Update complete, checking status"
24+
echo
25+
$GITHUB_WORKSPACE/bin/git-fleximod test
26+
- id: check-cleanliness
27+
run: |
28+
echo
29+
echo "Checking if git fleximod matches expected externals"
30+
echo
31+
git diff --exit-code
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Check Python formatting
2+
3+
on:
4+
push:
5+
paths:
6+
- 'python/**'
7+
- 'cime_config/SystemTests/**'
8+
- 'cime_config/buildlib/**'
9+
- 'cime_config/buildnml/**'
10+
pull_request:
11+
paths:
12+
- 'python/**'
13+
- 'cime_config/SystemTests/**'
14+
- 'cime_config/buildlib/**'
15+
- 'cime_config/buildnml/**'
16+
17+
jobs:
18+
lint-and-format-check:
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Checkout the code
22+
- uses: actions/checkout@v4
23+
24+
# Set up the conda environment
25+
- uses: conda-incubator/setup-miniconda@v3
26+
with:
27+
activate-environment: ctsm_pylib
28+
environment-file: python/conda_env_ctsm_py.yml
29+
channels: conda-forge
30+
auto-activate-base: false
31+
32+
# Run pylint check
33+
- name: Run pylint
34+
run: |
35+
cd python
36+
conda run -n ctsm_pylib make lint
37+
38+
# Run black check
39+
- name: Run black
40+
# Run this step even if previous step(s) failed
41+
if: success() || failure()
42+
run: |
43+
cd python
44+
conda run -n ctsm_pylib make black

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,11 @@ ctsm.input_data_list.previous
7575
/tools/mksurfdata_esmf/mksurfdata_in
7676
/tools/mksurfdata_esmf/surfdata_*.nc
7777
/tools/mksurfdata_esmf/landuse.timeseries_*.nc
78-
/tools/mksurfdata_esmf/mksurfdata_jobscript_multi.sh
79-
/tools/mksurfdata_esmf/mksurfdata_jobscript_single.sh
8078
/tools/mksurfdata_esmf/pio_iotype.txt
8179
/tools/mksurfdata_esmf/*.sh
8280
/tools/mksurfdata_esmf/tool_bld
8381
/tools/mksurfdata_esmf/pio_iotype.txt
82+
/tools/mksurfdata_esmf/mpibind*.log
8483

8584
# mksurfdata unit tests
8685
unit_test_build

.gitmodules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
[submodule "fates"]
2929
path = src/fates
3030
url = https://github.com/NGEET/fates
31-
fxtag = sci.1.81.1_api.38.0.0
31+
fxtag = sci.1.82.3_api.39.0.0
3232
fxrequired = AlwaysRequired
3333
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
34-
fxDONOTUSEurl = https://github.com/NCAR/fates-release
34+
fxDONOTUSEurl = https://github.com/NGEET/fates
3535

3636
[submodule "cism"]
3737
path = components/cism
@@ -92,15 +92,15 @@ fxDONOTUSEurl = https://github.com/ESCOMP/CMEPS.git
9292
[submodule "cdeps"]
9393
path = components/cdeps
9494
url = https://github.com/ESCOMP/CDEPS.git
95-
fxtag = cdeps1.0.61
95+
fxtag = cdeps1.0.70
9696
fxrequired = ToplevelRequired
9797
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
9898
fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS.git
9999

100100
[submodule "share"]
101101
path = share
102102
url = https://github.com/ESCOMP/CESM_share
103-
fxtag = share1.1.7
103+
fxtag = share1.1.8
104104
fxrequired = ToplevelRequired
105105
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
106106
fxDONOTUSEurl = https://github.com/ESCOMP/CESM_share

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $CTSMROOT/README 09/05/2024
22

33
Community Terrestrial Systems Model (CTSM) science version 5.3 series -- source code, tools,
44
offline-build and test scripts. This gives you everything you need
5-
to run CTSM with CESM with the CMEPS driver and CDEPS data models to provide CRU NCEP or GSWP3 forcing data in
5+
to run CTSM with CESM with the CMEPS driver and CDEPS data models to provide CRUJRA or GSWP3 forcing data (some older options also available) in
66
place of a modeled atmosphere.
77

88
CMEPS is the Community Mediator for Earth Prediction Systems. And CDEPS is the

bld/namelist_files/namelist_defaults_ctsm.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
3737

3838
<lnd_tuning_mode phys="clm4_5" >clm4_5_CRUv7</lnd_tuning_mode>
3939
<lnd_tuning_mode phys="clm5_0" >clm5_0_cam6.0</lnd_tuning_mode>
40-
<lnd_tuning_mode phys="clm6_0" >clm6_0_GSWP3v1</lnd_tuning_mode>
40+
<lnd_tuning_mode phys="clm6_0" >clm6_0_CRUJRA2024</lnd_tuning_mode>
4141

4242
<!-- Component name for output files (could depdend on the physics version) -->
4343
<compname >clm2</compname>
@@ -524,9 +524,9 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
524524
<!-- The default filenames are given relative to the root directory
525525
for the CLM2 data in the CESM distribution -->
526526
<!-- Plant function types (relative to {csmdata}) -->
527-
<paramfile phys="clm6_0" >lnd/clm2/paramdata/ctsm60_params_nfix.c241119.nc</paramfile>
528-
<paramfile phys="clm5_0" >lnd/clm2/paramdata/clm50_params_nfix.c241119.nc</paramfile>
529-
<paramfile phys="clm4_5" >lnd/clm2/paramdata/clm45_params_nfix.c241119.nc</paramfile>
527+
<paramfile phys="clm6_0" >lnd/clm2/paramdata/ctsm60_params.c250311.nc</paramfile>
528+
<paramfile phys="clm5_0" >lnd/clm2/paramdata/clm50_params.c250311.nc</paramfile>
529+
<paramfile phys="clm4_5" >lnd/clm2/paramdata/clm45_params.c250311.nc</paramfile>
530530

531531
<!-- ================================================================== -->
532532
<!-- FATES default parameter file -->
@@ -848,8 +848,11 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
848848
</init_interp_attributes>
849849

850850
<!-- 1850 for CLM6.0 -->
851+
<init_interp_attributes sim_year="1850" use_cndv=".false." use_fates=".false." lnd_tuning_mode="clm6_0_GSWP3v1"
852+
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.false. glc_nex=10 do_transient_pfts=.false. phys=clm6_0 use_excess_ice=.true.
853+
</init_interp_attributes>
851854
<init_interp_attributes sim_year="1850" use_cndv=".false." use_fates=".false." phys="clm6_0"
852-
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.false. glc_nex=10 do_transient_pfts=.false. lnd_tuning_mode=clm6_0_GSWP3v1 use_excess_ice=.true.
855+
>hgrid=0.9x1.25 maxpft=79 mask=gx1v7 use_cn=.true. use_crop=.true. irrigate=.false. glc_nex=10 do_transient_pfts=.false. lnd_tuning_mode=clm6_0_CRUJRA2024 use_excess_ice=.true.
853856
</init_interp_attributes>
854857

855858
<init_interp_attributes sim_year="1850" use_cndv=".false." use_fates=".false." phys="clm6_0"
@@ -1267,7 +1270,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
12671270
>lnd/clm2/initdata_map/clmi.I1850Clm50SpCru.1706-01-01.0.9x1.25_gx1v7_simyr1850_c200806.nc
12681271
</finidat>
12691272

1270-
<!-- CTSM6_0 - use clm6_0_GSWP3v1 BgcCrop at f09 for all clm6_0 options -->
1273+
<!-- CTSM6_0 - use clm6_0_CRUJRA2024 BgcCrop at f09 for all clm6_0 options -->
12711274
<finidat hgrid="0.9x1.25" mask="gx1v7" use_cn=".true." use_cndv=".false." use_fates=".false."
12721275
ic_ymd="18500101" sim_year="1850" do_transient_pfts=".false." use_excess_ice=".true."
12731276
ic_tod="0" glc_nec="10" use_crop=".true." irrigate=".false."
@@ -2363,6 +2366,8 @@ lnd/clm2/surfdata_esmf/NEON/ctsm5.3.0/surfdata_1x1_NEON_TOOL_hist_2000_78pfts_c2
23632366
>lnd/clm2/dustemisdata/dst_source2x2tunedcam6-2x2-forCLM_cdf5_c230312.nc</stream_fldfilename_zendersoilerod>
23642367
<stream_fldfilename_zendersoilerod dust_emis_method="Zender_2003" zender_soil_erod_source="lnd" lnd_tuning_mode="clm6_0_GSWP3v1"
23652368
>lnd/clm2/dustemisdata/dst_source2x2tunedcam6-2x2-forCLM_cdf5_c230312.nc</stream_fldfilename_zendersoilerod>
2369+
<stream_fldfilename_zendersoilerod dust_emis_method="Zender_2003" zender_soil_erod_source="lnd" lnd_tuning_mode="clm6_0_CRUJRA2024"
2370+
>lnd/clm2/dustemisdata/dst_source2x2tunedcam6-2x2-forCLM_cdf5_c230312.nc</stream_fldfilename_zendersoilerod>
23662371

23672372
<stream_meshfile_zendersoilerod dust_emis_method="Zender_2003" zender_soil_erod_source="lnd"
23682373
>lnd/clm2/dustemisdata/dust_2x2_ESMFmesh_cdf5_c230730.nc</stream_meshfile_zendersoilerod>

0 commit comments

Comments
 (0)