-
Notifications
You must be signed in to change notification settings - Fork 156
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
Update EMC develop from NCAR dtc/develop 2020/03/17 #81
Update EMC develop from NCAR dtc/develop 2020/03/17 #81
Conversation
…ute GFS_GWD_generic_pre,post for drag_suite_pre,post
…adiation_driver.F90
2. in GFS_typedefs.F90, correct nvdiff definition for FA.
GWD interstitial reorganization
…e from existing suites
…4b identical results on macOS with 32-bit dynamics
…schemes and satmedmfvdifq scheme
…for CCPP for sas and satmedmfvdifq
…gs about non-existent include directories with GNU
…eepcnv_samf instead of Model%imfdeepcnv_sas
…s directory to avoid warnings about non-existent include directories with GNU
Add SAS deep/shallow convection and satmedmfvdifq (updated version of satmedmfvdif) to CCPP
…routines in ugwp_driver_v0.f (note that the code that generated the warnings is in a non-active section)
add Ferrier-Aligo MP scheme changes on host model side
dtc/develop: update submodule pointers 2019/11/22
…ate_ncar_master_from_dtc_develop_20200317
Using this fv3atm in ufs-s2s-model in the current regression tests, all regtests pass. However, when I tried to use this fv3atm in a new regression tests (see: ufs-community/ufs-s2s-model#57 ) that uses the same physics options that we are using for benchmark studies with ufs-s2s-model, the test does not pass. I don't see why this should be the case. I'm re-running to confirm I didn't do something obviously wrong. To replicate what I am doing you can do the following: git clone https://github.com/JessicaMeixner-NOAA/ufs-s2s-model If someone else has insight on how changing the ICs or the physics options in input.nml would change the answers for the fully coupled model using non-fractional masks, I'd greatly appreciate it. |
Hard to tell! The minimum we need to know is what the differences are between the current and new regression tests. |
IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero, min(one, datar8(i,j)/IPD_Data(nb)%Sfcprop%oceanfrac(ix))) !LHS: ice frac wrt water area | ||
if (IPD_Data(nb)%Coupling%ficein_cpl(ix) > one-epsln) IPD_Data(nb)%Coupling%ficein_cpl(ix)=one | ||
if (IPD_Data(nb)%Coupling%ficein_cpl(ix) >= IPD_control%min_seaice) then | ||
if (abs(one-IPD_Data(nb)%Sfcprop%oceanfrac(ix)) < epsln) IPD_Data(nb)%Sfcprop%slmsk(ix) = 2. !slmsk=2 crashes in gcycle on partial land points |
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.
So this works for non-fractional grid, where ocean fraction is either close 1 or 0, but does this work for fraction grid where ocean fraction may <1 (50%ocean and 50%land)?
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.
@shansun6
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.
When ice and land co-exist, slmsk cannot be 2, since it would crash at gcycle.
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.
I see, thanks.
IPD_Data(nb)%Coupling%slimskin_cpl(ix) = zero | ||
else | ||
IPD_Data(nb)%Coupling%ficein_cpl(ix) = zero | ||
if (abs(one-IPD_Data(nb)%Sfcprop%oceanfrac(ix)) < epsln) then |
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.
I feel this can only be applied for non-fractional grid, is it correct?
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.
@shansun6 this question is for you.
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 should work for both nonfrac and frac grid. It is to prevent slmsk to be set to zero when partial ocean exists. When both land and ocean exist in one cell, slmsk is set to 1.
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.
Thanks for the explanation.
I am afraid the correct lines would be
"
IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero,
min(one, datar8(i,j)/IPD_Data(nb)%Sfcprop%oceanfrac(ix))) !LHS: ice
frac wrt water area
+ if (IPD_Data(nb)%Coupling%ficein_cpl(ix) >=
IPD_control%min_seaice) then
+ IPD_Data(nb)%Sfcprop%slmsk(ix) = 2"
Moorthi
…On Wed, Mar 18, 2020 at 2:35 PM Dom Heinzeller ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In atmos_model.F90
<#81 (comment)>:
> @@ -1747,13 +1746,17 @@ subroutine assign_importdata(rc)
IPD_Data(nb)%Coupling%ficein_cpl(ix) = zero
IPD_Data(nb)%Coupling%slimskin_cpl(ix) = IPD_Data(nb)%Sfcprop%slmsk(ix)
if (IPD_Data(nb)%Sfcprop%oceanfrac(ix) > zero) then
- if (datar8(i,j) >= IPD_control%min_seaice*IPD_Data(nb)%Sfcprop%oceanfrac(ix)) then
- IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero, min(datar8(i,j),one))
- IPD_Data(nb)%Sfcprop%slmsk(ix) = 2. !slmsk=2 crashes in gcycle on partial land points
+ IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero, min(one, datar8(i,j)/IPD_Data(nb)%Sfcprop%oceanfrac(ix))) !LHS: ice frac wrt water area
+ if (IPD_Data(nb)%Coupling%ficein_cpl(ix) > one-epsln) IPD_Data(nb)%Coupling%ficein_cpl(ix)=one
+ if (IPD_Data(nb)%Coupling%ficein_cpl(ix) >= IPD_control%min_seaice) then
+ if (abs(one-IPD_Data(nb)%Sfcprop%oceanfrac(ix)) < epsln) IPD_Data(nb)%Sfcprop%slmsk(ix) = 2. !slmsk=2 crashes in gcycle on partial land points
@shansun6 <https://github.com/shansun6>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYXVTNUA2ECEWFKHJN3RIEH7JANCNFSM4LNP2OIA>
.
--
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental
Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel: (301)683-3718
e-mail: Shrinivas.Moorthi@noaa.gov
Phone: (301) 683-3718 Fax: (301) 683-3718
|
@shansun6 please check with @SMoorthi-emc on what is correct and what not. Can this be fixed in a follow-up PR? Otherwise we have to start from scratch and rerun all the regression tests again. |
Hi Dom,
Am checking. Will chat with Moorthi separately.
Shan
…On Wed, Mar 18, 2020 at 1:45 PM Dom Heinzeller ***@***.***> wrote:
I am afraid the correct lines would be "
IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero, min(one,
datar8(i,j)/IPD_Data(nb)%Sfcprop%oceanfrac(ix))) !LHS: ice frac wrt water
area + if (IPD_Data(nb)%Coupling%ficein_cpl(ix) >= IPD_control%min_seaice)
then + IPD_Data(nb)%Sfcprop%slmsk(ix) = 2" Moorthi
… <#m_5808082259268884242_>
@shansun6 <https://github.com/shansun6> please check with @SMoorthi-emc
<https://github.com/SMoorthi-emc> on what is correct and what not. Can
this be fixed in a follow-up PR? Otherwise we have to start from scratch
and rerun all the regression tests again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALORMVXPSBNLHJKBANK37O3RIEQDTANCNFSM4LNP2OIA>
.
|
…ework and ccpp-physics
The differences between the regression tests are:
|
IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero, min(one, datar8(i,j)/IPD_Data(nb)%Sfcprop%oceanfrac(ix))) !LHS: ice frac wrt water area | ||
if (IPD_Data(nb)%Coupling%ficein_cpl(ix) > one-epsln) IPD_Data(nb)%Coupling%ficein_cpl(ix)=one | ||
if (IPD_Data(nb)%Coupling%ficein_cpl(ix) >= IPD_control%min_seaice) then | ||
if (abs(one-IPD_Data(nb)%Sfcprop%oceanfrac(ix)) < epsln) IPD_Data(nb)%Sfcprop%slmsk(ix) = 2. !slmsk=2 crashes in gcycle on partial land points |
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.
I see, thanks.
IPD_Data(nb)%Coupling%slimskin_cpl(ix) = zero | ||
else | ||
IPD_Data(nb)%Coupling%ficein_cpl(ix) = zero | ||
if (abs(one-IPD_Data(nb)%Sfcprop%oceanfrac(ix)) < epsln) then |
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.
Thanks for the explanation.
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.
gcycle still need changes for use with fractional grid.
Thanks! Yes, I believe we all agreed to make this a standalone commit ( |
Dom,
This comment is not related to my version of gcycle; even that will need
update for the fractional grid.
Moorthi
…On Thu, Mar 19, 2020 at 10:07 AM Dom Heinzeller ***@***.***> wrote:
gcycle still need changes for use with fractional grid.
Thanks! Yes, I believe we all agreed to make this a standalone commit (
gcycle.F90,sfcsub.F) since it changes the answer of all tests.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYSDJUHBBXBZ2RXQMSLRIIREJANCNFSM4LNP2OIA>
.
--
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental
Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel: (301)683-3718
e-mail: Shrinivas.Moorthi@noaa.gov
Phone: (301) 683-3718 Fax: (301) 683-3718
|
Jessica, If you find the differences in your new test are caused by the change in this commit, please create a separate issue, we will work on that. At this time, we will commit this pull request. |
See ufs-community/ufs-weather-model#84 for a description of the changes.
Associated PRs:
NOAA-EMC/NEMS#43
NCAR/ccpp-physics#410
NCAR/ccpp-framework#268
#81
ufs-community/ufs-weather-model#84
See ufs-community/ufs-weather-model#84 for regression testing information.