Running automated multiple 7 days back trajectories with gdas0p5 data

Post any questions or comments regarding the Desktop PC version of HYSPLIT. This includes the model execution, GUIs, results, or graphics. Be sure to include the operating system you are using (Windows XP, Windows Vista, Windows 7, Windows 8, etc.
sonny.zinn
Posts: 354
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

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

Post 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.
dominichr1
Posts: 7
Joined: May 24th, 2022, 9:49 am
Registered HYSPLIT User: Yes

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

Post 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?
dominichr1
Posts: 7
Joined: May 24th, 2022, 9:49 am
Registered HYSPLIT User: Yes

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

Post 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"
sonny.zinn
Posts: 354
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

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

Post 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.
Post Reply

Return to “HYSPLIT for PCs”