read bolometer data from a name file SCULIB_READBOLS
proc SET_BOLS
{ flat field data file written by SCUDR
{ Tues Apr 20 18:09:20 1993
{ observation run number 6
{ long-wave array
SETBOL name type du3 du4 calib theta a b qual day run ref
" ditto for other long-wave array bolometers "
{ short-wave array SETBOL name type du3 du4 calib theta a b qual day run ref
" ditto for other short-wave array bolometers "
{ P1100
SETBOL name type du3 du4 calib theta a b qual day run ref
{ P1300
SETBOL name type du3 du4 calib theta a b qual day run ref
{ P2000
SETBOL name type du3 du4 calib theta a b qual day run ref
end proc
where:-
name
is the name of a bolometer (e.g. a16), case insensitive
type
is the type of the bolometer, e.g. SHORT, LONG, P1100, P1300, P2000
du3
is the Nasmyth DU3 coordinate of the bolometer
du4
is the Nasmyth DU4 coordinate of the bolometer
calib
is the flat-field value of the bolometer
theta
is the angle between x axis an ‘a’ axis of fitted ellipse
a
is the semi-length of the ‘a’ axis
b
is the semi-length of the ‘b’ axis
qual
is the quality of the bolometer; 0=good, 1=bad
day
is the date when the information was measured, in days from 1 Jan
run
is the number of the run when the information was measured
ref
is the name of the reference bolometer
Values for bolometers that are not specified in the file will be set to default values; ’BAD’ for strings, 0 for all other values except BOL_QUAL which will be 1.
Errors will be reported and bad status returned if:-
name is not a valid bolometer name
du3, du4, calib, theta, a, b do not convert to reals
qual, run do not convert to integers
day does not convert to double
An attempt is made to set values for a bolometer twice
Each line in the file will be converted to upper case. Characters to the right of a { character in a line will be treated as comments and ignored.