Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge b4b-dev 2024-02-22 #2382

Merged
merged 44 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
ee7e6f6
Do not exit 'make all' if pylint fails.
samsrabin Jan 29, 2024
25f7d21
Fix pylint for ctsm_pylib_dependent_utils.py (except missing-module-d…
samsrabin Jan 29, 2024
7140337
Fix pylint for process_ggcmi_sdates.py.
samsrabin Jan 30, 2024
8347afc
Satisfy pylint for generate_gdds_functions.py.
samsrabin Jan 30, 2024
9c9b23f
Satisfy pylint for generate_gdds.py.
samsrabin Jan 30, 2024
73da27a
Remove unused function from cropcal_utils.py.
samsrabin Jan 31, 2024
ddd5e51
Rename a variable in generate_gdds.py.
samsrabin Jan 31, 2024
3b4ae70
Satisfy pylint for cropcal_module.py.
samsrabin Jan 31, 2024
4380ff7
Satisfy pylint for check_rxboth_run.py.
samsrabin Jan 31, 2024
8397f3c
Fix call of import_output() in check_rxboth_run.py.
samsrabin Jan 31, 2024
4be7930
Satisfy pylint for test_sys_regrid_ggcmi_shdates.py.
samsrabin Jan 31, 2024
2a533ef
Satisfy pylint for test_unit_modify_singlept_site_neon.py.
samsrabin Jan 31, 2024
3cbe719
Satisfy pylint for test_unit_run_sys_tests.py.
samsrabin Jan 31, 2024
dbbe8c5
Satisfy pylint for test_unit_utils_import_coord.py.
samsrabin Jan 31, 2024
f87abd0
Satisfy pylint for modify_singlept_site_neon.py.
samsrabin Feb 1, 2024
e4aa2bd
python/Makefile: Do not fail even if pylint isn't clean.
samsrabin Feb 8, 2024
8e3b3ba
python/Makefile: Call black before pylint in 'make all'.
samsrabin Feb 8, 2024
18e03ea
Satisfy pylint for ctsm_pylib_dependent_utils.py.
samsrabin Feb 8, 2024
c55dac6
Resolve pylint warnings about cropcal_module.py.
samsrabin Feb 8, 2024
34b3320
pylint: Allow variable names ax and im (common in matplotlib instruct…
samsrabin Feb 8, 2024
be18e3e
Satisfy pylint for cropcal_figs_module.py.
samsrabin Feb 8, 2024
5b3cad7
pylint: Resolve remaining wrong-import-position complaints.
samsrabin Feb 8, 2024
89c3dad
Post-pylint fixes to get RXCROPMATURITY working again.
samsrabin Feb 9, 2024
3e8b835
pylint: Resolve remaining invalid-name complaints.
samsrabin Feb 9, 2024
5fc5bf2
pylint: Resolve no-else-return and no-else-raise.
samsrabin Feb 9, 2024
cbff7d9
pylint: Resolve singleton-comparison.
samsrabin Feb 9, 2024
08ce929
pylint: Resolve bare-except.
samsrabin Feb 9, 2024
58b75f1
pylint: Resolve unused-import.
samsrabin Feb 9, 2024
3dae192
pylint: Add docstrings.
samsrabin Feb 9, 2024
538ab01
Move xr_flexsel to its own module; functionize bits of it.
samsrabin Feb 9, 2024
f7ad444
Resolve pylint for regrid_ggcmi_shdates.py.
samsrabin Feb 11, 2024
35df413
Move grid_one_variable() to its own module; functionize parts.
samsrabin Feb 11, 2024
81ac26e
Resolve most issues with import_ds().
samsrabin Feb 11, 2024
c2899bd
Move import_ds() to its own module.
samsrabin Feb 11, 2024
605bb3b
Satisfy pylint for cropcal_utils.py.
samsrabin Feb 11, 2024
3808b4b
Ignore raise-missing-from in xr_flexsel.py.
samsrabin Feb 11, 2024
a90049d
Remove unneeded '_CTSM_PYTHON =' bits.
samsrabin Feb 11, 2024
657cc5c
Fix imports in check_rxboth_run.py.
samsrabin Feb 11, 2024
e4b66a7
Merge pull request #2353 from samsrabin/make-all-linting-order
samsrabin Feb 13, 2024
e6873e3
Merge pull request #2354 from samsrabin/fix-pylint-2316
samsrabin Feb 13, 2024
b671ed7
FSURDATMODIFYCTSM test (aux_clm/clm_pymods) moved from cheyenne_intel…
samsrabin Feb 13, 2024
1200056
Merge pull request #2364 from samsrabin/fsurdatmodifyctsm-test-derecho
samsrabin Feb 14, 2024
bf8a6bb
Merge tag 'ctsm5.1.dev168' into merge-b4bdev-20240222
samsrabin Feb 22, 2024
9b43482
Update ChangeLog and ChangeSum.
samsrabin Feb 22, 2024
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
4 changes: 2 additions & 2 deletions cime_config/testdefs/testlist_clm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3308,8 +3308,8 @@

<test name="FSURDATMODIFYCTSM_D_Mmpi-serial_Ld1" grid="5x5_amazon" compset="I2000Clm50SpRs">
<machines>
<machine name="cheyenne" compiler="intel" category="aux_clm"/>
<machine name="cheyenne" compiler="intel" category="clm_pymods"/>
<machine name="derecho" compiler="gnu" category="aux_clm"/>
<machine name="derecho" compiler="gnu" category="clm_pymods"/>
</machines>
<options>
<option name="wallclock">00:20:00</option>
Expand Down
71 changes: 71 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,75 @@
===============================================================
Tag name: ctsm5.1.dev169
Originator(s): samrabin (Sam Rabin, UCAR/TSS, [email protected])
Date: Thu 22 Feb 2024 09:42:57 AM MST
One-line Summary: Merge b4b-dev

Purpose and description of changes
----------------------------------

Brings in 3 PRs from b4b-dev to master:
- Do not crash "make all" even if pylint isn't clean (ESCOMP/CTSM#2353; Sam Rabin)
- Resolve pylint issues (ESCOMP/CTSM#2354; Sam Rabin)
- Move FSURDATMODIFYCTSM test to Derecho (ESCOMP/CTSM#2364; Sam Rabin)

Significant changes to scientifically-supported configurations
--------------------------------------------------------------

Does this tag change answers significantly for any of the following physics configurations?
(Details of any changes will be given in the "Answer changes" section below.)

[ ] clm5_1

[ ] clm5_0

[ ] ctsm5_0-nwp

[ ] clm4_5


Bugs fixed
----------

CTSM issues fixed:
- Fixes ESCOMP/CTSM#2255: make lint is not clean in ctsm5.1.dev152
- Fixes ESCOMP/CTSM#2316: "make all" doesn't run black if lint fails
- FIXES ESCOMP/CTSM#2362: FSURDATMODIFYCTSM test should be moved to Derecho or Izumi


Notes of particular relevance for developers:
---------------------------------------------

Changes to tests or testing:
- FSURDATMODIFYCTSM test changed from derecho_intel (didn't work in debug mode) to derecho_gnu. I.e., from
FSURDATMODIFYCTSM_D_Mmpi-serial_Ld1.5x5_amazon.I2000Clm50SpRs.derecho_intel
to
FSURDATMODIFYCTSM_D_Mmpi-serial_Ld1.5x5_amazon.I2000Clm50SpRs.derecho_gnu


Testing summary:
----------------

[PASS means all tests PASS; OK means tests PASS other than expected fails.]

regular tests (aux_clm: https://github.com/ESCOMP/CTSM/wiki/System-Testing-Guide#pre-merge-system-testing):

derecho ----- OK
izumi ------- OK

any other testing (give details below):
- "make all" in python/ is clean.


Other details
-------------

Pull Requests that document the changes (include PR ids):
- ESCOMP/CTSM#2353: Do not crash "make all" even if pylint isn't clean (https://github.com/ESCOMP/CTSM/pull/2353)
- ESCOMP/CTSM#2354: Resolve pylint issues (https://github.com/ESCOMP/CTSM/pull/2354)
- ESCOMP/CTSM#2364: Move FSURDATMODIFYCTSM test to Derecho (https://github.com/ESCOMP/CTSM/pull/2364)

===============================================================
===============================================================
Tag name: ctsm5.1.dev168
Originator(s): slevis (Samuel Levis,UCAR/TSS,303-665-1310)
Date: Fri 16 Feb 2024 01:27:41 PM MST
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeSum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Tag Who Date Summary
============================================================================================================================
ctsm5.1.dev169 samrabin 02/22/2024 Merge b4b-dev
ctsm5.1.dev168 slevis 02/16/2024 Remove a source of negative snocan in CanopyFluxesMod
ctsm5.1.dev167 samrabin 02/08/2024 Delete _FillValue and history from parameter files
ctsm5.1.dev166 multiple 01/24/2024 BFB merge tag
Expand Down
4 changes: 2 additions & 2 deletions python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ ifneq ($(verbose), not-set)
endif

PYLINT=pylint
PYLINT_ARGS=-j 4 --rcfile=ctsm/.pylintrc
PYLINT_ARGS=-j 4 --rcfile=ctsm/.pylintrc --fail-under=0
PYLINT_SRC = \
ctsm
# NOTE: These don't pass pylint checking and should be added when we put into effort to get them to pass
# ../cime_config/SystemTests \
# ../cime_config/buildlib \
# ../cime_config/buildnml

all: test lint black
all: test black lint
@echo
@echo
@echo "Successfully ran all standard tests"
Expand Down
5 changes: 4 additions & 1 deletion python/ctsm/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,10 @@ good-names=i,
_,
# --- default list is above here, our own list is below here ---
# Allow logger as a global name in each module, because this seems to follow general recommended convention:
logger
logger,
# Allow these names, which are commonly used in matplotlib instructions
ax,
im

# Include a hint for the correct naming format with invalid-name.
include-naming-hint=no
Expand Down
Loading
Loading