Interpolation issues in 3d Vars using ndown for wrfinput

Topics specifically related to the wrf.exe program
Post Reply
vinodkumar
Posts: 6
Joined: Fri Mar 19, 2021 10:31 am

Interpolation issues in 3d Vars using ndown for wrfinput

Post by vinodkumar » Sat Apr 03, 2021 7:29 pm

Hello,
For past several days, I am struggling with a very strange problem while using down. I am following the steps mentioned on the WRF Tutorial for running ndown.exe from a 15km domain to 3km domain (https://www2.mmm.ucar.edu/wrf/OnLineTut ... ndown4.php).
So, the steps i follow is that I rename the wrfinput_d02 to wrfndi_d02, and make the required changes in namelist.input (please see it attached herewith). However, when I inspect U and V in the resulting wrfinput_d02, I see mostly close to zero values. Strangely enough, U10 and V10 seem reasonable. I have attached relevant ncview screenshots herewith. I have checked the wrfout_d01 files and the input wrfndi_d02 files, where U and V seem reasonable.
I am using WRF version 4.2.2.
I am a new user of WRF and there might be something fundamentally wrong. S far i have already tried different options of interpolation (liner or logarithmic), choices of eta levels. Any leads will be highly appreciated.


Best regards,
Vinod
Attachments
namelist.input_ndown.txt
namelist.input used for running ndown.exe
(8.62 KiB) Downloaded 9 times
U_wrfout_d01.PNG
U in last time step of wrfout_d01 file
U_wrfinput_d02.PNG
U in the resulting wrfinput_d02 (please see color scale)
U_wrfndi_d02.PNG
U in the wrfndi_d02
Last edited by vinodkumar on Tue Apr 06, 2021 6:33 am, edited 1 time in total.

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: Interpolation issues in 3d Vars using ndown for wrfinput

Post by kwerner » Mon Apr 05, 2021 7:57 pm

Hi,
I just ran a very simple test of ndown in V4.2.2 just to verify that it works okay and it does. I did not use your namelist, though. Can you send me the namelist you used for running d01 for wrf?

1) In the screenshot you attached for U for wrfout_d01 - is this for the initial d01 run, or for the final one (meaning it's actually d02)?

2) Will you actually need to use the ndown program? It's typically used when you have run for a long time (years) for a single domain, and then you later decide you want to run a nested domain, but don't want to have to re-run everything. Your run is only 5 days long, so just making sure this is necessary.
NCAR/MMM

vinodkumar
Posts: 6
Joined: Fri Mar 19, 2021 10:31 am

Re: Interpolation issues in 3d Vars using ndown for wrfinput

Post by vinodkumar » Mon Apr 05, 2021 11:11 pm

Hi,
Thanks a lot for your kind reply and for making the test for me. It is great to know that down woks as expected for your set-up. I have attached the namelist that I used for running d01 for WRF. Please note that this namelist.input also includes chemistry specific settings. For running ndown, i was trying different ways (e.g. with our without chemistry; but the behaviour was similar).
Concerning your questions:
1. The screenshot I attached is for the initial d01 run. WRF crashes with segmentation fault if I proceed with the input files created using ndown. I assume it is because of the strange U and V values of wind.
2. I am a new user of WRF, but I feel I'll need ndown. Probably, you could suggest an alternative approach for nesting. I plan to simulate for 3 domains ( 2 nests). Currently, I am only testing my set up with ~10 days of run. Once tested, I plan to simulate for 1-year at least. If I run 2 way nesting (or even 1 way nesting without ndown), the number of processors I can use is limited by my coarser domain (1 per 10 grid points in x and y direction). Since my d02 and d03 domains have a larger number of grid points as compared to d01, I can dedicate more processors for those runs, if I run them separately using ndown. Probably I can gain some speed in simulation that way.

PS- One correction. In my original question, the caption of the second figure should be - "U in the resulting wrfinput_d02 (please see color scale)"

Best regards and thanks again for your help,
Vinod
Attachments
namelist.input_d01.txt
namelist.input for d01
(8.53 KiB) Downloaded 8 times

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: Interpolation issues in 3d Vars using ndown for wrfinput

Post by kwerner » Tue Apr 06, 2021 10:56 pm

Thank you for sending that. Yes, it does sound like ndown will be necessary for your future runs. I noticed several wrf-chem settings in your original namelist. Are you running wrf-chem? If so, I would like to refer you to the wrf-chem section of the forum to post this. Their system runs a bit differently and there may be things necessary for chemistry that I'm not aware of - or perhaps they've seen a similar problem. If you're not using wrf-chem, please let me know and I'll continue to try to figure out what's going on.
NCAR/MMM

vinodkumar
Posts: 6
Joined: Fri Mar 19, 2021 10:31 am

Re: Interpolation issues in 3d Vars using ndown for wrfinput

Post by vinodkumar » Fri Apr 09, 2021 11:04 am

Hi,
Thanks a lot for the reply. yes, I was working with WRF-Chem.
I did further investigations to find the cause of the problem.
The problem seems to originate from WRF itself. I have identified the issue, but still do not understand it.
In my namelist, I also enabled hourly output of specific variables through auxhist1 in the following line

Code: Select all

iofields_filename        = "my_file_d01.txt", "my_file_d02.txt",
If is comment out this line while running ndown, I get the expected values.

Best regards,
Vinod

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: Interpolation issues in 3d Vars using ndown for wrfinput

Post by kwerner » Mon Apr 12, 2021 5:52 pm

Vinod,
I'm very glad to hear that you were able to figure out the problem. Thank you for sharing that. That is not something that you need in the namelist during ndown.exe; however, it's puzzling why it would cause the problem. I'll put this on my list of things to track down in the code. I appreciate your work to find it!
NCAR/MMM

Post Reply

Return to “wrf.exe”