Display 455 Trajectorys in singel plots

Topics about the HYSPLIT trajectory model.
Post Reply
Carlo
Posts: 8
Joined: June 8th, 2021, 10:41 am
Registered HYSPLIT User: No

Display 455 Trajectorys in singel plots

Post by Carlo »

Hello guys,

i have created 455 Files with "Daily Runs "(Trajectory/Special Runs/Daily) and saved them in the working folder.
Now I want to have for each File a plot of the trajectory cluster. Therefore I tried to use the Display option of Hyslpit (Trajectory/Display/Trajectory).

download/file.php?mode=view&id=1151


If I understand the program correctly I have to read in each file one by one. For 455 Files i would need a lot of time.
Is there an option to generate the trajectories in batch, so that I don't have to choose the 1 by 1?
And how I said, I want to have each trajectory separated - in a single plot.
If Hyplit can not do that, is there another program I could use ?

Best wishes,
Carlo
Attachments
Trajektories.png
sonny.zinn
Posts: 219
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: Display 455 Trajectorys in singel plots

Post by sonny.zinn »

You might want to create and use a Windows batch file. See https://www.ready.noaa.gov/documents/Tu ... batch.html. Use trajplot which is a HYSPLIT program for plotting trajectories.
Carlo
Posts: 8
Joined: June 8th, 2021, 10:41 am
Registered HYSPLIT User: No

Re: Display 455 Trajectorys in singel plots

Post by Carlo »

Hello Sonny.zinn,

thank you for your fast reply. I think I understand your main idea, but can you explain it a little bit more in detail ?

1) I have to create a Windows batch file
2) I need to use trajplot to create all plots
3) But for using Trajplot I need Phyton ?

Best wishes,
Carlo
sonny.zinn
Posts: 219
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: Display 455 Trajectorys in singel plots

Post by sonny.zinn »

A Windows batch file is an ASCII text file. Any text editor will do. If you have downloaded and installed the HYSPLIT Tutorial, look files under the batch directory. There are many samples there.

If you installed hysplit to C:\hysplit, the trajplot executable is located in C:\hysplit\exec. This one is faster than the python version, trajplot.py, which is located in the same directory.
Post Reply

Return to “Trajectory Model”