-
Notifications
You must be signed in to change notification settings - Fork 12
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
Version 1.0: North Atlantic Update - Tides, Curved Boundaries, Config, and More!😀🤯🥳 #193
base: main
Are you sure you want to change the base?
Conversation
…CESM when parsing
Override min depth
Changes to make compatible with CESM
having mask table and layout no longer required
Fix layout requirements
fix typo in find replace
Replace minimum layers with min depth
…nt num After talking with Ashley, the find_MOM6_orientation will likely be removed
The function names for rectangular and sinmple boundaries were changed because the tides are a kind of boundary function, the old names now give a warning and call the correct function. GFDL had rough horizontal subsetting for the tpxo dataset (probably for efficiency?), implemented in setup_tides_rectangular_boundaries.
Collapsed the *_tidal_dims functions into the encode_tides function in segment, and add citing documentation to the docstrings for now.
…l-mom6 into croc_with_req_changes
…al-mom6 into ashjbarnes-patch-1
Change default rotation behaviour
Remove boundary type argument
Tomorrow I'll check one more time that with these new changes, the example notebook produces a runnable model on our system. If that works, I'm happy for the merge! Then we can make other quality of life changes and further updates to docs or whatever in further PRs. |
Also before we merge it's nice if we run the notebooks so that the figures appear. I can't do that because I never managed to set up the docker. Could somebody else do that? |
I've already done that for the reanalysis forced example. I cleared all the other outputs too so there's not the other mess cluttering up the notebooks, only the plots. Could you please do this for the BYO grid one @helenmacdonald since you've already got it running somewhere? |
I also cleared the example but I am happy to redo and leave to output in. Is it Ok if I leave it to Friday to do this? |
Of course! Thanks! |
Which bits still need clarity with the updated documentation? I don't think it's that relevant to the regular user as long as it works. We don't spell out most of the algorithms we're using in the main docs, so why is the rotation algorithm different? The interested user can look at the code and docstrings (which are great btw! ), and the relevant bit of the MOM6 documentation, which @manishvenu has already linked in the docstrings.
Yeah not sure what's going on! They all passed yesterday with my changes but are hanging today. Nothing structural has changed since they passed yesterday though |
I don't understand the steps described here: https://regional-mom6--193.org.readthedocs.build/en/193/angle_calculation.html#boundary-rotation-algorithm If we include it, then let's make it so that people understand.
Which commit of yours yesterday had all the tests working? We may able to figure out why if that was the case. But as far as I understand, the last time I saw the test jobs starting and passing is 0523f1d. Perhaps I'm wrong. |
These pending checks on this PR have been around the whole time for me. The tests have been running on CROCODILE's fork so not sure what's up here. Thanks, |
They were running up to some point; last time I've seen them run was for commit 0523f1d. |
Fixed! |
G R E A T! |
@manishvenu we can perhaps zoom on Fri and sort out the explanation of the steps at https://regional-mom6--193.org.readthedocs.build/en/193/angle_calculation.html#boundary-rotation-algorithm ? I'm in California timezone until Fri but busy up to Thu... We can also always continue chat via GitHub. |
Yes, we can definitely zoom to wrap up this PR. Feel free to email me to coordinate! I'm happy to do Friday, though it may also be easier to do sometime next week if anyone in the Australian timezone wants to join. |
Let's play it by ear on Fri... |
Sounds good. |
I've fixed the MOM_layout not writing issue, and tried testing the example notebook again. However, it crashes with the 'eta has dropped below bathy' issue even with a really short timestep. It's suggesting a huge instability too, with the sea surface passing through the centre of the planet and making it all the way to Neptune. The instabilities are located at the boundaries too. Could you confirm whether MOM6 runs the demo successfully out of the box on Derecho @manishvenu ? If not, then some of the changes since October might have caused this to break. Last I'd checked in October, the rectangular Tasmania demo worked fine on the NCAR computers, but the curved boundary with tides on did not because of a bug I introduced but which you've subsequently fixed. If this is only an issue on our machine then that would make the diagnosis a lot easier! |
Hey Ashley, The tidal bug did have pretty much that error (I think). I can try to run the reanalysis_forced demo -> We've shifted away from using a few of the functions however, CrocoDash isn't using setup_run_directory and such, mostly just the forcing functions. That should still apply to this error (it's boundary related iirc??). For the tidal bug, it's because the corners of the boundaries had NaNs in them, but that should be fixed now. Did you try turning off the tides? Thanks, |
Thanks yeah if you can check whether it works on your setup we’ll know at least that it’s not the forcing and related to the differences to our setups. If there’s a problem for you though then the forcing files might still have an issue! |
But the tidal but didn’t used to be an issue on the non rotated Tasmania example right? I remember first getting it on the curved NWA domain so something else might have happened in the meantime which messed up the non rotated simple case. I’ll try without tides though |
Yeah, it shouldn't be an issue of the non rotated Tasmania because don't get NaNs there. I haven't tested this but it probably would fail if there were NaNs in the corner. Probably isn't that error tho! I'll see if it runs on our computer tmrw. We got to figure out that way to share cases across computers at some point:) |
Authors: @ashjbarnes, @manishvenu, @helenmacdonald
Description:
Ashley and I worked together to add a few features to RM6. While we get the changes ready to merge with the main COSIMA branch, please check out this draft with a list of the changes below.
Major Features:
Minor Features:
Breaking Changes (for backwards compatibility):
Documentation Changes:
Co-authored-by: @ashjbarnes, @helenmacdonald
this PR closes #184 , #168 , and also #55 in a roundabout way since user now specifies which boundaries they want, and the MOM inputs are adjusted accordingly.
Before merging, need to resolve the following:
Outstanding Questions:
regridding.py
androtation.py
). Do we want to switch over RM6 to use python logging instead of print statements? Currently, we would prefer that but open it up to opinions.