SCULIB_DECODE_COMPONENT

This routine decodes the value of a single component in a SCUBA data-spec

Description:

This routine decodes the value of a single component in a SCUBA data-spec. It is called by SCULIB_DECODE_SPEC. The component can be:-

or any combination of 2, 3 and 4 separated by commas. Example component values are:-

Errors will occur if:-

Output from the routine is in the form of a mask array SELECT. Data indices selected will be marked as 1 in SELECT, while indices not selected will be zeroes.

Invocation

CALL SCULIB_DECODE_COMPONENT (COMPONENT, N, SELECT, STATUS)

Arguments

COMPONENT = CHARACTER() (Given)
the component to be decoded
N = INTEGER (Given)
the number of items that can be selected
SELECT (N) = INTEGER (Returned)
the items selected; 1 for selected, 0 for not selected
STATUS = INTEGER (Given and Returned)
The global status.

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.