-
Notifications
You must be signed in to change notification settings - Fork 313
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
Move plumber2 scripts to python directory (on b4b branch) #2505
Conversation
The unit tests, The sys tests, run with Since this PR just moves two minimally integrated scripts and one test (which passes), I'd be really surprised if it is causing these failures. |
@TeaganKing these days we make sure the python tests pass on derecho, so I'm not worried about problems on casper. Are you on ctsm5.2.001 (when you type |
I will check out your branch and see if I get the same errors that you get. |
Hi @slevis-lmwg I'm on |
For me
passed. So I suspect that you're dealing with an environment issue. |
Ok, great! I'm glad to hear that's working for you! |
Once approved, is this something that you can merge to b4b-dev yourself @TeaganKing, or do you need me to do it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things look good. I pulled the latest commit in my copy of this branch. I'm rerunning the python tests and will also run the clm_pymods test-suite.
I'm approving, though let's not merge until I complete these tests.
I'm looking at the CTSM Dev Branch document instructions for merging to b4b-dev. I'm happy to go through this, as long as permissions are fine to do so, and I may also need help with the aux_clm testing. |
As before, the unit and system tests passed. Given that modifications are limited to python codes, let's just do the clm_pylib test-suite, which is much quicker. I'm happy to do it. It may also be better if you do it for the practice, so let me know if you need help. |
Hi @slevis-lmwg , I'm also not sure that I've run the |
From your branch's /ctsm directory (which you likely gave some other name, so I mean the directory just one up from /python), assuming that you have run ./manage_externals/checkout_externals, you then run |
Thanks for these directions! Here's the result that I got. It looks like ./doc/doc-builder is marked with e-o (but says not checked out, so I'm not sure if this is an issue?) and ./src/fates is marked with s (skipped?)
|
I think that's fine. Now you can check that the tests are running using |
Ok. It looks like there were some SETUP failures. I'm not entirely sure what the normal output is here?
|
I will try the same test-suite in case we're up against an environment issue again. |
Ok, thanks Sam! Sorry to make things more complicated! |
Yay, the test-suite passed for me (so yours may be the same environment issue...) Next, does the "merge pull request" button appear green for you? If so, then I think you have the right permissions. Otherwise, I can complete the merge. |
Merging is blocked for me... Can you merge it after all? Or if you want to update my permissions, I can click the button. |
NOTE: I'm sending stuff on a weekend I don't expect a response until you get a chance during the workweek. @TeaganKing just a note the "s" from manage externals means that fates wasn't synced at the correct version. For this case that probably doesn't matter since you aren't running with fates. And the "o" means optional so that doc-builder wasn't checked out which is also fine. How this works will be changing in a week or so. But it's good to recognize the states of the externals, because it does matter for other externals like cime. Take care. Nice to see that this made it in! |
Hi @ekluzek , thanks for explaining the states of the externals and what those additional letters mean! I'm glad to see this got merged in-- thank you! |
Description of changes
This PR addresses #2187 by moving new scripts that were added in #2155 to tools/site_and_regional into the python directory, similarly to other NEON scripts in #2156.
Fixed: #2187
Are answers expected to change (and if so in what way)? No
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed, if any:
I tested newly added unit test, which was successful, with
python -m unittest test_unit_plumber2_surf_wrapper.py
. I will add that when testing with./run_ctsm_py_tests -u
, I ran into a seemingly unrelated error that I'll add in a comment below.