Page 2 of 2

Re: Running automated multiple 7 days back trajectories with gdas0p5 data

Posted: November 28th, 2022, 7:55 am
by sonny.zinn
The batch file creates a CONTROL file and runs HYSPLIT, which is repeated in a loop. The script adds just one meteorological data file. To list more meteorological files to the CONTROL file, please see https://www.ready.noaa.gov/hysplitusersguide/S262.htm for the CONTROL file format and make adjustments accordingly.

Re: Running automated multiple 7 days back trajectories with gdas0p5 data

Posted: November 28th, 2022, 8:09 am
by dominichr1
Thank you for the response in the user guide if we insert a value in 7 (i.e. the number of input data grid) that is greater than 1 (i.e. default), it will repeat the next entries x number of times
The following two entries (directory and name) will be repeated this number of times.
does that mean in the CONTROL file 8 & 9 need to be repeated but 9 should contain a different filename?

Re: Running automated multiple 7 days back trajectories with gdas0p5 data

Posted: November 28th, 2022, 9:36 am
by dominichr1
the code is as follows: it works for 1 2, but not for 1 3

Code: Select all

SET MET=%PGM%\working\MET_DATA\GDAS_met

SET DATw1=gdas1.dec20.w1
SET DATw2=gdas1.dec20.w2
SET DATw3=gdas1.dec20.w3
SET DATw4=gdas1.dec20.w4
SET DATw5=gdas1.dec20.w5

Code: Select all

echo 1 3                     >>CONTROL
echo %MET%\                  >>CONTROL
echo %DATw1%                   >>CONTROL
echo %MET%\                  >>CONTROL
echo %DATw2%                   >>CONTROL
echo %MET%\                  >>CONTROL
echo %DATw3%                   >>CONTROL
Error message: "Warning metset: Old format meteo data grid forrtl: severe (64): input conversion error, unit -5, file Internal Formatted Read"

Re: Running automated multiple 7 days back trajectories with gdas0p5 data

Posted: November 28th, 2022, 1:29 pm
by sonny.zinn
If you are using three files, just use 3 for CONTROL item #7 for the number of input data grids, not 1 3 nor 1 2.