forked from NCAR/ccpp-physics
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Code update for HR4_roughness, background diffusivity and shallow convection #119
Merged
Merged
Changes from 54 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
c18c6d4
CCPP scheme simulator.
f9abb73
Fix file rename typo
ef0d369
Added MPI commands to ccpp_scheme_simulator
fd72b35
Work in progress...
ffd26ab
Some changes
112ac89
Some small cleanup
6a4c4b1
More OO changes. Will split into load_data and ccpp_scheme components…
be4cc2e
More OO changes
7001ef9
Split scheme into load and simulator components.
8bc8ec9
Small bug fix to nml
6db4af5
Remove dimension for tracer, handle tracers individualy, not with sta…
147cbac
Fixed bug in interpolation routine.
a296389
Moew changes
e49f1f6
Merge branch 'main' of https://github.com/NCAR/ccpp-physics into ccpp…
a3933a5
CCPP scheme simulator
833b990
Merge branch 'ufs/dev-gf' into ufs-dev-PR64
grantfirl 3ba2924
Merge branch 'main' into ufs-dev-PR64
grantfirl 6e53907
Merge commit 'd474c2' into ufs-dev-PR26
grantfirl 2515b27
Merge branch 'main' of https://github.com/NCAR/ccpp-physics into HEAD
5d49f79
Reorganization of scheme simulator. Now stateless.
d8a5b1f
Merge pull request #1015 from grantfirl/ufs-dev-PR64
grantfirl 6f12331
Merge branch 'main' into ufs-dev-PR26
grantfirl 4d69108
fix bug in scm_sfc_flux_spec.F90
grantfirl 6cfaad5
Merge branch 'update_HR2' into ufs-dev-PR65
grantfirl 93e0c8d
Merge commit '81e3f5e36' into ufs-dev-PR71
grantfirl bc94a0f
Merge remote-tracking branch 'joe-fork/mynn_snowfix' into ufs-dev-PR71
grantfirl 92c8a9e
Merge pull request #1016 from grantfirl/ufs-dev-PR26
grantfirl c5566ab
Merge branch 'main' into ufs-dev-PR65
grantfirl ce731f2
Merge branch 'main' into ufs-dev-PR71
grantfirl 12d4fc2
Working as expected!
6ceffe3
Merge branch 'main' of https://github.com/NCAR/ccpp-physics into HEAD
9b77c4e
Merge pull request #1020 from grantfirl/ufs-dev-PR65
grantfirl 9465b6f
Housekeeping
c61a2a6
GNU bug found in SCM CI
8e5646e
Some cleanup.
7e8cd3a
Merge branch 'main' into ufs-dev-PR71
grantfirl e3c00d3
Renamed scheme simulator suite simulator
2d6d44c
Omission from previous commit
5ab1a5b
Add ability to use constant forcing data when one-dimensional data is…
07a25fe
Merge branch 'main' of https://github.com/NCAR/ccpp-physics into HEAD
215ba6d
Merge pull request #996 from dustinswales/ccpp_scheme_sim
dustinswales 1e7542a
Merge branch 'main' into ufs-dev-PR71
grantfirl fa96015
Merge pull request #1021 from grantfirl/ufs-dev-PR71
grantfirl 4e45989
Code update for HR4_roughness
Qingfu-Liu 3debf89
Code update for HR4_roughness
Qingfu-Liu c2b1301
Code update for HR4_roughness
Qingfu-Liu 2fc24ca
Merge remote-tracking branch 'upstream/ufs/dev' into HR4_roughness
Qingfu-Liu 91da6a0
Merge https://github.com/Qingfu-Liu/ccpp-physics into HR4_roughness
Qingfu-Liu 562377c
remove files from old version
Qingfu-Liu 12cd9c6
update files satmedmfvdifq.F samfshalcnv.f sfc_diff.f
Qingfu-Liu 225848c
Merge remote-tracking branch 'upstream/ufs/dev' into HR4_roughness
Qingfu-Liu d65507a
Fix CI 2
Qingfu-Liu fa9931a
Merge remote-tracking branch 'upstream/ufs/dev' into HR4_roughness
Qingfu-Liu 26ecb3d
Merge remote-tracking branch 'upstream/ufs/dev' into HR4_roughness
Qingfu-Liu 97e3b1c
update surface physics z0 from waves
Qingfu-Liu 327fbaa
Merge remote-tracking branch 'upstream/ufs/dev' into HR4_roughness
Qingfu-Liu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@JongilHan66 I'm concerned that removal of this section of code is having some unintended effects. It's my understanding is that this code was put in by Moorthi after we noticed there were issues with where the atm model expected z0 from waves, and the vlaues that the wave model sent, whether it was land/sea masks or a value the atm model did not thinkk was acceptable. I ran a few of the regression tests offline and I saw this:
On the left is the differences and on the top right is from this branch and the bottom right is from develop. It's easy to see this issue by the differences being near land/sea masks and in lakes. Please let me know if you'd like to discuss this more offline and sorry for the delay in looking closer at this before.
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.
@JessicaMeixner-NOAA I thought that section would not be necessary as molecular viscosity effect is now included (which will result in z0 > 1.e-7 always). But I have no objection to recover that section for a safety.
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.
@JongilHan66 I think focusing on for example the lakes really shows where this is needed. Otherwise it defaults to the minimum value because the waves do not provide a roughness length there.
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.
@Qingfu-Liu @JessicaMeixner-NOAA Hi Qingfu, could you recover that section to the original one, i.e.,
! elseif (z0rl_wav(i) <= 1.0e-7_kp .or. &
! & z0rl_wav(i) > 1.0_kp) then
!! z0 = (charnock / grav) * ustar_wat(i) * ustar_wat(i)
! tem1 = 0.11 * vis / ustar_wat(i)
! z0 = tem1 + (charnock/grav)*ustar_wat(i)*ustar_wat(i)
! if (redrag) then
! z0rl_wat(i) = 100.0_kp * max(min(z0, z0s_max),1.0e-7_kp)
! else
! z0rl_wat(i) = 100.0_kp * max(min(z0,0.1_kp), 1.0e-7_kp)
! endif
! endif
==>
elseif (z0rl_wav(i) <= 1.0e-7_kp .or. &
& z0rl_wav(i) > 1.0_kp) then
! z0 = (charnock / grav) * ustar_wat(i) * ustar_wat(i)
tem1 = 0.11 * vis / ustar_wat(i)
z0 = tem1 + (charnock/grav)*ustar_wat(i)*ustar_wat(i)
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.
@JongilHan66 I have added this section of original code and tested in suite control_p8. Can you review the new code? Thanks
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.
@Qingfu-Liu I saw that that section was correctly recovered to the original one.