Change tout for multiple trajectories run - SETUP.CFG

General questions and postings pertaining to the use of HYSPLIT regardless of the platform. For platform specific questions, use the HYSPLIT Platform forums.
Post Reply
CJ_INDIANA
Posts: 5
Joined: April 4th, 2016, 7:41 am
Registered HYSPLIT User: Yes

Change tout for multiple trajectories run - SETUP.CFG

Post by CJ_INDIANA »

I am running a script that creates multiple control files and feeds them to the hyts_std executable one by one. What I would like to accomplish is for the resulting tdump files to have 5 minute output lines instead of the standard 60 minutes. I have tried to change tout = 60 to tout = 5 in the setup.cfg file before running the code but it seems that when I call the hyts_std executable, the traj.cfg file is used instead of setup.cfg. The tout value in traj.cfg is different from the tout value in setup.cfg. Not sure why changing tout in setup.cfg is not working.
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by ariel.stein »

Is your SETUP.CFG file name in upper case? If yes, you might also want to set the integration time step, delt=5.0, so your output overlaps with the time step.
CJ_INDIANA
Posts: 5
Joined: April 4th, 2016, 7:41 am
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by CJ_INDIANA »

File is in all caps, SETUP.CFG and changed to delt = 5.0. The contents of the setup file are :

&SETUP
delt = 5.0
initd = 0,
kpuff = 0,
khmax = 9999,
kmixd = 0,
kmix0 = 250,
kzmix = 0,
kdef = 0,
kbls = 1,
kblt = 2,
conage = 48,
numpar = 2500,
qcycle = 0.0,
efile = '',
tkerd = 0.18,
tkern = 0.18,
ninit = 1,
ndump = 1,
ncycl = 1,
pinpf = 'PARINIT',
poutf = 'PARDUMP',
mgmin = 10,
kmsl = 0,
maxpar = 10000,
cpack = 1,
cmass = 0,
dxf = 1.0,
dyf = 1.0,
dzf = 0.01,
ichem = 0,
maxdim = 1,
kspl = 1,
krnd = 6,
frhs = 1.0,
frvs = 0.01,
frts = 0.10,
frhmax = 3.0,
splitf = 1.0,
tm_pres = 1,
tm_tpot = 1,
tm_tamb = 0,
tm_rain = 0,
tm_mixd = 0,
tm_relh = 0,
tm_sphu = 0,
tm_mixr = 0,
tm_dswf = 0,
tm_terr = 0,
tout = 5,
/
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by ariel.stein »

did it work?
CJ_INDIANA
Posts: 5
Joined: April 4th, 2016, 7:41 am
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by CJ_INDIANA »

Sorry, I wasn't clear about that. It did NOT work.
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by ariel.stein »

Try it with only these parameters set in you SETUP.CFG file:

&SETUP
delt = 5,
mgmin = 10,
khmax = 9999,
kmixd = 0,
kmsl = 0,
nstr = 0,
mhrs = 9999,
nver = 0,
tout = 5,
tm_tpot = 0,
tm_tamb = 0,
tm_rain = 0,
tm_mixd = 0,
tm_relh = 0,
tm_sphu = 0,
tm_mixr = 0,
tm_dswf = 0,
tm_terr = 0,
dxf = 1.0,
dyf = 1.0,
dzf = 0.01,
/
CJ_INDIANA
Posts: 5
Joined: April 4th, 2016, 7:41 am
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by CJ_INDIANA »

It did not work. I am using the NARR data and the SETUP file looks identical to other examples using a different tout, but for some reason tout in TRAJ.CFG file is not changing either. Is this something to do with the NARR data?
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by ariel.stein »

Attached are the CONTROL, tdump and MESSAGE files for a run using tout=5 and the NARR dataset.
Attachments
CONTROL.txt
(137 Bytes) Downloaded 250 times
tdump.txt
(40.18 KiB) Downloaded 239 times
MESSAGE.txt
(53.66 KiB) Downloaded 249 times
CJ_INDIANA
Posts: 5
Joined: April 4th, 2016, 7:41 am
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by CJ_INDIANA »

Thanks for the attachments. Everything looks correct. I am running a script file that builds the control files and then runs them. Do I need to specify the setup file when I call the script file?
ariel.stein
Posts: 660
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes

Re: Change tout for multiple trajectories run - SETUP.CFG

Post by ariel.stein »

By default the model will look for the SETUP.CFG file.
Post Reply

Return to “Users”