WVVariableAnnotation

Describe a variable computed from a 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 whether it has an imaginary part. These annotations are used for 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.

A matching Markdown sidecar named for the variable may provide the longer mathematical or scientific description. CAPropertyAnnotation locates that sidecar when detailed documentation is requested, and the website builder merges the canonical sidecar into each generated class reference that exposes the variable. This keeps equations and tables out of constructor calls without disconnecting them from the annotation.

Topics

Developer Topics

These items document internal implementation details and are not part of the primary public API.

  • Operation internals
    • modelOp WVOperation responsible for computing this variable


This site uses Just the Docs, a documentation theme for Jekyll.