Hi,
I'm trying to plot several trajectory files on one plot. The trajplot function picks randomly one trajectory file and defines the area of the map with respect to that file. Later on, when it plots other trajectories on the same map, some of them go out of bound.
So, is there a way where I could define the area of the map I want to display so that all the trajectories could fit in? So, far I've tried reading the command line/terminal options but I didn't find any such option.
Also, if someone has tried plotting trajectories using Python and would like to share the script then I would be grateful.
Thanks,
Defining a map area for trajectory display
-
- Posts: 451
- Joined: November 9th, 2012, 4:23 pm
- Registered HYSPLIT User: Yes
Re: Defining a map area for trajectory display
To force a map domain for trajectories use the -h and -g command line parameters for trajplot.
From the Help in the GUI (Trajectory / Display / Trajectory / Help):
-h [Hold map at center lat-lon: (source point), lat:lon] = latitude:longitude - forces the map center to be at the selected location instead of the source point. In conjunction with the -g0:{km} option it is possible to create a constant map projection for each execution.
For example: trajplot -h40.0:-90.0 -g0:400 ...
From the Help in the GUI (Trajectory / Display / Trajectory / Help):
-h [Hold map at center lat-lon: (source point), lat:lon] = latitude:longitude - forces the map center to be at the selected location instead of the source point. In conjunction with the -g0:{km} option it is possible to create a constant map projection for each execution.
For example: trajplot -h40.0:-90.0 -g0:400 ...
Re: Defining a map area for trajectory display
Thanks for your help. However, is it possible to modify second and third lines in the label of the trajectory display?
As I explained earlier, I'm plotting a lot of trajectories together but trajplot just picks the Title according to the first trajectory it plots. I can modify the first line of the Title by creating LABELS.CFG but the second line is auto-generated according to the first trajectory it plots. I would like to customise that line. Please let me know if that's possible.
Thanks in advance.
As I explained earlier, I'm plotting a lot of trajectories together but trajplot just picks the Title according to the first trajectory it plots. I can modify the first line of the Title by creating LABELS.CFG but the second line is auto-generated according to the first trajectory it plots. I would like to customise that line. Please let me know if that's possible.
Thanks in advance.
-
- Posts: 451
- Joined: November 9th, 2012, 4:23 pm
- Registered HYSPLIT User: Yes
Re: Defining a map area for trajectory display
The program trajplot automatically generates the 2nd line of the output grapic (e.g. Forward trajectory beginning at 0000 UTC 27 Nov 17)
To change that label, open the postscript file trajplot.ps in a text editor such as Notepad. Search for that line (Forward trajectory) and edit it.
To change that label, open the postscript file trajplot.ps in a text editor such as Notepad. Search for that line (Forward trajectory) and edit it.