PSM.prysm.cellulose.rows

Indicate the stateVector rows used to run the PRYSM cellulose sensor module


Syntax



Description

obj = obj.rows(rows)

Indicate the state vectors row that should be used as the temperature, precipitaion, and relative humidity inputs for the cellulose sensor module when calling the “PSM.estimate” command. The input is a column vector with 5 rows. The first row is temperature, second is precipitation, third is relative humidity, fourth is d18Os, fifth is d18Ov. Uses the same state vector rows for each ensemble member and each ensemble in an evolving set.

obj = obj.rows(memberRows)

Indicate which state vector rows 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 5 rows, and one column per ensemble member. The rows should refer to the temperature, precipitation, relative humidity, d18Os, and d18Ov variables (in that order).

obj = obj.rows(evolvingRows)

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 [5 x 1 x nEvolving] or of size [5 x nMembers x nEvolving]. If the second dimension has a size of 1, uses the same rows for all the ensemble members in a particular evolving ensemble. If the second dimension has a size of nMembers, allows you to use different rows 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 object.


Input Arguments

rows

linear indices, column vector [5]
The state vector rows that hold the climate variables required to run the cellulose sensor module. The first row is temperature, second is precipitation, third is relative humidity, fourth is d18Os, and fifth is d18Ov. Uses the same rows for all ensemble members and ensembles in an evolving set.

memberRows

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

evolvingRows

3*D* array, linear indices [5 x 1|*nMembers* x nEvolving]
Indicates which state vector row 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 row 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 row to use for each ensemble member in each evolving ensemble.

Output Arguments

obj

scalar prysm.*cellulose* object
The cellulose PSM with updated rows

rows

linear indices, [1 x 1|*nMembers* x 1|*nEvolving*]
The current rows for the cellulose PSM