Graphics: RIP - Hurricane Katrina (Trajectory Plots)

If you have not run ripdp_wrfarw for this case yet - do so first.

mkdir RIPDP


Create Trajectories

We want to create backward trajectories for grid point (55,40). Below is a very simplistic example of how to do this. First we create some UIF's (traj1.in ; traj2.in ; traj3.in).

Some important points to take note of:

    • itrajcal is set to 1
    • We want backward trajectories, so we set rtim=12 and ctim=0 (Forward trajectories would require rtim=0 and ctim=12)
    • dtfile is set to the interval of the incoming data
    • dttraj should be set smaller, which will allow for interpolations and better looking tracks
    • xjtraj, yitraj and zktraj are the start point of the trajectory

Run rip 3 times with the 3 UIF's (Note the only difference between these three UIF's is the value of zktraj.)

./rip -f RIPDP/katrina traj1.in
./rip -f RIPDP/katrina traj2.in
./rip -f RIPDP/katrina traj3.in


This will create .diag and .traj files for each of the UIF's


Let's plot these three tracks

Create a UIF to plot this data - traj_plot.in.

Note:

    • itrajcal is set to 0
    • We are using all three output files (traj1.traj ; traj2.traj ; traj3.traj)
    • We plot data for 12 hours (tjst=0 and tjend=12)

Create the plot

./rip -f RIPDP/katrina traj_plot.in

This will create a plot that looks like this: