Page 1 of 1

Writing wrfout to another location

PostPosted: Tue May 11, 2010 5:40 pm
by gcreager
I've done a quick scan of the docs... I can't quickly find what I'm looking for but thought I'd seen it. I need to execute WRF in one directory and write output to another to facilitate parallel IO (pNetCDF). I thought there was a namelist variable that could allow me to accomplish this. Have I lost my mind, or misplaced a variable?

Option B is to copy data and code to where I need to write it and just do things "normally".

Thanks, gerry

Re: Writing wrfout to another location

PostPosted: Fri Oct 15, 2010 6:09 pm
by malonso
Hey Gerry,

You ever figure out how to do this?

Re: Writing wrfout to another location

PostPosted: Fri Oct 22, 2010 9:30 pm
by mjm
All,

I was curious about this too so I asked WRFhelp. They said that an option to write the wrfout files to a different path was NOT designed into WRF.

-mj

Re: Writing wrfout to another location

PostPosted: Wed Dec 08, 2010 12:06 am
by stenny
it's just simple:

HISTORY_OUTNAME = '/your/wrfout/path/wrfout_d<domain>_<date>',

Re: Writing wrfout to another location

PostPosted: Wed Dec 08, 2010 1:34 pm
by jrdias
I usually do a link and this works very well.
Like

ln -sf /outputdirectory/wrfout_d01_<date>_<hour> wrfout_d01_<date>_<hour>

when you do that the link will in red colour, so after start the running it will change for blue indicating that the link is working.

Re: Writing wrfout to another location

PostPosted: Mon Dec 13, 2010 5:44 pm
by mjm
Specifing the history_outname in the namelist.input file seems to work just fine. Thanks Stenny, for this very useful tip! :mrgreen:

Its interesting that WRFhelp didn't mention this history_output option to me and that there is no reference to the history_outname anywhere in the WRF documentation.

Jrdias, your linking trick is very cool, I'll keep this in mind when tackling problems in the future.

This forum is such a valuable source of information, not sure what I would do with out it!!
-mj

Re: Writing wrfout to another location

PostPosted: Tue Jul 12, 2011 11:52 am
by bthrasher
Is there a comparable namelist variable for redirecting restart files? I tried restart_outname, but that didn't work...

Re: Writing wrfout to another location

PostPosted: Mon Jan 12, 2015 1:36 pm
by wrf_utexas
To redirect wrfout and wrfrst files into a specified directory:

history_outname = '/directory/wrfout_d<domain>_<date>',
rst_inname = '/directory/wrfrst_d<domain>_<date>',
rst_outname = '/directory/wrfrst_d<domain>_<date>',

Re: Writing wrfout to another location

PostPosted: Sat Apr 18, 2015 4:01 am
by annaya
They said that an option to write the wrfout files to a different path was NOT designed into WRF.

-mj