-
Notifications
You must be signed in to change notification settings - Fork 13
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
Some cleanup #34
Some cleanup #34
Conversation
Codecov Report
@@ Coverage Diff @@
## main #34 +/- ##
=======================================
Coverage 10.72% 10.72%
=======================================
Files 2 2
Lines 429 429
=======================================
Hits 46 46
Misses 383 383 |
regional_model_scripts.py
into mom6-regional
directory`regional_model_scripts.py
into mom6-regional
directory + add Black badge
I'm not sure it makes sense to move that into the library. Probably better to just delete it, we can excavate it from history if ever needed. |
Oh, you said the magic word! |
regional_model_scripts.py
into mom6-regional
directory + add Black badge
If @ashjbarnes thinks we should keep it, I'd vote for rewriting it as a command-line tool of some kind (still in Python). It would be distributed with the package, but not used as a script. But my understanding was that the library is meant to supersede it all! |
The only reason the legacy mom6_regional_scripts.py is still there is I've not incorporated the Regrid Runoff step. Perhaps we could delete it for now, and then alter the data table in the default rundirs so they're not expecting runoff at all? Make a note that runoff will / might be included at some point |
@ashjbarnes, feel free to alter the data table in the default run directory in this PR? |
@ashjbarnes shall I merge and you deal w runoff in a different PR? |
Oh good point - I think we should deal with it now because otherwise the demo notebooks won't work after merging. How do I modify within the PR? Go back to my review and change some code? |
locally checkout the branch and then commit to it!
Makes sense? |
Ok I'm going to draw this one out a bit to make sure that on merging the demo notebooks work. I'll remove the runoff from the runs, modify notebook accordingly, and ensure that the demo still produces a runnable mom6 configuration |
Yeah, do that! |
I moved the black badge to a different PR; see #36 |
@ashjbarnes I'll let you merge this PR as soon as you have tested that the demo notebook run or whenever you are happy. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Thanks Navid! I'm happy with this now. The demo notebooks could do with some more (or better thought out) markdown but they work fine for now. I'll save this for a future PR |
Just some organizing.
@ashjbarnes, what does
regional_model_scripts.py
includes? What's the difference from themom6-regiona.py
?