-
Notifications
You must be signed in to change notification settings - Fork 53
Optionally add bolus velocity to MOC #312
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
Conversation
By default, the bolus velocity is added as long as GM is turned on.
For the MPAS-O paper, we need the MOC with the bolus velocity included. It was decided at today's MPAS-O meeting that the default should probably be to plot the MOC including bolus, since this is what is typically included in publications where ocean models are compared with one another. |
Tomorrow, I'll run the analysis on an EC60to30 run to make sure things are working. |
@milenaveneziani, once I've tested, I'd like your help to make sure this is implemented in a way you're happy with. @maltrud, @jonbob and @mark-petersen, I've included you as reviewers just so you can take a look at the results once they're posted tomorrow and tell me if you think they're sensible or nutty. |
self.includeBolus = config.getboolean(self.sectionName, 'includeBolus') | ||
if self.includeBolus: | ||
# only add the bolus velocity if GM is enabled | ||
self.includeBolus = self.namelist.getbool('config_use_standardgm') |
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.
nice
This PR should address #310 |
looks good to me @xylar. |
Great, let's see what the results look like tomorrow. We're kind of hoping that the bolus increases the MOC strength some because MPAS-O has a pretty weak MOC in our latest EC60to30 G-case simulations. Either way, it's the version of the MOC with bolus that we want to be comparing with others. |
Here are the results of the MOC with bolus: Here are a series of before and after images of each MOC plot: These are only years 8 through 13 of the spin-up with ice shelves. It would be more useful to redo these for the longer spin-up without ice shelves. But is seems clear that the bolus velocity is actually making the MOC weaker! That seems surprising but maybe it shouldn't -- eddy velocities are often counter to mean velocities. Still, we should make sure nothing is wrong... |
@xylar I've checked out this branch and am running with and without bolus on 40 years of the current low res g-case. I'll post results when complete. |
@xylar and @milenaveneziani is there an official naming convention for the MOC transect files? In the mpas-analysis code it looks for
but on anvil, all files follow
Either name seems fine, I just want to make sure that we all follow the same convention. |
Yes, that's the required naming convention now. We used to supply the file name because there was only one but it became clear (after adding a mask for ice shelves) that we really needed a naming convention so all the needed mask files could be found automatically. Anvil must have data from a rather old copy of the files at NERSC. We're working to get this stuff put on a common SVN repo where it will be checked out and updated on all supported machines automatically. Bear with us until that happens... |
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.
By visual inspection, this all looks correct. Thank you Xylar.
I was also expecting Bolus to increase the MOC, but you are right that the eddy transport often counters the mean.
@xylar I'll rename anvil files. Not a problem at all, just wanted to make sure I was on the same page for anvil. |
@xylar one small issue with this PR is a directory path issue in the default config file. I have made the change and pushed here. Everything else worked great. Thank you! |
@vanroekel, thanks for the fix. That's a mighty weak MOC... |
i've been trying to confirm that the bolus amoc is counter to the eulerian mean, but haven't been able to find anything yet. i may just ping Gokhan. it just seems a bit weird that the global NH appears to be a bit stronger with bolus, but the NA is weaker. this implies that the NPac is also stronger with bolus. i just haven't looked at this kind of thing enough. |
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.
This PR works great. But it would be nice to hear from Gokhan about the bolus and MOC before making this the default.
@maltrud, any update on this one from your discussion with Gokhan? |
@maltrud, thanks for the email update. Everyone (@milenaveneziani and @maltrud in particular), is there a consensus on whether something is wrong here or if the results are just unexpected (but correct)? Any reason not to merge this PR? |
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.
I think so.
Thanks for the reviews @vanroekel, @mark-petersen and @milenaveneziani. I decided to go ahead and merge because I'm not sure if @maltrud is around. We can always do some fixing up later on if we discover an issue on the analysis side. |
By default, the bolus velocity is added as long as GM is turned on.