-
Notifications
You must be signed in to change notification settings - Fork 33
Add MOM_generic_tracer to ocean_BGC #37
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
Add MOM_generic_tracer to ocean_BGC #37
Conversation
Following PR #790 to MOM6 dev/gfdl, the MOM_generic_tracer.F90 file has been removed from MOM6/src/tracer. A copy of MOM_generic_tracer.F90 is now needed with the ocean_BGC code. This commit copies MOM_generic_tracer.F90 "as is" from MOM6.
|
@theresa-cordero, thanks! I’ve tested this draft PR with the latest gfdl/dev MOM6 branch. The coupled model built successfully, and I was able to run both a 2-day 1-D case and a 1-degree global model without any technical issues. (PR #34 will be required if someone forgets to turn on internal_heat in MOM6, though it is enabled by default in most OM4 configurations.) |
|
Thanks for testing this Yi-Cheng. We discussed adding more information to the README but there doesn't appear to be one. I think a README would be helpful especially as we move to a version 2 and version 3. |
|
Should we consider moving this file to a subdirectory? something like |
|
@theresa-cordero, I support adding a subfolder for the interface files. I think For the |
|
I don't think it really matters too much to us, thanks. As we discussed, we (ACCESS) need to maintain the "genericness" of generic tracers so I think we will continue to use in our fork What would be really helpful is that there is clear documentation once you start to commit code that isn't generic. E.g. my understanding is that COBALT v3 will require a specific version of |
Sorry this is unclear. By "as it currently exists", I mean the unmodified version taken directly from MOM6 that this PR adds. |
|
@theresa-cordero are you done with this PR? Can I merge it? Thanks. |
|
@nikizadehgfdl I think this PR is good to be merged |
|
@nikizadehgfdl A readme has been added to go with this PR in PR #38 |
@yichengt900
This PR is in response to issue #36.
Following PR #790 to MOM6 dev/gfdl, the
MOM_generic_tracer.F90file has been removed fromMOM6/src/tracer. A copy ofMOM_generic_tracer.F90is now needed with theocean_BGCcode. This commit copiesMOM_generic_tracer.F90"as is" from MOM6.Users of more recent versions of MOM6 (commit fcf5fff or later) with
ocean_BGCneed this file inocean_BGCor to dramatically change their compile instructions. We recommend tagging the versions ofocean_BGCas:MOM_generic_tracer.F90, compatible with MOM6 before commit fcf5fffMOM_generic_tracer.F90, compatible with MOM6 commit fcf5fff or later.