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

Add new variables to WRF scheme for caculation

luoxinyue

New member
Hi,
I want to add some new variables related to the orography to WRF pbl scheme for caculation, the dimensions are same as the Model terrain height. But I don't know how to operate. At which step should I add them ? Should I add them in WPS geo_em.d0*.nc ?
Looking forward to answers!
Best Wishes,
Luo
 
Hi kwerner,
Thank you for your answer. Another question, where can I find tihe method to add variables to the geo/met*files and how does WRF identify them for caculation?
Best Wishes,
Luo
 
There are probably several places you'll need to modify the code to include the new variable, and it will depend on where you want to add in the variable. Here are some references that may be useful when modifying the code:

How can I add a 4d array in WRF?
How can I introduce new variables into the metgrid program and later use them in the real program?
How to Use the WRF Registry (and the YouTube video that goes with this presentation)

You may also be able to find other posts about this in the forum.
 
Top