The CoordArrays class provides a way to describe X/Y coordinate data to the HLU library.
Header file: ncarg/hlu/CoordArrays.h Class name: coordArraysClass Class pointer: NhlcoordArraysClass Fortran class function: NHLFCOORDARRAYSCLASS Superclass: DataItem Composite classes: <None>
Type name: NhlTcaCastMode Definition: typedef enum _NhlcaCastMode { NhlSINGLEVECTOR = 1, NhlMULTIPLEVECTORS = 2, NhlSPLITVECTORS = 3 } NhlcaCastMode;
+---------------------------------------------------------------+ | CoordArrays resource set | |---------------------------------------------------------------| | NAME TYPE ACCESS | | CLASS DEFAULT | |===============================================================| | caCopyArrays NhlTBoolean RCSG | | diCopyData True | |---------------------------------------------------------------| | caXArray NhlTGenArray RCSG | | CaXArray NULL | |---------------------------------------------------------------| | caXCast NhlTcaCastMode RCSG | | CaCast <Dynamic> | |---------------------------------------------------------------| | caXMissingV NhlTVariable RCSG | | diMissingValue NULL | |---------------------------------------------------------------| | caXMaxV NhlTVariable RCSG | | CaXMaxV NULL | |---------------------------------------------------------------| | caXMinV NhlTVariable RCSG | | CaXMinV NULL | |---------------------------------------------------------------| | caYArray NhlTGenArray RCSG | | CaYArray NULL | |---------------------------------------------------------------| | caYCast NhlTcaCastMode RCSG | | CaCast <Dynamic> | |---------------------------------------------------------------| | caYMissingV NhlTVariable RCSG | | diMissingValue NULL | |---------------------------------------------------------------| | caYMaxV NhlTVariable RCSG | | CaYMaxV NULL | |---------------------------------------------------------------| | caYMinV NhlTVariable RCSG | | CaYMinV NULL | +---------------------------------------------------------------+
The CoordArrays object uses two arrays to do this: the caXArray and the caYArray. The caXCast and caYCast resources are used to determine which dimension of the caXArray and caYArray should be recognized as vectors, and which dimension should be element of the vectors.
The Min and Max resources are computed if they are not set explicitly. If the caXArray or caYArray resources are reset to new values, the Min and Max values are recomputed unless the Min and Max values have been explicitly set by the user. If these resources are ever set, the programmer/user is taking responsibility for updating them if they need to be updated.
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?