Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Grid AH fitting to UCM

Kobe

New member
Hello, professors and seniors in the community. I would like to ask how to replace the fixed anthropogenic heat parameters (20/50/90) of the UCM model with gridded nthropogenic heat data. Do I need to modify the source code or set the parameters in the namelist_input file? How should I specifically modify the source code or set the namelist_input parameters? I look forward to your reply. Thanks.
 
I would suggest that you read the data in module_physics_init.F, then use it later in urban physics.
A good example is the aerosol data, i.e., "aerosol.formatted", which is read into WRF in module_physics_init.F and used later in cumulus scheme.

Note that other code modifications are also required. This work requires understanding of WRF code structure and how Registry works.
 
Dear Professor Chen, thank you for your reply, but I still have some questions. I learned that module_physics_init.F is the file for initializing the physical process and that the Registry can be used to set raster data attributes. Do you mean to set the UCM anthropogenic heat code module through module_physics_init.F and set the properties of the gridded anthropogenic heat through the Registry? Therefore, it is possible to couple the gridded anthropogenic heat to the UCM. However, I found very little relevant information in the official document. It confuses me very much.Can you provide some specific technical support? For example, how to modify the source code (similar cases are also acceptable) or some related technical documents.Looking forward to your reply!Thanks.
 
Kobe,
Please see the document here, which describes in detail the Registry. It will help you understand how to add new variables and input/output streams.
The code module_physics_init.F provides a good example for initializing/reading variables that will be used later in the model. You need to look at this code to understand how WRF works.
Due to limited human power, we are unable to provide coding services for users.
 
Dear Professor Chen, the documents you provided will be of great help to me, and I will learn about the relevant documents. Thank you for your reply and help.Best wishes for a happy life.
 
Top