Skip to content
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

Background effective radius consistency fix #1295

Merged
merged 7 commits into from
Oct 20, 2020

Conversation

juhyejuhye
Copy link
Contributor

FARMS correctly detects unresolved clouds

TYPE: bug fix

KEYWORDS: FARMS, effective radius of unresolved hydrometeors, cloud fraction

SOURCE: Ju-Hye Kim and Pedro A. Jimenez (NCAR/RAL), and Jimy Dudhia (NCAR/MMM)

DESCRIPTION OF CHANGES:
Problem:
The previous version of FARMS did not correctly account for the radiative effects of unresolved clouds, because the FARMS calculates the surface irradiances using both cloud water contents and cloud effective radii. In previous version, cloud water contents came from both resolved and unresolved clouds, on the other hand, effective radii came only from resolved clouds.

Solution:
The climatological effective radii are assigned to unresolved clouds of liquid, ice and snow species, and are specified as the effective radii of clouds in microphysics schemes (e.g. mp=2) that do not provide any effective radii. The fix is also valid for Thompson MPs, WSMMPs, and WDMMPs by adjusting the background effective radii of these schemes. In addition to this, we improved calculations of surface irradiance by adding cloud fraction to the FARMS scheme.

ISSUE: N/A

LIST OF MODIFIED FILES:
M phys/module_mp_thompson.F
M phys/module_mp_wdm5.F
M phys/module_mp_wdm6.F
M phys/module_mp_wdm7.F
M phys/module_mp_wsm3.F
M phys/module_mp_wsm5.F
M phys/module_mp_wsm6.F
M phys/module_mp_wsm7.F
M phys/module_physics_init.F
M phys/module_ra_farms.F
M phys/module_radiation_driver.F

TESTS CONDUCTED:

  1. Do mods fix problem? How can that be demonstrated, and was that test conducted?

Yes. The downward short wave flux (GHI) will increase in the cloud region with unresolved clouds by reduced scatterings due to increased cloud size. This was tested in the WRF-Solar model.

  1. Are the Jenkins tests all passing?

We did't do the Jenkins tests.

RELEASE NOTE: Bug fix to account for the effective radius of the unresolved hydrometeors by FARMS.

  1) Detect unresolved clouds
  2) Add horizontal cloud fraction to calculate surface irradiances
  3) Change cloud effective radii to local variables
@juhyejuhye juhyejuhye requested review from a team as code owners September 28, 2020 20:58
@davegill
Copy link
Contributor

@juhyejuhye @dudhia @weiwangncar
Folks,
There are IDENTICAL settings in the modified MP schemes to set the effective radii. These constants should probably be set once in share/module_model_constants.F, and then assigned in each of the modified MP schemes.

@weiwangncar
Copy link
Collaborator

@juhyejuhye Does change the default constants change the results WITHOUT FARMS?

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Sep 29, 2020 via email

@weiwangncar
Copy link
Collaborator

@juhyejuhye Do you expect results to be different without FARMS? If not, we should check for bit-for-bit results using diffwrf utility in external/io_netcdf/. Run WRF with previous constants and new and use diffwrf to compare the results: diffwrf file1 file2. And what's reason to change the constants, some of them only slightly (e.g. 2.49e-6 to 2.51e-6)?

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Sep 29, 2020 via email

@weiwangncar
Copy link
Collaborator

weiwangncar commented Sep 29, 2020

@juhyejuhye OK. Can you then show some of the differences from the runs? It could be surface rainfall, surface temperature, or downward shortwave flux, and so on.

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Sep 29, 2020 via email

@weiwangncar
Copy link
Collaborator

@juhyejuhye Thanks. Do we need to get the developers for WSM/WDM to agree on the change?

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Sep 30, 2020 via email

@davegill davegill changed the base branch from master to release-v4.2.2 September 30, 2020 14:35
@weiwangncar
Copy link
Collaborator

@juhyejuhye Thanks. But your figures were not posted. Can you try again?

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Sep 30, 2020 via email

@juhyejuhye
Copy link
Contributor Author

1_mean_swdown
2_diff_mean_swdown

Can you see?
Ju-Hye

@weiwangncar
Copy link
Collaborator

@juhyejuhye Yes, I can see now. Thanks.

@juhyejuhye juhyejuhye requested a review from a team as a code owner October 6, 2020 05:49
@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Oct 6, 2020 via email

@weiwangncar
Copy link
Collaborator

@juhyejuhye Thanks for addressing my questions. I'm ok with this PR. Could you add a comment in the PR (if it is appropriate) to state that it will have up to 30 (or another number) Wm-2 impact on the clear sky GHI for the WSM/WDM schemes. I have to say I'm still not clear about this: the background effective radii have an impact on radiation flux. So simply by turning on this option we get less radiation flux even without clouds? What does the background value represent?

@dudhia
Copy link
Collaborator

dudhia commented Oct 6, 2020 via email

@weiwangncar
Copy link
Collaborator

@dudhia So you're saying that by reducing the background radius values for these species, the effective radii from a microphysics would be used more than the RRTMG climatology, and hence the differences in radiation fluxes.

@dudhia
Copy link
Collaborator

dudhia commented Oct 6, 2020 via email

@weiwangncar
Copy link
Collaborator

@dudhia Thanks for the explanation. I'm less confused now...

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Oct 6, 2020 via email

@dudhia
Copy link
Collaborator

dudhia commented Oct 6, 2020 via email

@weiwangncar
Copy link
Collaborator

weiwangncar commented Oct 7, 2020

@juhyejuhye Since these are not just fixes for FARMS, the title of this PR, as well as the RELEASE NOTE, should be updated to reflect the actual change.

@dudhia
Copy link
Collaborator

dudhia commented Oct 7, 2020 via email

@juhyejuhye
Copy link
Contributor Author

juhyejuhye commented Oct 7, 2020 via email

@dudhia dudhia changed the title Farms fixes Background effective radius consistency fix Oct 7, 2020
@dudhia
Copy link
Collaborator

dudhia commented Oct 7, 2020 via email

@dudhia dudhia merged commit 306616c into wrf-model:release-v4.2.2 Oct 20, 2020
@juhyejuhye juhyejuhye deleted the farms_fixes branch December 2, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants