Sets the boundary condition(s) for the CALDB query.
calSetExpression( Caldb_Type cal, String_Type expr )
This routine sets the expression used to define the boundary
condition, or conditions, of the CALDB search when
calFindFile() is called. A value of "-" means that no
boundary conditions are to be used.
This field corresponds to the expr parameter of the quizcaldb
tool. The conditions are expressed using a syntax similar to
FORTRAN boolean expressions, so that
means that only those files relevant for CTI-corrected
data should be searched, while
cti_app.eq.NNNNNNNNNN.and.ccd_id.lt.4
means to look for data relevant to non CTI-corrected
data whose ccd_id field is less than 4 (i.e. the
ACIS-I array).
Note that the routine to get the current boundary condition
from a CALDB structure is called
The caldb module is not available by default; to use it in a
S-Lang program, it must be loaded using the
S-Lang require() function:
slsh> cal = calCreateInfo;
slsh> calSetExpression( cal, "cti_app.eq.PPPPPNPNPP" );
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|