Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
16b7ed5
Avoid repeated ESMF initialization in unittestTimeManagerMod.F90
billsacks Mar 17, 2025
55b373b
Finalize ESMF at end of any unit test where it was initialized
billsacks Mar 21, 2025
fc70c25
Allow timemgr_reset to be called safely if the timemgr was uninitialized
billsacks Mar 21, 2025
20cff07
Fix time-related unit tests to work with real ESMF library
billsacks Mar 22, 2025
c4377dd
More robust error checking
billsacks Mar 22, 2025
d68d082
Add a document with some design notes on pFUnit testing
billsacks Mar 25, 2025
363b2ed
Minor cleanup of documentation.
billsacks Mar 25, 2025
eae118d
Reapply "update seed dispersal test mod to put on-the-fly generated p…
samsrabin Mar 29, 2025
2566202
clm_varctl: Change filename lengths from 256 to 512.
samsrabin Mar 29, 2025
404b3ca
Delete unused imports of SHR_KIND_CL.
samsrabin Mar 29, 2025
1e488d8
Delete more unused imports of SHR_KIND_CL.
samsrabin Mar 29, 2025
b5a043e
Move all input filenames to fname_len instead of shr_kind_cl.
samsrabin Mar 29, 2025
6b03cc6
Merge branch 'b4b-dev' into fix-FatesColdSeedDisp-race
samsrabin Apr 3, 2025
6b29b53
Python tools are now smart about longitude format.
samsrabin Mar 20, 2025
e5bbb14
subset_data: Don't require --lon-type if lons are unambiguous.
samsrabin Apr 3, 2025
cb06cda
subset_data: Fix help text for --lon[1,2]? args.
samsrabin Apr 4, 2025
4c004e7
Fix handling of longitude ranges that cross Prime Meridian.
samsrabin Apr 4, 2025
f107e09
Fix convert_lon_0to360().
samsrabin Apr 4, 2025
e649b0a
subset_data: Refer to ESCOMP/CTSM#2017 in lon1>=lon2 error msg.
samsrabin Apr 4, 2025
ade5baf
subset_data: Improve lon1>=lon2 error msg and test.
samsrabin Apr 4, 2025
95ae84a
Fix submodule versions.
samsrabin Apr 4, 2025
73c399e
Fix verbiage re: International Date Line vs. Prime Meridian.
samsrabin Apr 4, 2025
8b905d4
subset_data: Functionize adding --lon-type arg.
samsrabin Apr 4, 2025
251e389
Reformat with black.
samsrabin Apr 4, 2025
ef5db45
Add previous commit to .git-blame-ignore-revs.
samsrabin Apr 4, 2025
4483a90
Resolve a pylint line-too-long complaint.
samsrabin Apr 4, 2025
293ac54
Check longitudes in RegionalCase.
samsrabin Apr 4, 2025
27d45c9
Check RegionalCase in test_unit_subset_data; fix exposed bugs.
samsrabin Apr 4, 2025
3860a60
Undo some unneeded changes to subset_data args.
samsrabin Apr 4, 2025
59863ad
Restore plon_type. As original, but don't convert.
samsrabin Apr 4, 2025
7ca9ad0
Restore plon_type tests.
samsrabin Apr 4, 2025
06577f8
Remove an unneeded print().
samsrabin Apr 4, 2025
73058a4
test_sys_mesh_modifier: Set self._lon_type to 360.
samsrabin Apr 4, 2025
e65a59a
User's Guide: Fix a heading.
samsrabin Apr 4, 2025
00ef05a
User's Guide: Improve formatting of a note.
samsrabin Apr 4, 2025
c64bc2e
User's Guide, subset_data: Add info about --lon-type.
samsrabin Apr 4, 2025
9f70fc8
Merge branch 'b4b-dev' into fix-FatesColdSeedDisp-race
samsrabin Apr 9, 2025
0db1463
Change CTSM filename lengths in the namelist from 256 to 512
ekluzek Apr 10, 2025
abff3ab
Merge tag 'ctsm5.3.038' into merge-master-20250410
samsrabin Apr 10, 2025
927e1e1
Merge pull request #3061 from samsrabin/merge-master-20250410
samsrabin Apr 10, 2025
9570e70
Merge branch 'b4b-dev' (ctsm5.3.038) into fix-FatesColdSeedDisp-race
samsrabin Apr 14, 2025
ba44594
fix some st_archive issues with rpointer files
jedwards4b Apr 14, 2025
9942645
Merge pull request #3042 from samsrabin/fix-FatesColdSeedDisp-race
samsrabin Apr 15, 2025
8cabe07
Merge remote-tracking branch 'escomp/b4b-dev' into fix-python-tools-l…
samsrabin Apr 15, 2025
1abde63
Merge tag 'ctsm5.3.040' into merge_5.3.040_to_b4bdev
samsrabin Apr 16, 2025
f3ccd24
Merge pull request #3070 from samsrabin/merge_5.3.040_to_b4bdev
samsrabin Apr 16, 2025
52a300e
Python: Add Longitude class.
samsrabin Apr 15, 2025
62001d5
Improve erroring around longitude type detection.
samsrabin Apr 16, 2025
cc7e951
Replace International Date Line language with 180th Meridian.
samsrabin Apr 16, 2025
e9add42
Add "Must be unambiguous" comment at pt_parser --lon.
samsrabin Apr 16, 2025
8ec5013
Reformat with black.
samsrabin Apr 16, 2025
b4b4c53
Add previous commit to .git-blame-ignore-revs.
samsrabin Apr 16, 2025
4148342
Resolve pylint complaints.
samsrabin Apr 16, 2025
b97904f
Merge branch 'b4b-dev' into fix-python-tools-longitude-format
samsrabin Apr 16, 2025
83935b9
Merge pull request #3024 from samsrabin/fix-python-tools-longitude-fo…
samsrabin Apr 16, 2025
4888cde
Add fleximod_test workflow.
samsrabin Feb 14, 2025
25c3f97
Update FATES URL.
samsrabin Feb 14, 2025
d7131a8
Add pylint workflow
samsrabin Feb 14, 2025
efbf914
Name fix in fleximod_test workflow.
samsrabin Feb 14, 2025
4062112
Add versions of python for pylint testing.
samsrabin Feb 14, 2025
b5b858f
Disable fail-fast for pylint workflow.
samsrabin Feb 14, 2025
9d64aac
Remove --check from pylint testing.
samsrabin Feb 14, 2025
b1209ea
Add black_multi_python workflow.
samsrabin Feb 14, 2025
dbd1091
Fix --config path for multi-python black check.
samsrabin Feb 14, 2025
eb36db7
Add Python 3.7.9 to black_multi_python workflow.
samsrabin Feb 14, 2025
e18bc6c
Print diffs in black_multi_python workflow,
samsrabin Feb 14, 2025
ff25076
Add job to black_multi_python that works like black.yml.
samsrabin Feb 14, 2025
21a6bf2
Replace non-working black-check-multi-python job.
samsrabin Feb 14, 2025
a963237
Move multi-python capability into old black.yml.
samsrabin Feb 14, 2025
bbe82e0
Add --diff to black check workflow.
samsrabin Feb 14, 2025
ed7711d
Add python 3.7 to pylint workflow.
samsrabin Feb 14, 2025
f652136
Change that to 3.7.9.
samsrabin Feb 14, 2025
2fb9ca8
Try bumping pylint workflow setup-python version to fix 3.7.9.
samsrabin Feb 14, 2025
fc9cfc5
Move 3.7.9 pylint check to ubuntu-20.04
samsrabin Feb 14, 2025
67f4ab4
Pylint workflow now fails on complaints.
samsrabin Feb 14, 2025
5f86c93
pip install requirements in pylint workflow.
samsrabin Feb 14, 2025
6c81aeb
pylint workflow > 3.7.9 now ignores warning about useless option for …
samsrabin Feb 14, 2025
c7b8270
Lock pylint to version in ctsm_pylib.
samsrabin Feb 14, 2025
1ad6909
Restrict pylint workflow to Python versions that work.
samsrabin Feb 14, 2025
a9c847d
Restrict running of black and pylint workflows.
samsrabin Feb 14, 2025
dd49240
Merge tag 'ctsm5.3.040' into add-github-workflows-20250214
samsrabin Apr 16, 2025
83eedd4
Add miniconda test Workflow.
samsrabin Apr 16, 2025
86935ac
Convert black GH Workflow to use ctsm_pylib.
samsrabin Apr 16, 2025
0073dc3
Delete miniconda Workflow.
samsrabin Apr 16, 2025
781aade
Delete a comment in python/conda_env_ctsm_py.txt.
samsrabin Apr 16, 2025
4cff8fb
Try an actual YML file instead.
samsrabin Apr 17, 2025
6712fe6
Black workflow now checks conda-forge first.
samsrabin Apr 17, 2025
83eb8a4
Fix call of "make black" in Workflow.
samsrabin Apr 17, 2025
7d45c8c
Fix that call again.
samsrabin Apr 17, 2025
3b5c8aa
Replace conda env txt files with yml files.
samsrabin Apr 17, 2025
ad50fc3
Update pylint Workflow to use ctsm_pylib.
samsrabin Apr 17, 2025
576d469
Fix name in ctsm_pylib_3_7_9 yml file.
samsrabin Apr 17, 2025
e637692
Combine black and pylint Workflows.
samsrabin Apr 17, 2025
2b5a781
Delete requirements.txt.
samsrabin Apr 17, 2025
2c2c01d
lint_and_format.yml: Fix handling of failed pylint check.
samsrabin Apr 18, 2025
5573758
Merge remote-tracking branch 'escomp/b4b-dev' into fix_pfunit_multipl…
samsrabin Apr 18, 2025
17f2d1f
Merge pull request #3017 from billsacks/fix_pfunit_multiple_esmf_inits
samsrabin Apr 19, 2025
834fdd8
Merge remote-tracking branch 'upstream/b4b-dev' into add-github-workf…
samsrabin Apr 19, 2025
8d39cb4
Rename Python formatting workflow.
samsrabin Apr 21, 2025
757b1e6
py_env_create: Return $option to environment creation.
samsrabin Apr 21, 2025
441a095
formatting_python.yml: Delete outdated, unneeded paths.
samsrabin Apr 21, 2025
c844996
Merge pull request #2964 from samsrabin/add-github-workflows-20250214
samsrabin Apr 21, 2025
026d941
Merge remote-tracking branch 'escomp/b4b-dev' into st_arvchive_fix
ekluzek Apr 24, 2025
c29f0cd
Merge pull request #3067 from jedwards4b/st_arvchive_fix
ekluzek Apr 24, 2025
f8c9e63
Update ChangeLog/ChangeSum.
samsrabin Apr 25, 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
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ e8fc526e0d7818d45f171488c78392c4ff63902a
890b4633c5477dc074f79c69c40d650196337591
1972cef6bba0d97169b30a53f540d56bcbd97281
cdf40d265cc82775607a1bf25f5f527bacc97405
251e389b361ba673b508e07d04ddcc06b2681989
8ec50135eca1b99c8b903ecdaa1bd436644688bd
37 changes: 0 additions & 37 deletions .github/workflows/black.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/fleximod_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: git-fleximod test
#
# Test git-fleximod update and cleanliness
# Based closely on workflow from CESM repo
#
on: [push, pull_request]

