Extract Specific DQ Level from Decimal Flag
Usage
DQlev(dq, level = "BURST_CAT2")
Arguments
- dq
An integer. Decimal DQ flag.
- level
A character string. DQ level to extract (e.g., "BURST_CAT2" or "all").
Value
If level = "all", returns a named integer vector of bit flags.
Otherwise, returns a scalar (0 or 1) indicating the presence of the selected DQ level.