Dear colleague,
I am trying to modify greenhouse gas concentrations in my WRF simulations (real case study). The ra_lw_physics scheme RRTMG uses a fixed value of carbon dioxide (379 ppmv per WRF documentation). What I would need to do is to adjust the carbon dioxide to any past or future value. Using, for example, the historic record or one of the RCPs would be probably sufficient for my purpose.
I have spent quite some time studying the documentation with regard to two questions:
1.) How can the model setup be changed to use specific (historic or future) carbon dioxide concentrations in a simulation?
2.) How can I test on a running simulation whether the carbon dioxide concentrations, that I intend to be used during a specific model year, have been actually used? Are there any log files for this?
In the documentation I have found a statement that tells me to recompile WRF with a specific macro:
" a. CAM Green House Gases: Provides yearly green house gases from 1765 to 2500. The option is activated by compiling WRF with the macro –DCLWRFGHG added in configure.wrf. Once compiled, CAM, RRTM and RRTMG long-wave schemes will see these gases."
I have done this and new executables have been successfully created. I have not recompiled WPS as I am not sure whether this is necessary.
My problem with point 1.) above is that when I run a simulation with the new executables, I get the following error:
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 193
CLWRF: 'CAMtr_volume_mixing_ratio' does not exist
When searching online for potential solutions to this problem, I found a statement that suggests to replace in the Registry/ folder the files Registry.EM and registry.dimspec by files Registry.EM_CLWRF, registry.dimspec.clwrf; Unfortunately, it is not at all clear to me in which way the contents of the new files shall differ from the old files. The online resource did not provide any obvious information to this.
To sum this up, I seem to have reached a dead-end in trying to setup a simulation with WRF Real case and adjusted values of carbon dioxide. Does anyone have experience with this? Is there any additional documentation that I have overlooked so far, illustrating how to properly setup and compile WRF towards adjusting carbon dioxide with ra_lw_physics=4? If, what I did so far, has been correct, could you please kindly point me towards additional steps that are missing to make such a simulation run? Is there any need for adjustments to namelists or similar configuration files that I have to implement to make WRF find and use the carbon dioxide concentrations?
Any hints would be greatly appreciated. Thank you very much for your time and help.
All the best
Madlene
I am trying to modify greenhouse gas concentrations in my WRF simulations (real case study). The ra_lw_physics scheme RRTMG uses a fixed value of carbon dioxide (379 ppmv per WRF documentation). What I would need to do is to adjust the carbon dioxide to any past or future value. Using, for example, the historic record or one of the RCPs would be probably sufficient for my purpose.
I have spent quite some time studying the documentation with regard to two questions:
1.) How can the model setup be changed to use specific (historic or future) carbon dioxide concentrations in a simulation?
2.) How can I test on a running simulation whether the carbon dioxide concentrations, that I intend to be used during a specific model year, have been actually used? Are there any log files for this?
In the documentation I have found a statement that tells me to recompile WRF with a specific macro:
" a. CAM Green House Gases: Provides yearly green house gases from 1765 to 2500. The option is activated by compiling WRF with the macro –DCLWRFGHG added in configure.wrf. Once compiled, CAM, RRTM and RRTMG long-wave schemes will see these gases."
I have done this and new executables have been successfully created. I have not recompiled WPS as I am not sure whether this is necessary.
My problem with point 1.) above is that when I run a simulation with the new executables, I get the following error:
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 193
CLWRF: 'CAMtr_volume_mixing_ratio' does not exist
When searching online for potential solutions to this problem, I found a statement that suggests to replace in the Registry/ folder the files Registry.EM and registry.dimspec by files Registry.EM_CLWRF, registry.dimspec.clwrf; Unfortunately, it is not at all clear to me in which way the contents of the new files shall differ from the old files. The online resource did not provide any obvious information to this.
To sum this up, I seem to have reached a dead-end in trying to setup a simulation with WRF Real case and adjusted values of carbon dioxide. Does anyone have experience with this? Is there any additional documentation that I have overlooked so far, illustrating how to properly setup and compile WRF towards adjusting carbon dioxide with ra_lw_physics=4? If, what I did so far, has been correct, could you please kindly point me towards additional steps that are missing to make such a simulation run? Is there any need for adjustments to namelists or similar configuration files that I have to implement to make WRF find and use the carbon dioxide concentrations?
Any hints would be greatly appreciated. Thank you very much for your time and help.
All the best
Madlene