jobs:
fleximod-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# oldest supported and latest supported
python-version: ["3.7", "3.x"]
steps:
- id: checkout-CTSM
uses: actions/checkout@v4
- id: run-fleximod
run: |
$GITHUB_WORKSPACE/bin/git-fleximod update
echo
echo "Update complete, checking status"
echo
$GITHUB_WORKSPACE/bin/git-fleximod test
- id: check-cleanliness
run: |
echo
echo "Checking if git fleximod matches expected externals"
echo
git diff --exit-code
44 changes: 44 additions & 0 deletions .github/workflows/formatting_python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Check Python formatting

on:
push:
paths:
- 'python/**'
- 'cime_config/SystemTests/**'
- 'cime_config/buildlib/**'
- 'cime_config/buildnml/**'
pull_request:
paths:
- 'python/**'
- 'cime_config/SystemTests/**'
- 'cime_config/buildlib/**'
- 'cime_config/buildnml/**'

jobs:
lint-and-format-check:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v4

# Set up the conda environment
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: ctsm_pylib
environment-file: python/conda_env_ctsm_py.yml
channels: conda-forge
auto-activate-base: false

# Run pylint check
- name: Run pylint
run: |
cd python
conda run -n ctsm_pylib make lint

# Run black check
- name: Run black
# Run this step even if previous step(s) failed
if: success() || failure()
run: |
cd python
conda run -n ctsm_pylib make black
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ url = https://github.com/NGEET/fates
fxtag = sci.1.82.3_api.39.0.0
fxrequired = AlwaysRequired
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/NCAR/fates-release
fxDONOTUSEurl = https://github.com/NGEET/fates

[submodule "cism"]
path = components/cism
Expand Down
Loading
Loading