-
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
Physics separation merge: Step6 #28
Conversation
… GFS_separate_Noah_LSM_master_gfsphysics
resolve conflict of long name
resolve longname conflict
resolve longname conflict
fix longname conflict
…hub.com/lulinxue/gmtb-gfsphysics into GFS_separate_Noah_LSM_master_gfsphysics
…surface_loop_control
Is the treatment of the soil variables consistent? I just skimmed through the files, there are still assignments of the type
in the GFS physics driver. In the top, the original assigments are partially commented out:
+! smsoil(:,:) = Sfcprop%smc(:,:)
+! slsoil(:,:) = Sfcprop%slc(:,:) and the code that is commented out is now taken care of in lsm_noah_pre_run. I assume that the above lines Sfcprop%smc(:,:) = smsoil(:,:) should be in lsm_noah_post_run, or? And stsoil should be treated in the same way as smsoil and slsoil? |
Good catch, Dom. The lines I'm putting the lines Of course, all of these lines are good candidates for code cleanup. As far as I can tell, there is no need to set smsoil, slsoil, stsoil and then assign them to Sfcprop%X since GFS_physics_driver is going away. For the purpose of v1, though, could Laurie add the two lines setting Sfcprop%smc and slc into lsm_noah_post_run? If you don't have time to do that, I could go into your fork and do it. |
Thanks for the review - I'll update this in my fork and retest...
Laurie
…On Wed, Dec 20, 2017 at 10:19 AM, grantfirl ***@***.***> wrote:
@llpcarson <https://github.com/llpcarson> @climbfuji
<https://github.com/climbfuji>
Good catch, Dom. The lines
Sfcprop%smc(:,:) = smsoil(:,:) Sfcprop%slc(:,:) = slsoil(:,:)
do belong in lsm_noah_post_run.
I'm putting the lines
stsoil(:,:) = Sfcprop%stc(:,:)
and
Sfcprop%stc(:,:) = stsoil(:,:)
in GFS_surface_generic_pre and GFS_surface_generic_post due to their use
in two surface schemes.
Of course, all of these lines are good candidates for code cleanup. As far
as I can tell, there is no need to set smsoil, slsoil, stsoil and then
assign them to Sfcprop%X since GFS_physics_driver is going away.
For the purpose of v1, though, could Laurie add the two lines setting
Sfcprop%smc and slc into lsm_noah_post_run? If you don't have time to do
that, I could go into your fork and do it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHTrIvCUTuNhD4JO-h7XcG7p1bjI39-vks5tCUGOgaJpZM4RHtW->
.
|
I made the suggested changes, re-ran the test (theia). Please review - I'm not as fluent in this part of the physics variables as others (Grant, Dom!) |
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.
Looks good to me, Laurie.
gsd/develop: update from NCAR master
Uniformly apply REAL(kind=kind_phys) from CCPP-Physics machine.F definitions to MYNN Surface scheme and wrapper
From Lulin Xue,
https://github.com/lulinxue/gmtb-gfsphysics (push)
branch: GFS_separate_Noah_LSM_master_gfsphysics
merged with master, bit-for-bit match with baseline (theia)