BDI1_WBLQ
Write back invented logical quality to the file quality component
Invocation
CALL BDI1_WBLQ( BDID, HFID, PSID, STATUS )
Description
Writes logical quality to a dataset. If no quality already exists
then QUAL__BAD is written to each pixel with bad (= false) logical
quality. If quality does already exist then only those pixels
which have become bad have their quality values changed.
Arguments
-
BDID = INTEGER (given)
The ADI identifier of the BinDS (or BinDS derived) object
-
HFID = INTEGER (given)
The ADI identifier of the HDS file object
-
PSID = INTEGER (given)
The ADI identifier of the item private storage
-
STATUS = INTEGER (given and returned)
The global status.
References
BDI1_WBLQ_INT
Convert logical quality to byte values
Invocation
CALL BDI1_WBLQ_INT( N, LVAL, NEW, BVAL, STATUS )
Description
Creates byte quality from logical quality. If the quality is new we
write directly, otherwise we bit-wise OR the existing quality with
QUAL__BAD.
Arguments
-
N = INTEGER (given)
Number of values to copy
-
LVAL[] = LOGICAL (given)
Logical values, true if pixel is good
-
NEW = LOGICAL (given)
The byte values are new
-
BVAL[] = BYTE (given and returned)
Byte values
-
STATUS = INTEGER (given and returned)
The global status.
References