-
Notifications
You must be signed in to change notification settings - Fork 96
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
Potential code bug: Diagnostics of shortwave radiation and its four components are shifted by half a grid cell #358
Comments
I can't see any immediate problems with the code. |
Hi Russ We figured out the issue - it was a mistake on our end. But, we haven't figured why our previous code doesn't work, and maybe your answer to this question will help us: Why is the |
Shortwave need not come in as a surface flux. You can specify it as a 3D heating and apply it in the appropriate shortwave module so it needs the ability to be treated differently in I think this issue can be closed as it appears that the problem lies elsewhere and not with MOM. |
@russfiedler thanks. Let's close the issue for now. |
Thanks a lot Russ. I wasn't very careful with the indices! Before we close the issue, when you say that "Shortwave need not come in as a surface flux. You can specify it as a 3D heating and apply it in the appropriate shortwave module so it needs the ability to be treated differently in This is exactly how the other three (sensible, latent and longwave) fluxes are computed. |
Hi @russfiedler @aidanheerdegen
We need to run a MOM-solo ocean model. We are trying to decompose the shortwave radiation into four components - (i) visible direct, (ii) visible diffuse, (iii) near-infrared direct, and (iv) near-infrared diffuse. These are needed as inputs to MOM-solo. However, we are suspecting that there is a bug in either ACCESS-OM2 or MOM-solo source code. The diagnostics of these four fluxes are shifted by half a grid cell, and that is causing our model to crash. Here is a simple Jupyter notebook explaining our problem: https://github.com/dhruvbhagtani/varying-surface-forcing/blob/main/Flux_forced_expts/MOM5_swflx_bug.ipynb.
Ccing my supervisors here to keep them in the loop - @AndyHoggANU @navidcy @rmholmes
The text was updated successfully, but these errors were encountered: