PSM.vslite.rows

Indicate the stateVector rows used to run a VS-Lite PSM


Syntax



Description

obj = obj.rows(rows)

Indicate the state vector rows that should be used as the monthly temperature and monthly precipitation inputs to the VS-Lite PSM. The input is a column vector with 24 elements. The first 12 elements should be monthly temperatures from January to December (in that order). The last 12 elements should be monthly precipitation from January to December (also in that order).

obj = obj.rows(memberRows)

Indicate which state vector row to use for each ensemble member. This syntax allows you to use different state vector rows for different ensemble members. The input is a matrix with 24 rows and one element per ensemble member. The 24 rows should correspond to the climate variables described in the previous syntax.

obj = obj.rows(evolvingRows)

Indicate which state vector row to use for different ensembles in an evolving set. This syntax allows you to use different state vector rows for different ensembles in an evolving set. The input should be a 3D array of either size [24 x 1 x nEvolving] or of size [24 x nMembers x nEvolving]. If the second dimension has a size of 1, uses the same row for all the ensemble members in a particular evolving ensemble. If the second dimension has a size of nMembers, allows you to use a different row for each ensemble member in each evolving ensemble.

rows = obj.rows

Returns the current rows for the PSM object

obj = obj.rows(‘delete’)

Deletes any currently specified rows from the VS-Lite PSM object.


Input Arguments

row

column vector, linear indices [24 x 1]
The state vector rows that hold the monthly temperature and precipitation inputs required to run the VS-Lite PSM. The first 12 rows are monthly temperatures from January to December (in that order). The last 12 rows are monthly precipitation from January to December (also in that order).

memberRows

matrix, linear indices [24 x nMembers]
Indicates which state vector row to use for each ensemble member. Should be a matrix with 24 rows (the monthly temperature and precipitation inputs), and one element per ensemble member. Uses the same rows for the ensemble members in different evolving ensembles.

evolvingRows

3*D* array, linear indices [24 x 1|*nMembers* x nEvolving]
Indicates which state vector rows to use for different ensembles in an evolving set. Should be a 3D array, and the number of elements along the third dimension should match the number of ensembles in the evolving set. If the second dimension has a length of 1, uses the same rows for all the ensemble members in each evolving ensemble. If the second dimension has a length equal to the number of ensemble members, allows you to indicate which state vector rows to use for each ensemble member in each evolving ensemble.

Output Arguments

obj

scalar vslite object
The VS-Lite PSM with updated rows

rows

linear indices, [24 x 1|*nMembers* x 1|*nEvolving*]
The current rows for the VS-Lite PSM.