| 
 
      Returns the value of the query expression stored in the CALDB structure.
     
String_Type calGetQuery( Caldb_Type cal ) 
       
	This function returns the value of the
	query expression field in the CALDB structure.
	This field is used to define the boundary conditions 
	when querying the CALDB; if no such condition has been
	specified then either "-" or "" is returned.
       
  variable cal = calCreateInfo( "img.fits" );
  variable expr = calGetQuery( cal );
  if ( orelse { "" == expr } { 0 == strcmp( "-", expr ) } )
    message( "No boundary condition has been set up." );
 
caldb
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
modules
caldb
 |