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

Ts file compile error

yuankw

New member
Dear Administrators,
Hello,
Following Kwerner's guidance, I added TKE as an output in the ts files by modifying wrf.timeseries.F. However, after recompiling, the following error occurred:

wrf_timeseries.f90:400:51:

400 | grid%ts_tke_profile(n,i,k) = grid%tke(ix,k,iy)
| 1
Error: ‘tke’ at (1) is not a member of the ‘domain’ structure; did you mean ‘qke’?
Command exited with non-zero status 1

Additionally, I changed TKE to rh in the Registry.EM_COMMON and also followed the tutorial to add state in the Registry's ts control section. Does this error mean that ts file cannot output TKE and can only output qke? If it is possible to output TKE, what do I need to do?

Note: My coarse grid uses the MYNN scheme, while the fine grid uses the LES-1.5 order 3D TKE scheme.
 
Also, may I ask how the Monin Obukhov length inverse output by WRF after modifying the registry is calculated, and where I can view the detailed flow of the calculation
 
Also, may I ask how the Monin Obukhov length inverse output by WRF after modifying the registry is calculated, and where I can view the detailed flow of the calculation
The calculation of Monin Obukhov length is slightly different in diffierent schemes. Please take a look at

phys/module_sf_sfclayrev.F (sfclay=1) or

phys/module_sf_pxsfclay.F(sfclay =7) or

phys/module_sf_mynn.F (sfclay=5)
 
Top