Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
b5e7aeb
add burn window subroutine
XiulinGao Mar 3, 2025
f8685e5
added decision tree to decide which fire happens
XiulinGao Mar 3, 2025
516e084
add rxfire burnt area and post-fire mortality
XiulinGao Mar 3, 2025
954d6cd
adding tools-fates-xarray as submodule
glemieux Mar 4, 2025
08302ca
cohort rxfire mortality
XiulinGao Mar 5, 2025
fae8b9c
patch level dynamic due to rxfire
XiulinGao Mar 5, 2025
335874f
add rxfire relevant variable to cohort
XiulinGao Mar 5, 2025
f6f648a
add patch level prescribed fire var
XiulinGao Mar 5, 2025
35e0c09
add prescribed fire parameters to SFparams
XiulinGao Mar 5, 2025
0ce009f
add rxfire relevant params in param file
XiulinGao Mar 5, 2025
521b224
add prescribed fire mortality and other var for site level tracking
XiulinGao Mar 5, 2025
9b78204
add rxfire switch
XiulinGao Mar 5, 2025
eb1b634
add relevant var for tracking site dynamics due to rxfire
XiulinGao Mar 5, 2025
2fc1acd
add prescribed fire relevant history var
XiulinGao Mar 6, 2025
eccc0ed
add prescribed fire relevant to restart hist
XiulinGao Mar 6, 2025
ddc5bbb
bug fix
XiulinGao Mar 6, 2025
28a1f5a
fix typo
XiulinGao Mar 6, 2025
de9bff6
typo
XiulinGao Mar 6, 2025
1c17f3d
add rxfire burnt fraction to patch fusion process
XiulinGao Mar 6, 2025
6718800
PR for dynamic L2FR
sharma-bharat Mar 7, 2025
c47a172
update prescribed fire burnt area unit in param file
XiulinGao Mar 13, 2025
e1a4dca
hist var dimension index bug fix
XiulinGao Mar 13, 2025
dffd580
merge conflicts fix
XiulinGao Mar 13, 2025
6d1e27d
fix error in calculating burn window for his var
XiulinGao Mar 13, 2025
f1d1d48
update burn window every time
XiulinGao Mar 14, 2025
383c1c1
make min frac burnable to be user parameter
XiulinGao Mar 15, 2025
e100d1e
track Rx and Non-Rx fire separately with sum of the two included too
XiulinGao Mar 20, 2025
c82e45c
rename variables for rx and wildfire
XiulinGao Mar 20, 2025
e16f159
output wildfire and rxfire variables separately with variables for su…
XiulinGao Mar 20, 2025
86f17d3
correct prescribed fire typo in param file
XiulinGao Mar 20, 2025
d79e39c
add in-code documentation for explaining how burn window is checked
XiulinGao Mar 20, 2025
9a87c8b
fix introduced bug during renaming
XiulinGao Mar 20, 2025
c8828ac
fix typo
XiulinGao Mar 20, 2025
dadc679
rename wildfire and rxfire vairables
XiulinGao Mar 20, 2025
157c5f6
rename patch level fire occurence and burn frac variables
XiulinGao Mar 20, 2025
278ea3e
correct variable name
XiulinGao Mar 20, 2025
2ec7a1b
add variables to represent the sum of rx and wildfire
XiulinGao Mar 20, 2025
7ea4ad8
update logic to reduce code duplication
glemieux Mar 24, 2025
12bbcdd
use fates copy of HLM current year for logic check
glemieux Mar 24, 2025
ff06fd9
add flag for carbon only period of ELM AD
glemieux Mar 24, 2025
50c869d
some suggestions
Mar 25, 2025
0ec3152
Merge pull request #2 from adrifoster/REVIEW_1360
XiulinGao Mar 26, 2025
5e634ae
Revert "add flag for carbon only period of ELM AD"
glemieux Mar 27, 2025
4e4bf05
added logic so that seeds only fall on patches with a given nocomp PFT
ckoven Mar 27, 2025
3f1f177
fixed typo on nocomp seed logic
ckoven Mar 27, 2025
e69c2f4
add interface to receive supplemental nutrient status from HLM
glemieux Mar 27, 2025
97cb3bb
update check to determine if nutrients are supplemented
glemieux Mar 27, 2025
917ff12
update fire mortality var name for wildfire and prescribed fire
XiulinGao Mar 31, 2025
96de0b6
cleab up some white space
XiulinGao Mar 31, 2025
23b86c0
merge change
XiulinGao Mar 31, 2025
03bbe72
more white space cleaning
XiulinGao Mar 31, 2025
9423613
added grazing and burn fluxes as bc_out variables so that HLMs can ca…
ckoven Mar 7, 2025
1517420
fixes on new bc_out vars
ckoven Mar 7, 2025
fe24273
added carbon stock vars to bc_out data structure
ckoven Mar 20, 2025
ecf2afe
unit fixes etc on NBP and TOTECOSYSC calcs
ckoven Apr 4, 2025
4c75867
Merge branch 'main' into nclmax-3
rgknox Apr 10, 2025
b73443f
Fixes to rad_error to accomodate zenith and do-albedo consistency
rgknox Apr 24, 2025
32aad89
Merge branch 'main' into trivial-zenith-defaults-raderrorfix
rgknox Apr 24, 2025
4bbe49e
initializing radiation error diagnostics as ignore instead of zero.
rgknox May 6, 2025
3072e4b
change name of new bc out flux subroutine for more detail
glemieux May 15, 2025
c7cda2e
add missing use statments for uptake
glemieux May 15, 2025
2284f9b
change crop PFT to back to cool C3 grass (PFT 13 now)
ckoven May 21, 2025
26e2586
remote bc_in argument from FuseCohortHydraulics
glemieux May 24, 2025
93f9c31
remove bc_in argument from UpdateSizeDepPlanyHydProps
glemieux May 24, 2025
2ee65cd
remove unused bc_in from canopy_summarization
glemieux May 27, 2025
cd24a49
changed external seed rain to only fall on a given PFT's nocomp patch
ckoven May 23, 2025
e43e22f
Revert "remove unused bc_in from canopy_summarization"
glemieux May 29, 2025
deb8994
remove unused bc_in arguments for history procedures
glemieux May 29, 2025
2546661
remove unused bc_in arguments from seed related procedures
glemieux May 29, 2025
bb3e552
remove unused bc_in from recruitwuptake procedure
glemieux May 29, 2025
bd63aa4
remove unused bc_in from damage and litter flux procedure
glemieux May 29, 2025
9c90594
remove unused bc_out in history sub procedures
glemieux Jun 4, 2025
8ee8e2d
NBP updates
rgknox Jun 5, 2025
c489196
remove unused bc_out argument for FillDrainRhizShells
glemieux Jun 5, 2025
a47a95a
remove unused bc_out in RecruitWaterStorage
glemieux Jun 5, 2025
4675414
update recruitwaterstorage call
glemieux Jun 5, 2025
536d952
pull nocomp_seed_scaling default out of check to avoid some compiler …
glemieux Jun 5, 2025
7929e6e
remove homogenize_seed_pfts option
glemieux Jun 6, 2025
169f08c
Remove deprecated quadratic smoothing parameters
glemieux Jun 6, 2025
b9ab13a
Changed burn-flux bc_out to use the already existing mass_balance var…
rgknox Jun 9, 2025
a378068
declared site_cmass pointer for burn flux tracking
rgknox Jun 9, 2025
ce4f335
updated bcout via herbivory to use site_mass
rgknox Jun 9, 2025
bf2e0c3
Merge tag 'sci.1.84.1_api.40.0.0' into rxfire_on_spitfire_refactor
glemieux Jun 9, 2025
9778b2b
minor reorder of calculation to highlight conversion
glemieux Jun 9, 2025
baf6aa7
Merge tag 'sci.1.84.1_api.40.0.0' into nocomp_seeds
glemieux Jun 9, 2025
ed96965
Merge remote-tracking branch 'ckoven/seed_rain_nocomp' into nocomp_seeds
glemieux Jun 9, 2025
affa704
update external seed supply to work with seed localization switch
glemieux Jun 9, 2025
39bafa3
fix to event based logging harvest
JessicaNeedham Jun 10, 2025
bd2c170
fix breaking changes
adrifoster Jun 11, 2025
1eb49d8
fix issues with cmakelists
adrifoster Jun 11, 2025
5374f39
final fixes
adrifoster Jun 11, 2025
9f5f73f
update parameter name and description
XiulinGao Jun 12, 2025
37a61ab
run_unit_testing.py: Enable running from anywhere.
samsrabin Jun 12, 2025
7c61be7
run_unit_tests.py: Fail if config_file doesn't exist or is a dir.
samsrabin Jun 12, 2025
f35b05f
run_unit_tests.py: Add optional --config-file argument.
samsrabin Jun 12, 2025
6c6e967
fix hlm_regen use
Jun 13, 2025
38fefa7
refactor canopy promotion/demotion for simplicity, stability and code…
rgknox Jun 13, 2025
0e3bdd4
small fixes to canopy structure
rgknox Jun 13, 2025
527fbee
added argument to sorting that turns it into a check instead of an ex…
rgknox Jun 13, 2025
fa8a0c3
resolved conflict on nclmax
rgknox Jun 13, 2025
6cc3141
Functional test fix: DATM file now found when using -r.
samsrabin Jun 13, 2025
a2c2a2d
Functional tests now work if called from somewhere other than testing/.
samsrabin Jun 13, 2025
c0af355
Functional tests: Simplify an error.
samsrabin Jun 13, 2025
08c1dbc
run_functional_tests.py: Add optional --config-file argument.
samsrabin Jun 13, 2025
a80dd9e
Functional tests: Error if Fortran executable fails.
samsrabin Jun 13, 2025
d34666c
Functional tests: Fortran now errors instead of just stopping.
samsrabin Jun 13, 2025
3b47323
Functional tests: Download datm_file if needed. KLUDGE!
samsrabin Jun 13, 2025
d70ccca
minor fixes and corrections to promotion/demotion refactor
rgknox Jun 14, 2025
cbca268
removed termination during promotion/demotion
rgknox Jun 16, 2025
7dbfcca
Rename is_wild_fire() to fire_has_ignitions_and_intensity().
samsrabin Jun 16, 2025
6d23025
fire_has_ignitions_and_intensity(): Remove unused rx/not distinction.
samsrabin Jun 16, 2025
e8de4c7
fire_has_ignitions_and_intensity(): Compile fix.
samsrabin Jun 16, 2025
8a23189
Delete fire_has_ignitions_and_intensity().
samsrabin Jun 16, 2025
e14c0be
Merge pull request #4 from samsrabin/rxfire_on_spitfire_refactor-ssr
XiulinGao Jun 16, 2025
2e6521f
add ignition check for wildfire occurence
XiulinGao Jun 17, 2025
a0b3984
Merge branch 'main' into pr/adrifoster/1423
glemieux Jun 18, 2025
ea26256
fixing duplicates that came up with main merge
glemieux Jun 18, 2025
5ab1ef1
Merge pull request #1423 from adrifoster/fix_testing
glemieux Jun 18, 2025
4c334ac
Move functional test plotting functions to new module.
samsrabin Jun 20, 2025
c65df33
Add FunctionalTestWithDrivers to handle fuel test.
samsrabin Jun 21, 2025
5e124f4
Move config file check to check_arg_validity().
samsrabin Jun 21, 2025
7404a9d
Simplify FunctionalTestWithDrivers.__init__().
samsrabin Jun 22, 2025
620abe9
FunctionalClass: Revert unused changes.
samsrabin Jun 22, 2025
8f29c5b
Merge tag 'sci.1.85.2_api.40.0.0' into rxfire_on_spitfire_refactor
glemieux Jun 23, 2025
5a85b3c
Merge tag 'sci.1.85.2_api.40.0.0' into nocomp_seeds
glemieux Jun 23, 2025
cc8bd8b
removed commented fire_closs terms
rgknox Jun 24, 2025
b5d17b4
Merge pull request #1371 from ckoven/nocomp_seeds
glemieux Jun 24, 2025
63e3358
Merge pull request #28 from rgknox/nbp_totecosysc
ckoven Jun 25, 2025
bfb8534
Update PULL_REQUEST_TEMPLATE with sp mode b4b check
glemieux Jun 26, 2025
a461955
Merge pull request #1430 from NGEET/glemieux-patch-1
glemieux Jun 27, 2025
47a4e80
update parameter file cdl and comment in patch file
glemieux Jun 30, 2025
5e8f63c
removing unnecessary bc_out calls
glemieux Jun 30, 2025
4f5e4ef
remove unnecessary bc out from predisturbancelitterfluxes
glemieux Jun 30, 2025
5467f29
add and track netcdf files for test data
glemieux Jun 30, 2025
8caf366
Remove Python download of datm_file.
samsrabin Jul 1, 2025
e0037fa
Remove datm_file_url.
samsrabin Jul 1, 2025
dc466d5
removed currentSite%resources_management%trunk_product_site variable …
ckoven Jul 1, 2025
527f9ad
hotfix: add missing right paranthesis
glemieux Jul 2, 2025
230446e
Merge pull request #1436 from glemieux/hotfix-missing-paran
glemieux Jul 2, 2025
768e345
Fixes to vegc canlayer diagnostics
rgknox Jul 8, 2025
a18e716
update reference to competitive excl param in comment
glemieux Jul 14, 2025
fb61d8b
update check_order to be optional with the default value as false
glemieux Jul 14, 2025
0cc0fde
update sortcohorts calls to remove optional check_order argument to d…
glemieux Jul 14, 2025
56a72e0
Merge tag 'sci.1.85.4_api.40.0.0' into nbp_totecosysc
glemieux Jul 14, 2025
9b946e1
add missing fates constants usage and remove unused bc_out argument
glemieux Jul 14, 2025
d118fe4
Merge pull request #1382 from ckoven/nbp_totecosysc
glemieux Jul 15, 2025
fa91164
Merge tag 'sci.1.86.0_api.40.0.0' into bcinout-argument-old
glemieux Jul 15, 2025
1c99152
Merge pull request #1414 from glemieux/bcinout-argument-old
glemieux Jul 15, 2025
d58f4a6
Merge tag 'sci.1.86.1_api.40.0.0' into vegc-canlayer
glemieux Jul 15, 2025
27c11f8
Merge pull request #1438 from rgknox/vegc-canlayer
glemieux Jul 16, 2025
9311536
Merge tag 'sci.1.86.2_api.40.0.0' into remove_trunk_product_var_v2
glemieux Jul 17, 2025
eeeba63
remove trunk product associate statment and index
glemieux Jul 17, 2025
9fbb2d8
Merge pull request #1433 from ckoven/remove_trunk_product_var_v2
glemieux Jul 17, 2025
49cd7d0
Merge pull request #1426 from samsrabin/fix_testing_ssr
glemieux Jul 21, 2025
33258c0
Merge resolutions on cnp-l2fr
rgknox Jul 22, 2025
b8c6820
merge resolution between gregs fixes and l2fr-suppl
rgknox Jul 22, 2025
d98681f
cleaning up of supplementation effects on l2fr
rgknox Jul 22, 2025
17fdb70
removed some comments and unnecessary local copy of cohort variable
rgknox Jul 22, 2025
c5d9081
various fixes associated with l2fr-cnp
rgknox Jul 24, 2025
232ac3b
Merge tag 'sci.1.86.3_api.40.0.0' into parameter-deprecated-quadsmooth
glemieux Jul 28, 2025
d90a1e7
Merge remote-tracking branch 'glemieux/parameter-deprecated-quadsmoot…
glemieux Jul 29, 2025
3180fba
Merge tag 'sci.1.86.3_api.40.0.0' into croppft
glemieux Jul 29, 2025
6ff9b12
Merge remote-tracking branch 'ckoven/croppft' into api40.1-super-pr
glemieux Jul 30, 2025
5acefc3
Merge tag 'sci.1.86.3_api.40.0.0' into rxfire_on_spitfire_refactor
glemieux Jul 31, 2025
5fa7c33
correct rxfire module and function definition statements
glemieux Aug 1, 2025
100c4be
remove defunct is_wildfire
glemieux Aug 1, 2025
136c7a7
correct missed fracarea renaming during sci.1.84.1_api.40.0.0 merge d…
glemieux Aug 4, 2025
77c621f
remote leftover merge deconflict artefact
glemieux Aug 4, 2025
4637bba
convert parameter file switch to hlm namelist option
glemieux Aug 5, 2025
f10139d
build fixes
glemieux Aug 5, 2025
c99b998
correct minor variable name typo
glemieux Aug 5, 2025
1664bbc
correct argument name typo
glemieux Aug 5, 2025
195b355
add subroutine to replace repeated calls to update gpp_site and ar_site
glemieux Aug 7, 2025
a517c97
create restart update subroutine to call update for gpp_site and ar_site
glemieux Aug 7, 2025
8073789
Merge pull request #14 from glemieux/check-order-optional
rgknox Aug 11, 2025
5b14b2f
wrapped sort checker behind a debug flag
rgknox Aug 11, 2025
1a5304b
Update biogeochem/EDCanopyStructureMod.F90
rgknox Aug 11, 2025
a37d8e7
fixed error message to report error correctly (bias instead of abs)
rgknox Aug 11, 2025
d3b3f20
Merge branch 'nclmax-3-sortfixes' of github.com:rgknox/fates into ncl…
rgknox Aug 11, 2025
ead5055
Updated trivial scenarios for prom/dem with probability case
rgknox Aug 11, 2025
21a709f
add check to avoid new cohorts during restart
glemieux Aug 12, 2025
fd7d659
Merge remote-tracking branch 'xiulin/rxfire_on_spitfire_refactor' int…
glemieux Aug 13, 2025
aaae441
simplify UpdateGPPAR for legibility
glemieux Aug 13, 2025
7a1db4f
rename and update patch parameter file for this pr
glemieux Aug 13, 2025
71b593d
remove old patch parameter file
glemieux Aug 13, 2025
f8c0639
add dcode for scalars assuming no other non-scalar entry has come fir…
glemieux Aug 15, 2025
2e1553d
reorder the default file per UpdateParamAPI
glemieux Aug 15, 2025
fb6eb12
Updated text on error checking during promotion/demotion
rgknox Aug 15, 2025
59c46cb
fixed pointer to c_area in dem/prom
rgknox Aug 15, 2025
1afb393
Merge pull request #1444 from glemieux/api40.1-super-pr
glemieux Aug 15, 2025
1670ba6
merge resolution
rgknox Aug 19, 2025
ba3fd1d
fixed zstar history
rgknox Aug 19, 2025
315e0d6
Merge pull request #1424 from rgknox/nclmax-3-sortfixes
glemieux Aug 26, 2025
589a003
Merge tag 'sci.1.87.0_api.41.0.0' into hist-dense1-fixes-api40
glemieux Sep 4, 2025
c9d7750
Merge tag 'sci.1.87.1_api.41.0.0' into hist-dense1-fixes-api40
glemieux Sep 4, 2025
fb5e6de
correct competitive exclusion parameter reference
glemieux Sep 5, 2025
c1dfc21
Merge pull request #1456 from rgknox/hist-dense1-fixes-api40
glemieux Sep 5, 2025
0d7c607
changing gpp and ar output boundary flux to use the massbalance data …
rgknox Sep 10, 2025
58e0d67
bug fixes for changes to nbp bc_out variables
rgknox Sep 11, 2025
a3ed667
Merge pull request #34 from rgknox/nbp-gpp-restart-fix
glemieux Sep 11, 2025
f8d9e2b
Updated some descriptive text
rgknox Sep 12, 2025
8716959
Merge branch 'nbp-gpp-restart-fix' of github.com:glemieux/fates into …
rgknox Sep 12, 2025
659b51b
Merge branch 'main' into nbp-gpp-restart-fix
rgknox Sep 14, 2025
638ae67
zeroing cmass%gpp for mass checking on restart
rgknox Sep 14, 2025
f847ef7
Merge branch 'nbp-gpp-restart-fix' of github.com:rgknox/fates into nb…
rgknox Sep 14, 2025
461d96f
update the README link to the compatibility table
glemieux Sep 16, 2025
a0a1f03
update the other readme link to hlm compat table link
glemieux Sep 16, 2025
2f6b937
updating old wiki references to point to the user's guide
glemieux Sep 16, 2025
27a5b40
Merge pull request #1467 from glemieux/readme-compat-update
glemieux Sep 16, 2025
f6355b1
Merge pull request #1448 from glemieux/nbp-gpp-restart-fix
glemieux Sep 22, 2025
0ba914c
Updated logic on restarts to assume newly calculated stocks should ma…
rgknox Sep 23, 2025
a7c739a
More consistency in site level mass flux accounting and restarting
rgknox Sep 23, 2025
2c9a15e
removed unecessary usage of fluxdiags%npp
rgknox Sep 23, 2025
f7365ba
fix calculation of the distance between model grid and inventory site…
XiulinGao Sep 30, 2025
78a9cec
correct wind speed unit for Rxfire burn window and NI
XiulinGao Sep 30, 2025
753e301
using great circle for calculating site/inventory adjacency, added un…
rgknox Oct 10, 2025
d3fbd92
Merge pull request #5 from rgknox/Fix-inventory-init-grid-matching
XiulinGao Oct 10, 2025
b4a1a10
merge resolution
rgknox Oct 10, 2025
9a341f3
merge resolution rad error fixes
rgknox Oct 10, 2025
8fa0c36
small fix to ignore val global
rgknox Oct 12, 2025
7ba3727
small fixes for rad_error and parprofile refactors
rgknox Oct 12, 2025
906d03b
Merge pull request #1397 from rgknox/trivial-zenith-defaults-raderrorfix
rgknox Oct 13, 2025
a5c3491
Merge pull request #1422 from JessicaNeedham/logging-mortality-fix
rgknox Oct 13, 2025
b15f8bd
Merge remote-tracking branch 'origin/main' into tools-xarray
glemieux Oct 14, 2025
9c87850
update xarray submodule name
glemieux Oct 14, 2025
e8227b2
update xarray name and use latest hash
glemieux Oct 14, 2025
a338d6a
update gitmodules with donotuseurl
glemieux Oct 14, 2025
3b58472
Merge pull request #1349 from glemieux/tools-xarray
glemieux Oct 14, 2025
22a5839
Merge branch 'main' into cnp-l2fr-conly
rgknox Oct 21, 2025
edaf2a4
update secondary young frac calculation
Oct 27, 2025
8c5a24c
changed l2fr fusion to only happen during CNP runs (for b4b)
rgknox Oct 27, 2025
5bb36cb
Merge pull request #1443 from rgknox/cnp-l2fr-conly
rgknox Oct 29, 2025
75a465c
Merge pull request #1495 from JessicaNeedham/jfn-ngeet-harvestbugfix
glemieux Oct 30, 2025
283bc8e
Update main/ChecksBalancesMod.F90
glemieux Nov 3, 2025
5638bd5
Merge tag 'sci.1.88.1_api.42.0.0' into Fix-inventory-init-grid-matching
glemieux Nov 17, 2025
0d2f4a2
Merge pull request #1475 from XiulinGao/Fix-inventory-init-grid-matching
glemieux Nov 19, 2025
546326c
Merge tag 'sci.1.88.2_api.42.0.0' into nbp-gpp-restart-fix-extended-v2
glemieux Nov 19, 2025
1eba706
Merge tag 'sci.1.88.2_api.42.0.0' into correct-wind-speed-unit
glemieux Nov 19, 2025
56add1b
Merge pull request #1476 from XiulinGao/correct-wind-speed-unit
glemieux Nov 20, 2025
5ac9b1d
Merge remote-tracking branch 'upstream/main' into update-ctsm-5.3.084
mvdebolskiy Nov 24, 2025
d41f9ec
update paramfilename
mvdebolskiy Nov 24, 2025
24c40f6
fix compile errors.
mvdebolskiy Nov 25, 2025
c41ccc0
Merge remote-tracking branch 'rgknox/nbp-gpp-restart-fix-extended-v2'…
mvdebolskiy Nov 25, 2025
95c4bcb
move bc_out gpp and ar calculation earlier in the ed_update_site call
glemieux Nov 26, 2025
759ed00
Added is restarting arguments
rgknox Nov 26, 2025
d3cfa86
Merge remote-tracking branch 'rgknox/nbp-gpp-restart-fix-extended-v2'…
mvdebolskiy Nov 26, 2025
2740db2
fix args
mvdebolskiy Nov 26, 2025
fc07a7d
Revert "fix args"
mvdebolskiy Nov 26, 2025
5d3546d
fix arg processing
mvdebolskiy Nov 26, 2025
184a676
Merge branch 'noresm' into tst-mrgnbp
mvdebolskiy Dec 3, 2025
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
7 changes: 2 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@
# This is primarily being implemented to allow users to develop code with any operating system (OS)
# preferred and mitigates potential problems with end of line (eol) character differences.
# -----------------------------------------------------------------------------------------------------

