-
Notifications
You must be signed in to change notification settings - Fork 701
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
Add CAMtr_volume_mixing_ratio for SSPs #1553
Conversation
New CAMtr_volume_mixing_ratio files were generated following the Shared Socioeconomic Pathways (SSP) used in CMIP6 scenarioMIP simulations. This files allow for a consistent GHG concentration in the driving CMIP6 GCM fields and a nested WRF climate simulation. See https://github.com/SantanderMetGroup/wrf-ghg-files for more details on these files, the source code used to generate them, and a comparison with the existing RCP files. These files correspond to release v0.1 in that repo (v1.2.0/historical and v1.2.1/scenario in the original input4MIP source).
Thanks. This looks like a nice contribution for us. It should not be aimed
at master,
but rather develop or release-v4.3.1.
…On Fri, Sep 10, 2021 at 4:57 AM Jesus Fernandez ***@***.***> wrote:
Add CAMtr_volume_mixing_ratio files for CMIP6 SSPs
TYPE: enhancement
KEYWORDS: CMIP6, GHG, SSP, climate, radiation
SOURCE: Jesus Fernandez (Instituto de Fisica de Cantabria CSIC-UC,
Santander, Spain)
DESCRIPTION OF CHANGES:
Problem:
Missing GHG concentration files for the new Shared Socioeconomic Pathways
used in CMIP6 and IPCC AR6
Solution:
Add corresponding GHG concentration files using global average data
provided via input4MIP
ISSUE:
LIST OF MODIFIED FILES:
A run/CAMtr_volume_mixing_ratio.SSP119
A run/CAMtr_volume_mixing_ratio.SSP126
A run/CAMtr_volume_mixing_ratio.SSP245
A run/CAMtr_volume_mixing_ratio.SSP370
A run/CAMtr_volume_mixing_ratio.SSP585
TESTS CONDUCTED:
1. Model runs with new files, which are just ASCII files formatted
exactly as the existing ones for RCPs
RELEASE NOTE:
Add CAMtr_volume_mixing_ratio files for CMIP6 SSPs (
https://doi.org/10.5281/zenodo.5499932)
------------------------------
You can view, comment on, or merge this pull request online at:
#1553
Commit Summary
- Add CAMtr_volume_mixing_ratio for SSPs
File Changes
- *A* run/CAMtr_volume_mixing_ratio.SSP119
<https://github.com/wrf-model/WRF/pull/1553/files#diff-cda9bcd857e3aabb8b67bdd5b47facb54b85e9cb284cefa9105001bb48590bad>
(737)
- *A* run/CAMtr_volume_mixing_ratio.SSP126
<https://github.com/wrf-model/WRF/pull/1553/files#diff-69ea596d49de1bb65a465ad2cce391b24ac3c777bbac97bb7be48847255db973>
(737)
- *A* run/CAMtr_volume_mixing_ratio.SSP245
<https://github.com/wrf-model/WRF/pull/1553/files#diff-734a7aed15f9e16f13a051412b4b51ad0acb755566e388aa447a3d6772c60f97>
(737)
- *A* run/CAMtr_volume_mixing_ratio.SSP370
<https://github.com/wrf-model/WRF/pull/1553/files#diff-357b25a8377d4de13002e295747dfd2f48458bac2b5e3abd4f58d1258b37f6bf>
(737)
- *A* run/CAMtr_volume_mixing_ratio.SSP585
<https://github.com/wrf-model/WRF/pull/1553/files#diff-539f522c370a5ba477b1b65176a3e05f683271bfe84e4f3264fa7e8297a4d368>
(737)
Patch Links:
- https://github.com/wrf-model/WRF/pull/1553.patch
- https://github.com/wrf-model/WRF/pull/1553.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1553>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77BBWA2PP22P7R5H7RDUBHQCBANCNFSM5DZCWMRA>
.
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>.
|
Ups, sorry. I branched off from master. It should merge cleanly on any branch, though, since these are just new files. I aimed it now to develop, so you can include it in any future release at your convenience. |
We have to check which tests fail, but it may be something we can ignore and will confirm that later. |
@jesusff If you receive any test results from [email protected], please post it in the comments for others to see. Check your spam folder if necessary. |
Dear @weiwangncar , I didn't receive any jenkins results (spam checked also). The "details" link to the failing test in this conversation keeps timing out. |
Yes, the link has never worked. We can try to find out somehow. Seems you
are just adding
data files, so it is not likely to be a real problem.
…On Mon, Sep 13, 2021 at 5:11 AM Jesus Fernandez ***@***.***> wrote:
Dear @weiwangncar <https://github.com/weiwangncar> , I didn't receive any
jenkins results (spam checked also). The "details" link to the failing test
in this conversation keeps timing out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1553 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77E5FZFQOD6JUFSXB7LUBXL5LANCNFSM5DZCWMRA>
.
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>.
|
@davegill could you check what happened in the tests here? Thanks. It is just adding files. |
@jesusff @dudhia @weiwangncar Jesus, |
This can be in V4.3.1.
…On Tue, Sep 14, 2021 at 10:24 AM Dave Gill ***@***.***> wrote:
@jesusff <https://github.com/jesusff> @dudhia <https://github.com/dudhia>
@weiwangncar <https://github.com/weiwangncar>
Wei and Jimy,
This is just adding some files, but not technically a bug fix. Do we want
this slated for release v4.3.1 or develop?
Jesus,
Would you please add a bit more information under the "Solution", "TESTS
CONDUCTED", and "RELEASE NOTE" sections. For example, what schemes do these
files work with? Is there a mechanism to activate these files? Can you show
some imagery that indicates these files have been used correctly? The
RELEASE NOTE section needs to be a stand-alone description of the
modification. It is typical for that information to be a bit redundant
(already mentioned in the PR commit message).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1553 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77DZOZYPAX2X56GGVE3UB5ZLHANCNFSM5DZCWMRA>
.
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>.
|
jenkins:
|
I added more information to the first post in this conversation, as suggested by @davegill |
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.
run a test case using the data CAMtr_volume_mixing_ratio.SSP119. It works as expected.
Add new SSP GHG concentration files to README
Sorry, I just updated the run/README.physics_files to include the new data files. I also took the freedom to briefly explain that the corresponding file needs to be renamed in order to work (this is different to other data files in this README): |
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.
Checked the README and this looks fine too. It was good to have the graphed functions as a check.
@jesusff Are you aware that the gas data are not getting into rrtmg shortwave routine? Is that intentional? |
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. |
I think this effect would be small, but CO2 and CH4 can be used by the
shortwave. I don't see the other gases used.
…On Fri, Dec 10, 2021 at 3:40 AM Jesus Fernandez ***@***.***> wrote:
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
<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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1553 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77BQUTYRQNMFOOLHRMLUQHKIDANCNFSM5DZCWMRA>
.
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>.
|
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" #1611. ISSUE: CLWRF tracer gases are not used in RRTMG shortwave code Fixes #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](#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.
TYPE: enhancement KEYWORDS: CMIP6, GHG, SSP, climate, radiation SOURCE: Jesus Fernandez (Instituto de Fisica de Cantabria CSIC-UC, Santander, Spain) DESCRIPTION OF CHANGES: Problem: Missing GHG concentration files for the new Shared Socioeconomic Pathways used in CMIP6 and IPCC AR6 ([Meinshausen et al. 2020](https://doi.org/10.5194/gmd-13-3571-2020)). They are required to nest WRF into CMIP6 global models for future regional climate simulation. Solution: Add corresponding GHG concentration files using global average data provided via input4MIP (namely, via CSV files provided by https://greenhousegases.science.unimelb.edu.au). Note that yearly hemispheric averages are also available from this source, and also 15-degree resolution monthly values. These could be used to tailor GHG evolution files for a particular WRF domain (see the code used to generate these files in https://github.com/SantanderMetGroup/wrf-ghg-files/tree/v0.1.2). The files included in this PR are global averages, consistent with previous CAMtr RCP files. The files are used as the existing RCP CAMtr files, by renaming or linking the appropriate file with the exact name CAMtr_volume_mixing_ratio in the WRF running directory. For this to work, WRF needs to be compiled with the macro `-DCLWRFGHG` and the long-wave radiation parameterization set to one of: RRTM, CAM, RRTMG (ra_lw_physics = 1, 3, 4). A successful reading of the files leads to messages such as the following at the beginning of the WRF standard output log: ``` d01 2033-12-27_00:00:00 CLWRF reading...: istatus: 0 idata: 1 year: 1765 co2: 277.913000000000 n2o: 274.372000000000 ch4: 738.986000000000 d01 2033-12-27_00:00:00 CLWRF reading...: istatus: 0 idata: 2 year: 1766 co2: 277.958000000000 n2o: 274.392000000000 ch4: 739.831000000000 d01 2033-12-27_00:00:00 CLWRF reading...: istatus: 0 idata: 3 year: 1767 co2: 278.017000000000 n2o: 274.426000000000 ch4: 740.729000000000 d01 2033-12-27_00:00:00 CLWRF reading...: istatus: 0 idata: 4 year: 1768 co2: 278.078000000000 n2o: 274.447000000000 ch4: 741.222000000000 ``` LIST OF MODIFIED FILES: M run/README.physics_files A run/CAMtr_volume_mixing_ratio.SSP119 A run/CAMtr_volume_mixing_ratio.SSP126 A run/CAMtr_volume_mixing_ratio.SSP245 A run/CAMtr_volume_mixing_ratio.SSP370 A run/CAMtr_volume_mixing_ratio.SSP585 TESTS CONDUCTED: 1. Model runs with the new files, which are just ASCII files formatted exactly as the existing ones for RCPs used in CMIP5. 2. The new files were compared to the existing ones for RCPs to ensure a consistent order of magnitude and evolution of the concentration values. No long-term climate simulation has been yet conducted with the new data files, but the files are within the order of magnitude of existing RCP files, which were extensively tested. ![CAMtr file comparison](https://raw.githubusercontent.com/SantanderMetGroup/wrf-ghg-files/v0.1.2/CAMtr_files.png) RELEASE NOTE: Added new CAMtr_volume_mixing_ratio data files for CMIP6 SSPs (https://doi.org/10.5281/zenodo.5507554) containing yearly global average concentrations from input4MIPs (v1.2.0 for historical part and v1.2.1 for scenario evolution).
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.
TYPE: enhancement
KEYWORDS: CMIP6, GHG, SSP, climate, radiation
SOURCE: Jesus Fernandez (Instituto de Fisica de Cantabria CSIC-UC, Santander, Spain)
DESCRIPTION OF CHANGES:
Problem:
Missing GHG concentration files for the new Shared Socioeconomic Pathways used in CMIP6 and IPCC AR6
(Meinshausen et al. 2020). They are required to nest WRF into
CMIP6 global models for future regional climate simulation.
Solution:
Add corresponding GHG concentration files using global average data provided via input4MIP (namely, via CSV files
provided by https://greenhousegases.science.unimelb.edu.au). Note that yearly hemispheric averages are also
available from this source, and also 15-degree resolution monthly values. These could be used to tailor GHG
evolution files for a particular WRF domain (see the code used to generate these files in
https://github.com/SantanderMetGroup/wrf-ghg-files/tree/v0.1.2). The files included in this PR are global averages,
consistent with previous CAMtr RCP files.
The files are used as the existing RCP CAMtr files, by renaming or linking the appropriate file with the exact name
CAMtr_volume_mixing_ratio in the WRF running directory. For this to work, WRF needs to be compiled with the macro
-DCLWRFGHG
and the long-wave radiation parameterization set to one of: RRTM, CAM, RRTMG (ra_lw_physics = 1,3, 4).
A successful reading of the files leads to messages such as the following at the beginning of the WRF standard output log:
LIST OF MODIFIED FILES:
M run/README.physics_files
A run/CAMtr_volume_mixing_ratio.SSP119
A run/CAMtr_volume_mixing_ratio.SSP126
A run/CAMtr_volume_mixing_ratio.SSP245
A run/CAMtr_volume_mixing_ratio.SSP370
A run/CAMtr_volume_mixing_ratio.SSP585
TESTS CONDUCTED:
CMIP5.
evolution of the concentration values. No long-term climate simulation has been yet conducted with the new data
files, but the files are within the order of magnitude of existing RCP files, which were extensively tested.
RELEASE NOTE: Added new CAMtr_volume_mixing_ratio data files for CMIP6 SSPs (https://doi.org/10.5281/zenodo.5507554) containing yearly global average concentrations from input4MIPs (v1.2.0 for historical part and v1.2.1 for scenario evolution).