-
Notifications
You must be signed in to change notification settings - Fork 700
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
CLWRF tracer gases are not used in RRTMG shortwave code #1597
Comments
The easiest fix is to duplicate the longwave call to CAMgases. This keeps
them from relying on each other.
…On Fri, Dec 10, 2021 at 11:17 AM weiwangncar ***@***.***> wrote:
*Describe the bug*
CLWRF tracer gases are not used in RRTMG shortwave code
The code to use CLWRF tracer gases was added to the model in 2013. The
option is available to a few radiation options: RRTM lw, CAM lw and sw,
RRTMG lw. The option is activated by adding a compile option -DCLWRFGHG to
configure.wrf file on the ARCH_LOCAL line.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1597>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77F2KS6XGXQTD4WNILDUQI733ANCNFSM5JZXRUJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Comment from Jesus Fernandez of Instituto de Fisica de Cantabria CSIC-UC, Santander, Spain: I'd say it is intentional, but not ideal. If I remember correctly, GHG variation was started by us in U. Cantabria, where Lluis Fita modified the CAM radiation code (thus, the CAMtr naming of the GHG files), which included both SW and LW. This procedure was ported to RRTM in UNSW (Australia), which only handled LW radiation and was typically used in combination with the Dudhia SW scheme. I guess this moved to the LW component of RRTMG when this scheme appeared. I think there is a need to define the forcings in a consistent way across all physics schemes. E.g. there are also inconsistencies with the NoahMP CO2 levels (SantanderMetGroup/WRF4G#30), which may affect evapotranspiration through stomatal resistance. This PR only updated the static files with the GHG concentrations, though. No changes were done to the code. Maybe this discussion should be moved to a new issue. |
@dudhia @jesusff We are looking into this because we are thinking of using the tracer gas data for all WRF runs since the datasets have historical values, and it should be better than using a single constant for all cases. Like Jimy said, we could move similar code from RRTMG lw to RRTMG sw to enhance the capability. Currently, the data is interpolated for every radiation step. I'd say we probably could change that to once every day. I'd also prefer to add this as a namelist option rather than compile option. Comments? |
|
@davegill Regarding item 2, the code reads the data every time, and from the radiation routine (no broadcasting needed), but the time is indeed negligible. I just think it is not necessary. This option is added to RRTMG fast, so we probably should correct that option. But the KIM RRTMG may not be modified - it doesn't use it currently. |
@weiwangncar |
@jesusff Are files CAMtr_volume_mixing_ratio.A2 and CAMtr_volume_mixing_ratio.A1B used? If so when would they be used? |
Hi, even if the effect will arguably be much smaller for SW than for the LW, I agree that a consistent forcing should be used. I'd also be happy to see it converted into a namelist option, rather than having to recompile the model to activate it. For climate simulation, variable GHG is important even for evaluation runs nested into reanalysis (https://doi.org/10.1038/s41467-018-03527-y) and its use has been adopted in the latest CORDEX protocol (https://cordex.org/wp-content/uploads/2021/05/CORDEX-CMIP6_exp_design_RCM.pdf). For consistency, I think it would also be useful for shorter, past case studies, since the GHG concentrations are usually hard coded into the different parameterizations with values according to the levels at the time of developing or updating the code, which can be quite different from the values during a particular case study. @weiwangncar A2 and A1B files correspond to the GHG scenarios used in the IPCC AR3 and AR4. They are quite old now (proposed in 2000), and unlikely to be used today for any simulation. They could be used to try to reproduce older runs, though. Although they were packed into older WRF releases, so they could be removed from current releases if this is why you are raising the question. I would say RCPs (AR5) and SSPs (AR6) will be the ones used. Finally, we could take the opportunity to change the name of the input file to remove the CAM mention, which is misleading. Or leave it to the user, with an option such as:
or like
Although this naming would be climate-oriented and maybe misleading for other uses, where the variability of GHG is not the important aspect, but the specific fixed values used. Maybe:
What would happen when this option is set to false? Back to hard-coded values in the different parameterizations? |
Thanks @jesusff for noticing me about this. |
@LluisFB I prepared some of the SSP concentrations that are now available (#1553). Not all combinations, but just the more standard ones and including those to be used in CORDEX. The code producing these new files is here https://github.com/SantanderMetGroup/wrf-ghg-files and could be used to generate other files. |
For now, we just want to make it the default in the radiation schemes that
already have it plus RRTMG SW.
This is probably as much as we can do for this release,
Jimy
…On Mon, Dec 13, 2021 at 5:55 AM Jesus Fernandez ***@***.***> wrote:
@LluisFB <https://github.com/LluisFB> I prepared some of the SSP
concentrations that are now available. Not all combinations, but just the
more standard ones and including those to be used in CORDEX. The code
producing these new files is here
https://github.com/SantanderMetGroup/wrf-ghg-files and could be used to
generate other files.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1597 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77FDRIPSNSKNIDSERATUQXUNTANCNFSM5JZXRUJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
We also likely will only update the input once per day to save calculations.
…On Mon, Dec 13, 2021 at 9:18 AM Jimy Dudhia ***@***.***> wrote:
For now, we just want to make it the default in the radiation schemes that
already have it plus RRTMG SW.
This is probably as much as we can do for this release,
Jimy
On Mon, Dec 13, 2021 at 5:55 AM Jesus Fernandez ***@***.***>
wrote:
> @LluisFB <https://github.com/LluisFB> I prepared some of the SSP
> concentrations that are now available. Not all combinations, but just the
> more standard ones and including those to be used in CORDEX. The code
> producing these new files is here
> https://github.com/SantanderMetGroup/wrf-ghg-files and could be used to
> generate other files.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1597 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEIZ77FDRIPSNSKNIDSERATUQXUNTANCNFSM5JZXRUJA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
And I guess there is no neither time to code the generic time-interpolation subroutine as a way to prepare the code for a further extension to the other schemes. Following @jesusff suggestions about the seasonality, I found there is also a vertical profile of the CO2 concentrations, see for example: but this is even further beyond... |
We find that RRTMG probably accounts for the majority of users, or they can
be persuaded to use this. These days we emphasize suites and RRTMG is in
all ours, I believe.
…On Mon, Dec 13, 2021 at 11:12 AM LluisFB ***@***.***> wrote:
And I guess there is no neither time to code the generic
time-interpolation subroutine as a way to prepare the code for a further
extension to the other schemes.
Following @jesusff <https://github.com/jesusff> suggestions about the
seasonality, I found there is also a vertical profile of the CO2
concentrations, see for example:
https://acp.copernicus.org/articles/11/2455/2011/acp-11-2455-2011.pdf
but this is even further beyond...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1597 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77CHF3Z4M42LHGBRZF3UQYZQHANCNFSM5JZXRUJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@jesusff @LluisFB Please see the latest PR#1625 for updating this option from compile one to a runtime one. In order for these files to be used by historical cases, we need the data to reflect that. But I noticed that the data in files *.RCP4.5/6/8.5 begin to diverge from year 2006. Do we have data to fill years from 2006 up to now? Is the data from SSP files more up to date? |
Yes, SSPs are more up to date. The period based on historical data reaches 2014 in SSP. An intermediate pathway (e.g. SSP245) could be used as default for past runs since there is no much difference among scenarios in the 2015-2021 period. |
@jesusff Thank you very much. I checked the SPP files, the values for all 5 gases are the same up to year 2014. For 2015, only ch4 is slightly different, but all 5 gases are the same again for 2016. They become different from 2017 onward. Are you sure it is not typo in the 2015/ch4 data? Just wanted to confirm again that if a user wants to simulate the weather for today (Jan 2022), the data from *.SPP245 is ok to use. Also how often will the data be updated in the future? |
Hi Wei, yes, historical values are up to 2014. I just checked the original source of my files and it is true that there is only a slight change in the 6th significant digit in 2015 for CH4, and then diverge more clearly from 2017 on. There is an interactive tool to explore the concentrations. E.g. for methane: https://greenhousegases.science.unimelb.edu.au/#!/ghg?ghg=30&mode=yearly-gmnhsh. Note also that this change of a few ppb along a decade or or so by changing the future scenario is much smaller than e.g. the 50 ppb difference between the global mean concentration and hemispheric values (see the comparison in the second plot in the above interactive tool). For the sake of simplicity for the users and backward compatibility with the RCP files, I used the global mean. Yearly hemispheric or even monthly latitudinal data could be considered by more advanced users. Interpolation for monthly data would not work out of the box, though, since only years are supposed to be read from the first column of these files at the moment. These data are collected as input for CMIP experiments with a frequency of about 7 years. We should expect in short an update to be used by CMIP7 with historical data up to 2021 or so. Note also that despite being "historical", the values might differ slightly for common years, as they do for instance between RCPs ans SSPs before 2005. |
For CO2 there are more recent historical estimates from NOAA (ftp://ftp.cmdl.noaa.gov/ccg/co2/trends/co2_annmean_gl.txt , https://www.co2.earth/annual-co2). They are within 2 ppm of any of the SSP scenarios for the period 2015-2020. |
TYPE: enhancement KEYWORDS: GHG, run-time, radiation, green house gas SOURCE: internal DESCRIPTION OF CHANGES: This PR improves the way to handle green house gases in radiation schemes (CAM, RRTMG, RRTMGF, RRTM). Previously green house gases (GHGs) were either specified to be constant values or read from historical gas concentration datasets (CAMtr). Note that the latter only worked when the WRF code was compiled with the macro flag `-DCLWRFGHG`. This PR modifies the radiation schemes so that input of GHG concentration from CAMtr becomes a run-time option. The old approach of specifying a time invariant value for the GHG concentrations remains available for backward consistency. This PR is a reworking of "Run-time option of GHG concentration from various climate RCPs" wrf-model#1611. ISSUE: CLWRF tracer gases are not used in RRTMG shortwave code Fixes wrf-model#1597 LIST OF MODIFIED FILES: M Makefile M Registry/Registry.EM_COMMON M clean M dyn_em/module_first_rk_step_part1.F M dyn_em/start_em.F M main/depend.common M phys/module_physics_init.F M phys/module_ra_cam.F M phys/module_ra_cam_support.F M phys/module_ra_clWRF_support.F M phys/module_ra_rrtm.F M phys/module_ra_rrtmg_lw.F M phys/module_ra_rrtmg_lwf.F M phys/module_ra_rrtmg_sw.F M phys/module_ra_rrtmg_swf.F M phys/module_ra_sw.F M phys/module_radiation_driver.F M run/README.namelist M share/module_check_a_mundo.F M share/output_wrf.F TESTS CONDUCTED: After all of the commits, testing conducted by Ming Chen: 1. Shown below are differences in T2, LWDNB and SWDNB between RRTMG runs with GHG_INPUT=1 and GHG_INPUT=0 after 18 hours of integration. This is a case initialized at 00 UTC 23 February 2017. We do see impacts caused by GHG changes. <img width="372" alt="T2" src="https://user-images.githubusercontent.com/17932265/149973558-4f654474-f107-4118-9ec4-132f43efd59b.png"> <img width="399" alt="LWDNB" src="https://user-images.githubusercontent.com/17932265/149973580-fa0415d0-96d5-4fad-9a5f-7c2d70e73969.png"> <img width="343" alt="SWDNB" src="https://user-images.githubusercontent.com/17932265/149973603-0f1fce93-e944-4d53-aaa4-46d3639365df.png"> 2. Results here show the differences in T2 and LWDNB after 1-hour of integration between runs with specified and time-varying greenhouse gases, respectively. This is a case using RRTMG radiation scheme. <img width="435" alt="t2new" src="https://user-images.githubusercontent.com/17932265/150200146-4483eb33-3e3c-452b-a3d7-4dc4e26fda24.png"> <img width="445" alt="lwdnbnew" src="https://user-images.githubusercontent.com/17932265/150200167-fb4ef228-4434-4397-9c30-e17825343b7f.png"> RELEASE NOTE: Climatology green house gas (GHG) concentrations from a number of RCPs and newer SSPs are now a run-time option in the WRFV4.4 (previously, they were a compile-time option). This serves two purposes: 1) Since the data files provide compiled global climatological values for co2, n2o, ch4, cfc11 and cfc12 up to 2006 for RCPs and 2014 for SSPs, they are better estimates for historical and current runs. 2) If users have values of their own, they can be easily added to the data file. The user specifies `ghg_input=1` in the physics namelist record for climatology, which is the default in v4.4, or `ghg_input=0` for constant values for backward compatibility. The default file used is CAMtr_volume_mixing_ratio.SSP245, added to the model via PR#[1553](wrf-model#1553). A simple function for CO2 is now the default when choosing to not use the climo GHG files for RRTM - previously this function is only in RRTMG schemes. This option is only available for radiation schemes of CAM, RRTMG, RRTMGF and RRTM.
Describe the bug
CLWRF tracer gases are not used in RRTMG shortwave code
The code to use CLWRF tracer gases was added to the model in 2013. The option is available to a few radiation options: RRTM lw, CAM lw and sw, RRTMG lw. The option is activated by adding a compile option -DCLWRFGHG to configure.wrf file on the ARCH_LOCAL line.
A question posted to the original contributor, Jesus Fernandez, is if this is intentional?
The text was updated successfully, but these errors were encountered: