Returns the observation start date stored in the CALDB structure.
String_Type calGetDate( Caldb_Type cal )
This function returns the start date of the observation
stored in the CALDB structure.
The returned date may not contain the start time of the
observation if the CALDB structure was created from a file;
this depends on the format of the DATE-OBS keyword in the
file. However, the calGetTime() function is guaranteed
to return the start time of the observation.
variable cal = calCreateInfo( "img.fits" );
variable date = calGetDate( cal );
vmessage( "The observation started on %s", date );
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|