Sets the date for the next CALDB query.
calSetDate( Caldb_Type cal, String_Type date )
This sets the date to be used for the CALDB query.
It represents the start of the observation and
should either be one of the following:
YYYY-MM-DD |
This sets the date to use for the query.
|
YYYY-MM-DDTHH:MM:SS |
This sets both the date and the time to
use for the query.
|
"now" |
If set to the string "now" then the CALDB search will
look for files that are currently active.
|
This field matches the date parameter of the
quizcaldb tool, and can be set equal to the contents
of the FITS DATE-OBS keyword.
chips> cal = calCreateInfo
chips> calSetDate( cal, "now" )
This sets the CALDB search to look for files relevant for
observations at the time you call calFindFile().
chips> cal = calCreateInfo
chips> calSetDate( cal, "2002-03-24" )
This sets the CALDB search to look for files relevant for
observations taken on 24 March 2002. The default
time is "00:00:00", which can be changed using calSetTime().
chips> cal = calCreateInfo
chips> calSetDate( cal, "2002-03-24T17:45:23" )
This sets the CALDB search to look for files relevant for
observations taken on 24 March 2002 at 17:45:23.
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|