## Set the default end of line behavior (i.e. normalization to `lf` upon commit) for all files git recognizes as text
* text=auto

# Note that the above *only* applies to newly commited files. If the file previously existed with a `crlf` end of file
# and was checked out to local, then git will not change the eol character during check-in (i.e. commit). For
# windows users they will see a warning like this:
# warning: CRLF will be replaced by LF in functional_unit_testing/allometry/drive_allomtests.py.
# The file will have its original line endings in your working directory

## Explicitly declare to git which files should be normalized (i.e. treated as text files)
*.cdl text
*.F90 text
Expand All @@ -23,6 +20,6 @@
*.sh text
*.txt text
*.xml text

## Declare to git which file types are binary files and should not have end of line modified
*.mod binary
*.mod binary
testing/test_data/*.nc filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ All checklist items must be checked to enable merging this pull request:
*Integrator*
- [ ] FATES PASS/FAIL regression tests were run
- [ ] Evaluation of test results for answer changes was performed and results provided
- [ ] FATES-CLM6 Code Freeze: satellite phenology regression tests are b4b

*If satellite phenology regressions are **not** b4b, please hold merge and notify the FATES development team.*

### Documentation
<!--- If this pull requests warrants an update to the tech doc or user's guide, and said changes have been made paste a link to the documentation pull request below. -->
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
*.zip
*.nc

# Allow netcdf files in the test data directory
!testing/test_data/*.nc

# Logs and databases #
######################
*.log
Expand Down Expand Up @@ -54,4 +57,4 @@ _run/
# Old Files
*~
# Editor specific setting files
*.vscode
*.vscode
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
fxrequired = AlwaysRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/NGEET/tools-fates-landusedata
[submodule "tools/xarray-functions"]
path = tools/xarray-functions
url = https://github.com/NGEET/tools-fates-xarray.git
fxtag = v0.0.0
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/NGEET/tools-fates-xarray
19 changes: 19 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.4)

list(APPEND CMAKE_MODULE_PATH ${CIME_CMAKE_MODULE_DIRECTORY})
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../share/cmake")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../components/cmeps/cmake")

FIND_PATH(NETCDFC_FOUND libnetcdf.a ${NETCDF_C_DIR}/lib)
FIND_PATH(NETCDFF_FOUND libnetcdff.a ${NETCDF_FORTRAN_DIR}/lib)
Expand All @@ -19,6 +20,23 @@ include(CIME_utils)

set(HLM_ROOT "../../")

if (DEFINED ENV{ESMF_ROOT})
list(APPEND CMAKE_MODULE_PATH $ENV{ESMF_ROOT}/cmake)
endif()
find_package(ESMF REQUIRED)

# This adds include directories needed for ESMF
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${ESMF_F90COMPILEPATHS} ")
# This (which is *not* done in the share CMakeLists.txt) adds all directories and
# libraries needed when linking ESMF, including any dependencies of ESMF. (But note that
# this does *not* include the "-lesmf" itself). In particular, note that this includes any
# link flags needed to link against PIO, which is needed on some systems (including
# derecho); bringing in these PIO-related link flags via this ESMF mechanism allows us to
# avoid explicitly including PIO as a link library, which wouldn't work on systems where
# there is no separate PIO library and instead ESMF is built with its internal PIO
# library.
link_libraries(${ESMF_INTERFACE_LINK_LIBRARIES})

# Add source directories from other share code (csm_share, etc.)
add_subdirectory(${HLM_ROOT}/share/src csm_share)
add_subdirectory(${HLM_ROOT}/share/unit_test_stubs/util csm_share_stubs)
Expand Down Expand Up @@ -90,6 +108,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})

# Directories and libraries to include in the link step
link_directories(${CMAKE_CURRENT_BINARY_DIR})
link_libraries(esmf)

# Add the main test directory
add_subdirectory(${HLM_ROOT}/src/fates/testing)
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
[wiki_ref_page]: https://github.com/NGEET/fates/wiki/Relevant-References
[references]: https://fates-users-guide.readthedocs.io/en/latest/user/Relevant-References.html
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ https://github.com/NGEET/fates/blob/master/CODE_OF_CONDUCT.md

## Getting Started

Those who wish to contribute code to FATES must have those changes integrated through the developer repository NGEET/fates. Changes that make it to public releases must go through this repository first, as well. Here are some basic first steps.
Those who wish to contribute code to FATES must have those changes integrated through the developer repository NGEET/fates. Changes that make it to public releases must go through this repository first, as well. Please refer to the [developer section](hhttps://fates-users-guide.readthedocs.io/en/latest/developer/developer-guide.html) of the [User's Guide](https://fates-users-guide.readthedocs.io/en/latest/index.html) for more details. Here are some basic first steps:

* All developers should create a fork of the NGEET/fates repository into their personal space on github
* Follow the developer work-flow described here: https://github.com/NGEET/fates/wiki/FATES-Development-Workflow
* Each set of changes should have its own feature branch that encapsulates your desired changes, following the conventions outlined here: https://github.com/NGEET/fates/wiki/Feature-Branch-Naming-Convention
* Follow the [developer work-flow](https://fates-users-guide.readthedocs.io/en/latest/developer/FATES-Development-Workflow.html)
* Each set of changes should have its own [feature branch](https://fates-users-guide.readthedocs.io/en/latest/developer/Feature-Branch-Naming-Convention.html) that encapsulates your desired changes.
* The work-flow will lead you eventually to submit a Pull-Request to NGEET/fates:master, please follow the template in the Pull Request and communicate as best you can if you are unsure how to fill out the text
* It is best to create an issue to describe the work you are undertaking prior to starting. This helps the community sync with your efforts, prevents duplication of efforts, and science is not done in a vaccuum!
* Expect peers to interact, help, discuss and eventually approve your submission (pull-request)
Expand All @@ -31,11 +31,11 @@ In addition to the github discussions, we hold a roughly biweekly call, which co
* Changes that are submitted should be limited to 1 single feature (i.e. don't submit changes to the radiation code and the nutrient cycle simultaneous, pick one thing)
* Check for unnecessary whitespace with `git diff --check` before committing
* We have no standard protocol for commit messages, but try to make them meaningful, concise and succinct.
* You will most likely have to test (see workflow above), see: https://github.com/NGEET/fates/wiki/Testing-Protocols
* You will most likely have to test (see workflow above), see the [testing protocols](https://fates-users-guide.readthedocs.io/en/latest/developer/Testing-Protocols.html) for more details.

## Coding Practices and Style

Please refer to the FATES style guide: https://github.com/NGEET/fates/wiki/Coding-Practices-and-Style-Guide
Please refer to the FATES [style guide](https://fates-users-guide.readthedocs.io/en/latest/developer/style.html)

## Trivial Changes

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To receive email updates about forthcoming release tags, regular meeting notific

[How to Contribute](https://github.com/NGEET/fates/blob/master/CONTRIBUTING.md)

[Table of FATES and Host Land Model API compatability](https://fates-users-guide.readthedocs.io/en/latest/user/Table-of-FATES-API-and-HLM-STATUS.html)
[Table of FATES and Host Land Model API compatability](https://fates-users-guide.readthedocs.io/en/latest/user/release-tags-compat-table.html)

[List of Unsupported or Broken Features](https://fates-users-guide.readthedocs.io/en/latest/user/Current-Unsupported-or-Broken-Features.html)

Expand All @@ -35,4 +35,4 @@ https://github.com/E3SM-Project/E3SM

https://github.com/ESCOMP/cesm

The FATES, E3SM and CTSM teams maintain compatability of the NGEET/FATES master branch with the E3SM master and CTSM master branches respectively. There may be some modest lag time in which the latest commit on the FATES master branch is available to these host land models (HLM) by default. This is typically correlated with FATES development updates forcing necessary changes to the FATES API. See the table of [FATES API/HLM compatibility](https://fates-users-guide.readthedocs.io/en/latest/user/Table-of-FATES-API-and-HLM-STATUS.html) for information on which fates tag corresponds to which HLM tag or commit.
The FATES, E3SM and CTSM teams maintain compatability of the NGEET/FATES master branch with the E3SM master and CTSM master branches respectively. There may be some modest lag time in which the latest commit on the FATES master branch is available to these host land models (HLM) by default. This is typically correlated with FATES development updates forcing necessary changes to the FATES API. See the table of [FATES API/HLM compatibility](https://fates-users-guide.readthedocs.io/en/latest/user/release-tags-compat-table.html) for information on which fates tag corresponds to which HLM tag or commit.
Loading