-
Notifications
You must be signed in to change notification settings - Fork 149
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
cam6_3_108: Ocean emissions fix #795
Conversation
modified: Externals.cfg modified: bld/build-namelist modified: bld/namelist_files/namelist_definition.xml modified: src/chemistry/mozart/mo_lightning.F90 modified: src/chemistry/pp_none/chemistry.F90 modified: src/control/camsrfexch.F90 modified: src/cpl/nuopc/atm_import_export.F90 modified: src/physics/cam/physpkg.F90
…ash_freq" to "atm_provides_lightning"; minor cleanup modified: bld/build-namelist modified: bld/namelist_files/namelist_definition.xml modified: src/chemistry/mozart/mo_lightning.F90 modified: src/chemistry/pp_none/chemistry.F90 modified: src/control/camsrfexch.F90 modified: src/cpl/nuopc/atm_import_export.F90
modified: src/chemistry/mozart/chemistry.F90 modified: src/chemistry/mozart/mo_chemini.F90 modified: src/chemistry/mozart/mo_lightning.F90 modified: src/chemistry/pp_none/chemistry.F90 modified: src/control/camsrfexch.F90 modified: src/physics/cam/physpkg.F90
modified: bld/build-namelist modified: src/cpl/nuopc/atm_import_export.F90
modified: bld/build-namelist modified: src/chemistry/mozart/mo_lightning.F90
modified: bld/build-namelist modified: bld/namelist_files/namelist_definition.xml modified: src/chemistry/mozart/chemistry.F90 modified: src/chemistry/mozart/mo_chemini.F90 modified: src/chemistry/mozart/mo_lightning.F90 modified: src/control/runtime_opts.F90 modified: src/cpl/nuopc/atm_import_export.F90
modified: src/chemistry/mozart/chemistry.F90 modified: src/chemistry/mozart/mo_chemini.F90 modified: src/chemistry/mozart/mo_lightning.F90 modified: src/chemistry/pp_none/chemistry.F90 modified: src/control/camsrfexch.F90 modified: src/physics/cam/physpkg.F90
modified: src/chemistry/mozart/mo_lightning.F90 modified: src/control/camsrfexch.F90 modified: src/cpl/nuopc/atm_import_export.F90 modified: src/physics/cam_dev/physpkg.F90
modified: bld/build-namelist modified: src/control/camsrfexch.F90
modified: src/chemistry/mozart/mo_lightning.F90
modified: src/chemistry/mozart/mo_lightning.F90
modified: src/chemistry/mozart/mo_lightning.F90
modified: src/chemistry/mozart/mo_lightning.F90
modified: src/chemistry/mozart/mo_lightning.F90
modified: bld/build-namelist
modified: bld/build-namelist
…uments modified: src/chemistry/mozart/ocean_emis.F90
modified: Externals.cfg
modified: src/chemistry/mozart/mo_lightning.F90 modified: src/control/camsrfexch.F90
where(salinity < 0._r8) | ||
salinity = 33.0_r8 | ||
end where |
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.
Totally naive comment - It feels like this is a very large number to set salinity to when I assume that salinity could also be 0.001 and not be reset. I would have expected that salinity would be reset to a very small positive number if it was less than zero. Is there the potential for this to lead to a high gradient between two adjacent columns?
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.
Good question. I don't know. This was moved from line 475. I am preserving bit-for-bit answers here.
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.
@fvitt - Doing a "blame", line 475 was something you brought in along with Siyaun Wang back in April 2020. Could you please reach out to Siyaun and check whether this is something which should be changed, and if so, please open an issue. I will approve this PR "as-is" to preserve answers for 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.
This is quick explanation from Siyaun:
"In general 33 is a very typical ballpark value for salinity, and overall the air-sea exchange process is not really sensitive to salinity, and that's why I'm using climatology for modern-day simulations. There might be a few grids with bad salinity values but are good in other regards and I wanted to save those grids."
So I don't think we should change it. It is filling in missing values with a typical value of 33.
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.
Approving with a caveat that the salinity value for when salinity is less than zero might need to be changed in a future update.
modified: doc/ChangeLog modified: src/chemistry/mozart/ocean_emis.F90
Fix issue with ocean emissions in B compsets where SSTs are zero over land.
fixes #794
closes #567
closes #747