Closed dougiesquire closed 6 months ago
Hello @dougiesquire! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
payu/models/cesm_cmeps.py
:Line 120:80: E501 line too long (90 > 79 characters) Line 126:80: E501 line too long (85 > 79 characters) Line 307:80: E501 line too long (85 > 79 characters) Line 321:80: E501 line too long (89 > 79 characters) Line 324:80: E501 line too long (93 > 79 characters) Line 329:80: E501 line too long (87 > 79 characters) Line 335:1: W391 blank line at end of file
test/models/test_cesm_cmeps.py
:Line 6:1: E302 expected 2 blank lines, found 1 Line 13:51: E261 at least two spaces before inline comment Line 13:80: E501 line too long (87 > 79 characters) Line 14:51: E261 at least two spaces before inline comment Line 14:80: E501 line too long (88 > 79 characters) Line 15:52: E261 at least two spaces before inline comment Line 16:50: E261 at least two spaces before inline comment Line 16:80: E501 line too long (82 > 79 characters) Line 17:80: E501 line too long (148 > 79 characters) Line 17:105: E261 at least two spaces before inline comment Line 27:1: E302 expected 2 blank lines, found 1 Line 32:80: E501 line too long (90 > 79 characters) Line 34:1: E302 expected 2 blank lines, found 1 Line 50:1: E302 expected 2 blank lines, found 1 Line 58:9: E125 continuation line with same indent as next logical line Line 62:1: E302 expected 2 blank lines, found 1
This is a ~work-in-progress~ PR with changes required to allow running generic_tracers in MOM with the
cesm_cmeps
driver. ~This PR is still under development and is likely to change. I'm only opening now for visibility and to help me keep track of the various changes I'm having to make across multiple repos to allow this functionality.~Changes made:
INPUT
(frominput
). This is because unfortunatelyINPUT
is hardcoded in some parts of FMS that are used by generic tracers.additional_restart_dir
that is specified in thenuopc.runconfig
.Runconfig
class to return a default value whenget
ing values that aren't set in thenuopc.runconfig
file.