Below is a step-by-step example of creating 2D gridded trajectories in McIDAS-V:
To begin, add remote gridded data source:
- In the Data Sources tab of the Data Explorer, open the Gridded Data > Remote tree.
- Using the default catalog, select a model run and click Add Source. In this example, I am using the http://www.ssec.wisc.edu/mcidas/software/v/threddsRTModels.xml catalog with the Realtime data from IDD > NCEP Model Data > Global Forecast System (GFS) > GFS-CONUS 80km > Latest * model run.
Add the trajectory layer. There are two methods that can be used to create trajectories; through the Grids > Grid 2D/3D Trajectory formulas, or through the derived Grid 2D/3D trajectory fields. When using the formulas, you will be prompted for the u, v, color-by field, and the vertical field if creating 3D trajectories. The derived fields will only prompt for the color-by field, as the u, v, and vertical components will be automatically selected:
- To create a 2D trajectories, in the Field Selector, select the 2D grid > Derived > Grid 2D Trajectory field. Note that this field name may differ dependent on the data source being worked with.
- If desired, subset a block of times. In the Times tab of the Field Selector, use the dropdown to change Use Default (all times included with the grid) to Use Selected. Right-click in the Times tab and choose Select Range > First 10.
- Click Create Display.
- A Field Selector window will pop up prompting for the field to color the trajectories by. Select any 2D field. In this example, I am using the GFS CONUS 80km > 2D grid > Relative humidity @ Specified height level above ground.
- Click OK in the Field Selector window.
This will take you to the Layer Controls. Below is a description of the Layer Controls menu items:
- The Levels menu item is only used when plotting 3D trajectories. This will allow for setting the initial vertical level of the trajectories.
- The Trajectory Initial Area items allow for defining the locations where the trajectories will originate from. Points allows for setting multiple individual locations for the trajectories to originate. ClosePolygon allows for drawing any shape in the Main Display. The trajectories will originate within the geographical bounds of the polygon. Rectangle works the same as ClosePolygon, except the shape can only be drawn as a rectangle.
- The Initial Area Skip Factor item sets the number of grid points to skip over in the Trajectory Initial Area region if Close Polygon or Rectangle were used. By default, this is set to 0, meaning that every grid point will be used. Setting this to 1 will plot every other trajectory, and so on.
- The Backward trajectory item plots back trajectories. In this case, the trajectories will be drawn in a way where the trajectories end up in the initial Trajectory Initial Area region. This is unchecked by default, meaning that the trajectories will originate from the Trajectory Initial Area region and be drawn out from there.
Create a display of the trajectories:
- For Trajectory Initial Area, select Rectangle.
- In the Main Display, use Left-Click+Drag to draw a bounding box. Draw this box in a region contained within the bounds of the data. In this example, I’m drawing a box over the continental United States.
- In the Layer Controls, click Create Trajectory.
- Use the Time Animation Widget controls in the Main Display to play a loop of the trajectories.
By default, the entire length of the trajectory is displayed. Dependent on the resolution of data used for the display, this can lead to a cluttered display. Adjust the length of the trajectory to only show the last two time steps in each trajectory:
- In the Layer Controls, go to the Times tab and click the Time Mode button.
- In the Time Settings window, change Start Time to Relative to End Time.
- Click the Offset button for Start Time and in the Set Start Offset window, set the offset to – 12 hours. Click OK.
- The Start Time is now set to be 12 hours less than the End Time, which is set to From Animation Time. This means that the trajectory will end at the current animation time of the loop, and start 12 hours before the animation time. In this example, the GFS 80km CONUS data is in 6 hour time steps, so the last two time steps are included in each trajectory.
- In the Main Display, use the Time Animation Widget to play through the loop.
Additional settings for the trajectories can be set through the Layout tab in the Layer Controls. These settings include:
- The color table enhancement used for the trajectories.
- The visible range for the trajectories. For example, turning this option on and setting the range to 50 to 100 will only draw trajectories when the relative humidity is between 50 and 100%.
- The width or thickness of the trajectory lines.
McIDAS User Services