Series of control files in trajectory

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.
Post Reply
may_smith
Posts: 1
Joined: June 12th, 2025, 1:30 pm
Registered HYSPLIT User: No

Series of control files in trajectory

Post by may_smith »

Hi I have a bunch (20-35) control files that I want to run through the trajectory model. Is there a more efficient way to do it, instead of retrieving each one individually? I haven't used batch code before so hopefully it's not necessary or too difficult. Thank you in advance for your help. I'm using Windows 11.
sonny.zinn
Posts: 389
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: Series of control files in trajectory

Post by sonny.zinn »

As you wrote, scripting can be very useful to run many trajectories. Please see Sec. 4.1 of our HYSPLIT tutorial at https://www.ready.noaa.gov/documents/Tu ... basic.html. Click the terminal icon to the left of the penguin icon to view a Windows script that performs HYSPLIT trajectory. Download the script and use the notepad program to edit the script to fit your needs.

If you want to run the script as is, make sure HYSPLIT is installed at C:\hysplit (so that the C:\hysplit\exec folder exists) and HYSPLIT tutorial at C:\Tutorial. Open a DOS terminal (cmd.exe), change directory to C:\Tutorial, type traj_basic.bat and hit the enter key. Once the trajectory run completes successfully, the script will open a web browser to show a plot.
Post Reply

Return to “HYSPLIT for PCs”