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

WRF.exe starting with different input files

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member

Is it possible to use the input files for wrf.exe start (wrfinput_d01, wrfbdy_d01) from other, NOT "run" directory. And defined the path for input files in running (mpirun -np ...) command line?

I have the same questions about wrfout_d01* files: is it possible to write wrf.exe output files in other, NOT "run" directory?

With best regards,
Palina Zaiko
Hi Palina,
Yes, you can use the following variables in the &time_control section of the namelist.input file.

input_inname = "path-to-input-file/wrfinput_d<domain>"
bdy_inname = "path-to-input-file/wrfbdy_d<domain>"
history_outname = "path-where-you-want-history-to-output/wrfout_d<domain>"

Note: I recommend typing those in and not using copy/paste from my suggestions. Sometimes quotes don't copy into the namelist correctly and can cause errors.