-
Notifications
You must be signed in to change notification settings - Fork 726
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
Modifications to improve WRF-CTSM coupling #1355
Conversation
@negin513 @mgduda @dudhia @weiwangncar |
I had an email response that seems to have failed to be delivered to github. This was as follows. |
Thanks @dudhia for your comment. For more clarification, I've added a few lines of comments to the code. WRF/phys/module_surface_driver.F Lines 3898 to 3901 in 1acbe6a
Specifically about the great lakes, before they were treated as ocean but now they are going through CTSM lake model. |
@weiwangncar @dudhia @smileMchen |
Yes, this mask should come with the correct geogrid MODIS choice.
21-category, I think.
…On Fri, Feb 19, 2021 at 8:13 AM Dave Gill ***@***.***> wrote:
@weiwangncar <https://github.com/weiwangncar> @dudhia
<https://github.com/dudhia> @smileMchen <https://github.com/smileMchen>
Folks,
How do we get the lakemask field that I was recommending that Negin use?
In the Registry.EM, LAKEMASK is an i1 for I/O, so it is supposed to come
into real from metgrid.
I do not see this field in a few of the met_em* files that I have.
Do we have to input geogrid static data that includes lakes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1355 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77HCUTAUJ4BFRBGI4B3S7Z5YZANCNFSM4VORKOEQ>
.
|
@davegill @dudhia It is in real that the field LAKEMASK is created, and it is created based on LU_INDEX: |
@negin513 Even small diffs show:
|
@davegill and @dudhia : ΔT2 is old version-new version. The new version contains the mods that WRF committee asked. This means that over the lakes the new version is 5-10% dryer than the old version. |
Just for sanity check, I compared RH at 2m from both the old version and the new version of WRF-CTSM ( with and without recent mods) with NOAH-MP and this is the results: By the "old" version of WRF-CTSM, I mean the version where xland = 1 was changed to 1 over the lakes. The new version of WRF-CTSM, we did not modify xland and instead we used a temporary local parameter called (xland_ctsm) in the CTSM driver which is 1 for the lake points. |
I'm ok with this PR. |
Summary Part 1Here is a summary of discussions and thoughts on this PR. @dlawrenncar and Fei Chen suggested that they would like CTSM lake model to handle lake points rather than WRF slab model. ESCOMP/CTSM#1092 At first, we used the logic At this point the code looked like the following: WRF/phys/module_surface_driver.F Lines 3898 to 3910 in 15981e1
Next, @davegill recommended not using the first two parts of the logic (
After applying this comment to the code, it looks like the following: !For WRF-CTSM simulations, we would like the land model (CTSM)
! to handle inland lake points.
! Here, we are changing xland to include lake points, so that
! CTSM can handle it.
DO j=j_start(ij),j_end(ij)
DO i=i_start(ij),i_end(ij)
IF (lakemask(i,j).eq.1. ) THEN
WRITE( message,* ) 'WRF-CTSM: for great lakes xland ==1'
CALL wrf_message ( message )
xland (i,j) = 1
ENDIF
ENDDO
ENDDO At this point, @dudhia suggested making sure that the Great Lakes are indeed included in the
|
Summary Part 2Next, we had a meeting with the WRF committee (@davegill , @dudhia ,@weiwangncar, and @smileMchen) for approving this PR. In this meeting, Ming Chen and @weiwangncar suggested not modifying At this point, we introduced a new local parameter called I accepted this change as I initially thought the results will be BFB. After discussions with @slevisconsulting and @davegill, I was convinced that the resulting change was normal and should have been expected. Not changing the original Below shows the difference between T2 and RH for one week in 2013-04:
This change was made because WRF will handle the transferred CTSM fluxes differently over water than over land points. |
@davegill , @dudhia , @weiwangncar , @smileMchen, I would like to once again confirm if the followings are true with this change:
|
For confirming that in the WRF-CTSM settings, CTSM values over lake points are being transferred correctly and not being over-written by WRF, @dlawrenncar suggested the following experiment: In this experiment, over the lake points in CTSM initial conditions, we set values higher than ordinary (For example 60 °C = 333.15 K). If the fluxes from CTSM over lake points are being used in WRF, we should see its impact in the WRF output files. Following this experiment, we can clearly see the fluxes from CTSM over the lake points in the WRF output, which confirms that CTSM values over the lake points are not being over-written by WRF. Here I attached a few plots showing different variables. First, the following plot shows upward heat flux at the surface (HFX) from wrfout files for a one-week of simulation (first week of 2013-04). Here we can clearly see the signals from CTSM initial conditions over lakes. The following plot shows the temperature at 2m (T2) from wrfout files for a one-week simulation: This plot shows skin surface temperature (TSK) from wrfout for one day of simulation: In conclusion, we can confirm that WRF-CTSM coupling is working correctly over lakes and fluxes from CTSM over the lake points are being used in WRF. |
TYPE: enhancement KEYWORDS: WRF-CTSM coupling, Community Terrestrial Systems Model (CTSM), Community Land Model (CLM), coupled land-atmosphere models SOURCE: Negin Sobhani <sup>1</sup> , Dave Lawrence <sup>1</sup> , Sam Levis <sup>2</sup> , Bill Sacks<sup>1</sup> <sup>1</sup> National Center for Atmospheric Research (NCAR) <sup>2</sup> SLevis Consulting DESCRIPTION OF CHANGES: This PR includes some modifications that improve WRF-CTSM coupling including the capability to handle lake points by CTSM instead of WRF. Problem: Previously lake points were not handled by the CTSM model; however, the CTSM community prefers lake points to be handled by CTSM lake model. This PR adds the capability to handle lake points by CTSM model. Solution: For solving this problem in `module_surface_driver.F`, we used ~~`xland(i,j) .gt. 1.5 .and. ht(i,j).gt.lake_min_elev`~~ `lakemask(i,j).eq.1.` logic. For CTSM cases we changed a local copy of `xland` (called `ctsm_xland`) for the lake points to 1, so that CTSM receives the lake points. LIST OF MODIFIED FILES: M phys/module_surface_driver.F M share/module_soil_pre.F TESTS CONDUCTED: 1. Following are a couple of figures, depicting a particular period's lakemask over CONUS, for both the input and theWRF model output. Specifically, the Great Lakes were part of the concern with this PR, and they are indeed represented as part of the lake identified cells. Model input:  Model output:  2. Figures of low-level temperature and moisture for a 1-week simulation, without spectral nudging. 2-meter temperature: Here is the plot showing ΔT2 for the first week of 2013-04. ΔT2 is old version-new version. The new version contains the local xland mods requested by the WRF committee.  2-meter RH. There is ~ a 5-10% difference in RH at 2m between the old and new versions over all the inland lakes. ΔRH2 is old version-new version. This means that over the lakes, the new version is 5-10% dryer than the old version.  3. Jenkins tests are passing.
TYPE: enhancement
KEYWORDS: WRF-CTSM coupling, Community Terrestrial Systems Model (CTSM), Community Land Model (CLM),
coupled land-atmosphere models
SOURCE: Negin Sobhani 1 , Dave Lawrence 1 , Sam Levis 2 , Bill Sacks1
1 National Center for Atmospheric Research (NCAR)
2 SLevis Consulting
DESCRIPTION OF CHANGES:
This PR includes some modifications that improve WRF-CTSM coupling including the capability to handle lake points by CTSM instead of WRF.
Problem:
Previously lake points were not handled by the CTSM model; however, the CTSM community prefers lake points to be handled by CTSM lake model. This PR adds the capability to handle lake points by CTSM model.
Solution:
For solving this problem in
module_surface_driver.F
, we usedxland(i,j) .gt. 1.5 .and. ht(i,j).gt.lake_min_elev
lakemask(i,j).eq.1.
logic. For CTSM cases we changed a local copy ofxland
(calledctsm_xland
) for the lake points to 1, so that CTSM receives the lake points.LIST OF MODIFIED FILES:
M phys/module_surface_driver.F
M share/module_soil_pre.F
TESTS CONDUCTED:
Model input:

Model output:

2-meter temperature: Here is the plot showing ΔT2 for the first week of 2013-04. ΔT2 is old version-new version.

The new version contains the local xland mods requested by the WRF committee.
2-meter RH. There is ~ a 5-10% difference in RH at 2m between the old and new versions over all the inland lakes.

ΔRH2 is old version-new version. This means that over the lakes, the new version is 5-10% dryer than the old version.