-
Notifications
You must be signed in to change notification settings - Fork 371
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
Accumulate data land-ice mass fluxes #5910
Accumulate data land-ice mass fluxes #5910
Conversation
Before this merge, we were only accumulating this flux in prognostic flux mode. With this merge, we accumulate the mass flux in data mode as well, as this term is needed in the total mass budget of the model. To facilitate this and reduce issues related to initialization vs. forward time stepping, this accumulation step has been broken into its own subroutine, ocn_surface_land_ice_fluxes_accumulate_fluxes. This subroutine is called when time-stepping the model but not at initialization (since we do not want to accumulate any fluxes at that time).
@jonbob, this is somewhere in the gray area between clean-up and a bug fix, but let's call it a bug fix. I expect it to be bit-for-bit except for runs in DISMF mode, and only with those runs if the |
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 falls into the category of additional reporting, and should definitely be bit-for-bit. I agree with the purpose, and reviewed by visual inspection. Thanks. I also did a quick compile test with gnu and intel on chrysalis using mpas-ocean stand-alone.
@darincomeau, can you take a look at this when you have time? |
@darincomeau please review. |
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.
Approved by visual inspection - sorry for the delay!
…next (PR #5910) Accumulate data land-ice mass fluxes Before this merge, we were only accumulating this flux in prognostic flux mode. With this merge, we accumulate the mass flux in data mode as well, as this term is needed in the total mass budget of the model. To facilitate this and reduce issues related to initialization vs. forward time stepping, this accumulation step has been broken into its own subroutine, ocn_surface_land_ice_fluxes_accumulate_fluxes(). This subroutine is called when time-stepping the model but not at initialization (since we do not want to accumulate any fluxes at that time). Fixes #5911 [BFB]
passes:
merged to next |
merged to master |
@jonbob Thanks so much! |
Before this merge, we were only accumulating this flux in prognostic flux mode. With this merge, we accumulate the mass flux in data mode as well, as this term is needed in the total mass budget of the model.
To facilitate this and reduce issues related to initialization vs. forward time stepping, this accumulation step has been broken into its own subroutine,
ocn_surface_land_ice_fluxes_accumulate_fluxes()
. This subroutine is called when time-stepping the model but not at initialization (since we do not want to accumulate any fluxes at that time).Fixes #5911