Personal tools
You are here: Home CDAT Tutorials Getting Started with VCDAT Dimension Subsetting
Document Actions

Dimension Subsetting

by zopeadmin last modified 2008-01-09 14:35
  Table of Contents Previous Next
Contents Previous Next

Goal: To introduce you to dimension subsetting, node striding, and, reversing.

Dimension

There are three ways to subset a dimension:

  • Method 1: Edit the "longitude" dimension’s coordinate value entry window. In the window, replace text with “-90:90 by 5”. Then press the ‘Enter’ key to register the change.

Dimension 1

Remember: the text string represents “first : last by stride”.

  • Method 2: Select the arrow button to the right of the "latitude" entry window. Select the -70 value in the item list to get the first or single value. Repeat the process and select 70. This will complete the range for the "latitude" dimension (i.e., "-70 : 70 by 1") . See images below.

Dimensions 2 Dimensions 3 Dimensions 4

  • Method 3: For the time dimension, move the top slider to "1982-1-1 0:0" to set the first value and the bottom slider to "1984-12-1 0:0" to set the last value. The first values under the sliders represent the first value (i.e., 1982-1-1 0:0) and the second value under the sliders represent the second or last value (i.e., 1984-12-1 0:0). These values are dynamically updated as the sliders move.

Dimensions_5

Select the orange "Plot" button above to see results. The plotted results can be seen in figure 6.

Try Reversing the Dimension Order: To reverse the order of the "longitude" dimension, move the top slider to the right and stop at the value of 90 and the bottom slider to the left and stop at the value of -90 . Notice the change in the values under the sliders.

Dimensions_8

Select the orange "Plot" button above to see results. The plotted results can be seen in figure 7.

Dimensions_6
Figure 6. Subsetted display results.

Dimensions_7
Figure 7. Reversed "longitutde" display results.

  Table of Contents Previous Next
Contents Previous Next

Powered by Plone