GIS output from batch file

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
dmase
Posts: 3
Joined: November 19th, 2012, 3:50 pm
Registered HYSPLIT User: No

GIS output from batch file

Post by dmase »

Hello,
I'm running HYSPLIT and would like to have my output in a useful GIS format. Since I'm running back trajectories for several different time periods, I've set up a batchfile to use several of my control files and generate output and .ps files for each run. I would like to load this into GIS though, and I'm not sure which program in the HYSPLIT suite I need to invoke within my script to generate GIS output that I can subsequently convert using ascii2shp. Can anyone here help me out? Thanks in advance!

Dave
glenn.rolph
Posts: 362
Joined: November 7th, 2012, 12:39 pm
Registered HYSPLIT User: Yes

Re: GIS output from batch file

Post by glenn.rolph »

In order to output the GIS formatted files for ascii2shp you need to set the (-a) flag of trajplot to 1 to create a text file such as GIS_traj_ps_01.txt that contains the lat/lon points of the trajectory in GENERATE format. This file is then fed in to ascii2shp.
dmase
Posts: 3
Joined: November 19th, 2012, 3:50 pm
Registered HYSPLIT User: No

Re: GIS output from batch file

Post by dmase »

Thank you for your response -
It appears to work, however it only produces a single text file that gets overwritten when each new case is run. Is there a way to specify the name of the ascii file that gets output?
glenn.rolph
Posts: 362
Joined: November 7th, 2012, 12:39 pm
Registered HYSPLIT User: Yes

Re: GIS output from batch file

Post by glenn.rolph »

No, you will have to rename the file with each run in your batch file.
dmase
Posts: 3
Joined: November 19th, 2012, 3:50 pm
Registered HYSPLIT User: No

Re: GIS output from batch file

Post by dmase »

Thank you again for your help - Everything is working as I need it to right now.

Best,
Dave
Post Reply

Return to “HYSPLIT for PCs”