Changing the terrain hight in idealized WRF model (em-les)

Topics related to running an idealized case
Post Reply
skateboy366
Posts: 7
Joined: Mon Nov 12, 2018 9:46 am

Changing the terrain hight in idealized WRF model (em-les)

Post by skateboy366 » Sun May 19, 2019 3:31 pm

Hi !

Is there any ways to modify the terrain height in the em_les mode ?
Actually, I want to run an idealized WRF-LES case for a real terrain type.
I have found some approaches hadling the terrain slope in idealzed cases, but it looks not enough for a real terrain type .

Thanks. :D
Zihan Zhao

Ming Chen
Posts: 1577
Joined: Mon Apr 23, 2018 9:42 pm

Re: Changing the terrain hight in idealized WRF model (em-les)

Post by Ming Chen » Wed May 22, 2019 4:37 pm

Please go to the code "dyn_em/module_initialize_ideal.F", and starting from around line 567, you can find the following piece of code:
567 CASE (les)
568
569 CALL nl_set_mminlu(1, ' ')
570 CALL nl_set_iswater(1,0)
571 CALL nl_set_cen_lat(1,40.)
572 CALL nl_set_cen_lon(1,-105.)
573 CALL nl_set_truelat1(1,0.)
574 CALL nl_set_truelat2(1,0.)
575 CALL nl_set_moad_cen_lat (1,0.)
576 CALL nl_set_stand_lon (1,0.)
577 CALL nl_set_pole_lon (1,0.)
578 CALL nl_set_pole_lat (1,90.)
579 CALL nl_set_map_proj(1,0)
580
581
582 ! here we initialize data that currently is not initialized
583 ! in the input data
584
585 DO j = jts, jte
586 DO i = its, ite
587 grid%msftx(i,j) = 1.
588 grid%msfty(i,j) = 1.
589 grid%msfux(i,j) = 1.
590 grid%msfuy(i,j) = 1.
591 grid%msfvx(i,j) = 1.
592 grid%msfvx_inv(i,j)= 1.
593 grid%msfvy(i,j) = 1.
594 grid%sina(i,j) = 0.
595 grid%cosa(i,j) = 1.

.....

This is where you can add terrain for LES case.
WRF Help Desk

skateboy366
Posts: 7
Joined: Mon Nov 12, 2018 9:46 am

Re: Changing the terrain hight in idealized WRF model (em-les)

Post by skateboy366 » Sun May 26, 2019 12:44 pm

OK! Thanks a lot for your reply.

Sauljipe
Posts: 2
Joined: Wed Mar 24, 2021 11:23 pm

Re: Changing the terrain hight in idealized WRF model (em-les)

Post by Sauljipe » Fri Mar 26, 2021 10:39 pm

Hi Zihan Zhao!

Did you solve the problem?
I am trying to do the same with no successful results yet.

Hope you can answer!

My best regards

Post Reply

Return to “Idealized Cases”