(RESOLVED) Change output path to intermediate files

Topics related to running the ungrib.exe program
Post Reply
SMin_WRF
Posts: 3
Joined: Sun Sep 06, 2020 5:44 am

(RESOLVED) Change output path to intermediate files

Post by SMin_WRF » Wed Nov 04, 2020 4:57 am

Hello,

Is there a namelist option to change the output path of the intermediate files produced from ungrib.exe?
There are options for geogrid (geog_data_path) and metgrid (opt_output_from_metgrid_path), and I was looking for something similar for ungrib.

*Apologies if the questions has been addressed before, I could not find related information in the forums.

Thank you

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

Re: Change output path to intermediate files

Post by kwerner » Thu Nov 05, 2020 8:36 pm

Unfortunately I don't see an option for that, but you may be able to either add some code to allow it to work, or to write a script that can move the files when they are produced.
NCAR/MMM

mgduda
Posts: 467
Joined: Mon Feb 26, 2018 7:35 pm

Re: Change output path to intermediate files

Post by mgduda » Thu Nov 05, 2020 8:51 pm

Actually, you can just include path information in the 'prefix' namelist option for ungrib. For example:

Code: Select all

&ungrib
 out_format = 'WPS',
 prefix = '/scratch/wrfhelp/intermediate/GFS',
/
NCAR/MMM

SMin_WRF
Posts: 3
Joined: Sun Sep 06, 2020 5:44 am

Re: Change output path to intermediate files

Post by SMin_WRF » Fri Nov 06, 2020 6:36 pm

mgduda wrote:
Thu Nov 05, 2020 8:51 pm
Actually, you can just include path information in the 'prefix' namelist option for ungrib. For example:

Code: Select all

&ungrib
 out_format = 'WPS',
 prefix = '/scratch/wrfhelp/intermediate/GFS',
/
This is an elegant solution! Thank you

Post Reply

Return to “ungrib”