-
Notifications
You must be signed in to change notification settings - Fork 153
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
Surface upward heat fluxes for coupling are not properly calculated when (cplaqm .and. .not.cplflx) is ture in GFS_PBL_generic_post.F90 #945
Closed
ChunxiZhang-NOAA opened this issue
Jul 11, 2022
· 3 comments
· Fixed by #962, NOAA-EMC/fv3atm#578 or ufs-community/ufs-weather-model#1399
Closed
Surface upward heat fluxes for coupling are not properly calculated when (cplaqm .and. .not.cplflx) is ture in GFS_PBL_generic_post.F90 #945
ChunxiZhang-NOAA opened this issue
Jul 11, 2022
· 3 comments
· Fixed by #962, NOAA-EMC/fv3atm#578 or ufs-community/ufs-weather-model#1399
Labels
Comments
Has there been a PR submitted for this? @ChunxiZhang-NOAA |
@bbakernoaa No, I haven't submitted a PR for this issue. I will submit one soon. |
Ok This is a big issue for the development of the Online-CMAQ. Let's do
what we can to push this faster.
Barry Baker
National Oceanic and Atmospheric Administration
Air Resources Laboratory
Physical Research Scientist
Chemical Modeling and Emissions Group Leader
NCWCP, R/ARL, Rm. 4204
5830 University Research Court
College Park, Maryland 20740
Phone: (301) 683-1395
…On Fri, Aug 12, 2022 at 11:37 AM ChunxiZhang-NOAA ***@***.***> wrote:
@bbakernoaa <https://github.com/bbakernoaa> No, I haven't submitted a PR
for this issue. I will submit one soon.
—
Reply to this email directly, view it on GitHub
<#945 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIUVN3AMAHNN5ZKHXNIEB3VYZVULANCNFSM53I4K6TA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This was referenced Aug 16, 2022
rmontuoro
added a commit
to rmontuoro/ccpp-physics
that referenced
this issue
Aug 22, 2022
This was referenced Aug 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In GFS_PBL_generic_post.F90, when AQM model is on and condition (cplaqm .and. .not. cplflx) is true, the model will crash due to unallocated variables dtsfc_cice and dqsfc_cice in GFS_typedefs.F90 (dtsfcin_cpl and dqsfcin_cpl accordingly). The following is the slice of the code:
if (cplaqm .and. .not.cplflx) then
do i=1,im
if (oceanfrac(i) > zero) then ! Ocean only, NO LAKES
if ( .not. wet(i)) then ! no open water
if (kdt > 1) then !use results from CICE
dtsfci_cpl(i) = dtsfc_cice(i)
dqsfci_cpl(i) = dqsfc_cice(i)
else !use PBL fluxes when CICE fluxes is unavailable
dtsfci_cpl(i) = dtsfc1(i)hffac(i)
dqsfci_cpl(i) = dqsfc1(i)
end if
elseif (icy(i) .or. dry(i)) then ! use stress_ocean from sfc_diff for opw component at mixed point
rho = prsl(i,1) / (rdt1(i)(one+fvirtmax(q1(i), qmin)))
dtsfci_cpl(i) = cp * rho * hflx_wat(i) ! sensible heat flux over open ocean
dqsfci_cpl(i) = hvap * rho * evap_wat(i) ! latent heat flux over open ocean
else ! use results from PBL scheme for 100% open ocean
dtsfci_cpl(i) = dtsfc1(i)*hffac(i)
dqsfci_cpl(i) = dqsfc1(i)
endif
endif ! Ocean only, NO LAKES
enddo
end if
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Additional Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Output
Please include any relevant log files, screenshots or other output here.
The text was updated successfully, but these errors were encountered: