Workspace Dimensions

A dimension is a size that several workspace variables share. Naming one says that the variables agree about it: every variable with NFREQ has as many frequency points as every other local variable, so a propagation matrix computed on one frequency grid cannot be combined with a radiance computed on another.

Each workspace variable that has a shape reports it as an effective shape, which lists its dimensions from the outside in. For an array whose elements are all shaped alike, the effective shape covers both: spectral_propmat_path is [NPATH, NFREQ] because it holds one propagation matrix vector per path point, each of them over the same frequency grid. So the effective shape is what an index into the variable has to provide.

These are not free-form annotations. Methods and agendas verify them when a user supplies the data or composes the calls, and the failure says which variables disagreed and what sizes they had. Every method and agenda that verifies sizes lists what it requires under its own Constraints rubric.

Nothing here says how a size is read. That belongs to the group of the variable, since a size is read differently from a Vector than from a JacobianTargets, while the dimension is the same in both.

NALT

The number of altitude points.

Variables of this size

Variables whose elements are of this size

None.

NAUX

The number of auxiliary points.

Variables of this size

Variables whose elements are of this size

None.

NAZIMUTH

The number of azimuth angles.

Variables of this size

Variables whose elements are of this size

None.

NDEPTH

The number of subsurface depth points.

Variables of this size

Variables whose elements are of this size

None.

NFREQ

The number of frequency points.

Variables of this size

Variables whose elements are of this size

NLAT

The number of latitude points.

Variables of this size

Variables whose elements are of this size

None.

NLEGENDRE

The number of Legendre coefficients.

Variables of this size

Variables whose elements are of this size

NLON

The number of longitude points.

Variables of this size

Variables whose elements are of this size

None.

NMEAS

The number of measurements.

Variables of this size

Variables whose elements are of this size

None.

NPATH

The number of path points.

Variables of this size

Variables whose elements are of this size

None.

NQUADRATURE

The number of quadrature points.

Variables of this size

None.

Variables whose elements are of this size

None.

NSTATE

The size of the model state vector.

Variables of this size

Variables whose elements are of this size

None.

NTARGET

The number of Jacobian targets.

Variables of this size

Variables whose elements are of this size

NZENITH

The number of zenith angles.

Variables of this size

Variables whose elements are of this size

None.