WVVariableAnnotation
Describes a variable computed from the WVTransform
Declaration
classdef WVVariableAnnotation < WVAnnotation
Overview
In addition to adding a name, description and detailed description of a given variable, you also specify its dimensions, units, and whether or note it has an imaginary part. These annotations are used for both online documentation and for writing to NetCDF files.
Setting the two properties isVariableWithLinearTimeStep
and
isVariableWithNonlinearTimeStep
are important for determining
how the variable is cached, and when it is saved to a NetCDF file.
Note that as a subclass of WVAnnotation, this class looks for a file (name).md in the directory where it is defined another other subdirectories. This file is then read-in to the detailed description that is used on the website.
Topics
- Initialization
WVVariableAnnotation
create a new instance of WVVariableAnnotation
- Properties
dimensions
ordered cell array with the names of the dimensionsisComplex
boolean indicating whether or not the variable may have an imaginary partisVariableWithLinearTimeStep
boolean indicating whether the variable changes value with a linear time stepisVariableWithNonlinearTimeStep
boolean indicating whether the variable changes value with a non-linear time stepmodelOp
WVOperation responsible for computing this variableunits
of the variable