valid

valid( QDataSet ds ) → QDataSet

returns a dataset with zero where the data is invalid, and positive non-zero where the data is valid. (This just returns the weights plane of the dataset.)

r= where( valid( ds ) )

Parameters

ds - a rank N dataset that might have FILL_VALUE, VALID_MIN or VALID_MAX set.

Returns:

a rank N dataset with the same geometry, with zeros where the data is invalid and >0 where the data is valid.

See Also:

invalid(QDataSet)


[search for examples] [view on GitHub] [view on old javadoc] [view source]


variance

variance( Object o ) → QDataSet

variance function is the square of the stddev.

Parameters

o - object which can be interpreted as rank 1 dataset.

Returns:

Rank 0 QDataSet containing the variance. The result is currently dimensionless, but this will change.

See Also:

stddev


[search for examples] [view on GitHub] [view on old javadoc] [view source]

variance( QDataSet ds ) → QDataSet