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.
Post Reply
Priyanka Srivastava
Posts: 4
Joined: October 30th, 2017, 7:03 am
Registered HYSPLIT User: Yes

Running automated multiple 7 days back trajectories with gdas0p5 data

Post by Priyanka Srivastava » October 30th, 2017, 7:41 am

Hello everyone,
I am trying to accomplish the following task:
1. Use the gdas0p5 data (already downloaded) and get the endpoint files for seven days back air trajectories.

2. I want to get all the endpoint files for two years for 10 and 20 hrs UTC.

Steps I am following to achieve this at present are:
PC version>>>In HYSPLIT Menu tab

1. set Trajectory > Setup Run file (this includes start-end period, no. of grid points, output file prefix, folder, attaching input files etc).

2. run HYSPLIT for a month using Trajectory > Special Runs > Daily.

3. Repeat from step 1 by changing the time period in Setup Run.

Now the problem is:
Number of meteorology files that can be saved in the setup file are limited to 12, therefore I am unable to carry out even monthly analysis at once. This makes the task very tedious and time consuming.

Thus, I look forward for your suggestions in order to make this task simpler using either some batch mode job or any other way that you may suggest.

ariel.stein
Posts: 612
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes
Contact:

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

Post by ariel.stein » October 30th, 2017, 11:36 am

you can concatenate the daily files into one large file using the "cat" command in linux or the TYPE command in windows.

cat File1 > large_file
cat File2 >> large_file
cat File3 >> large_file

Priyanka Srivastava
Posts: 4
Joined: October 30th, 2017, 7:03 am
Registered HYSPLIT User: Yes

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

Post by Priyanka Srivastava » October 31st, 2017, 2:37 am

Thanks for your prompt reply. It worked perfectly.

Going a step further, If we wish to do a similar analysis for a larger time domain (say 20-30 years). Is there some other approach to handle the same problem?

ariel.stein
Posts: 612
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes
Contact:

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

Post by ariel.stein » October 31st, 2017, 6:56 am

I would suggest you write a script.

Priyanka Srivastava
Posts: 4
Joined: October 30th, 2017, 7:03 am
Registered HYSPLIT User: Yes

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

Post by Priyanka Srivastava » June 21st, 2018, 2:39 am

Thanks Stein for your reply and sincere apologies for this extremely late reply.

Script writing would be a great option but I have never done any for this model so, any links or literature to learn script syntax or any similar format in context of my work shall help a lot.

Also, while doing the monthly trajectories, I encountered one issue:
There was a missing file in gdas0p5 input data and hence all the seven day trajectories requiring this file could not be run. Is there a way out to get model runs for those days?

barbara.stunder
Posts: 260
Joined: November 9th, 2012, 4:23 pm
Registered HYSPLIT User: Yes

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

Post by barbara.stunder » June 21st, 2018, 9:49 am

See script examples in C:\examples\scripts and/or the Tutorial, https://ready.arl.noaa.gov/documents/Tu ... index.html, the C:\ and penguin icons at the top of every page (sec 6.1).

The "Daily" GUI option has been revised to be able to run for a user specified number of days, limited by the number of meteorology files.

For missing gdas0p5 files, you could add the relevant gdas1 file to the list of meteorology files.

Priyanka Srivastava
Posts: 4
Joined: October 30th, 2017, 7:03 am
Registered HYSPLIT User: Yes

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

Post by Priyanka Srivastava » September 13th, 2018, 5:14 am

Thank you. That really solved the issue.

Post Reply