Vis > visualization > explorer > Explorer Sample Map 1
Explorer Sample Map 1
Sample Map - Simple Colored Slices
Description
In this very simple map, ReadNC reads in a netCDF file, in this case an NMC data file. The variable "Temperature" is selected and a 3-dimensional lattice of values is sent out. "ScaleLat" is used to scale the Z-axis coordinates down so that all three axis coordinates cover roughly the same range of values. "FlipLat" is used to "reverse" the order of the the N-to-S data so that is runs S-to-N, and to "invert" the pressure-based data so that the new vertical coordinate points along the positive z-zxis; this results in a nice right-handed coordinate system.
A "BoundBox" shows the domain of the data set, and an "OrthoSlice" module is used to extract one horizontal slice of the data. "LatToGeom" creates a colored plane using the data in the extracted slice and the colormap from "GenerateStdColormap". Finally, the colored plane is sent to Render, along with the bounding box, to be rendered graphically.
Availability
This map is available (gzip-compressed) as "simple_slicer_sample_1.map.gz".
Hints:
- If you are not sure what a variable contains, put ReadNC into "Build"mode and select the variable of interest to get info about it.
- If you end up plotting a 2-D variable, turn off the BoundBox gridding at Kmin.
- If you a 3-D variable after plotting a 2-D variable, you will have to reset the index limits for K in ReadNC.


