Returns the code name stored in the CALDB structure.
String_Type calGetData( Caldb_Type cal )
This function returns the value of the
"data" field in the CALDB structure.
This field contains the name of the item
that the CALDB will search for when
calFindFile() 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:
variable cal = calCreateInfo( "img.fits" );
variable name = calGetData( cal );
variable file = calFindFile( cal );
vmessage( "The file for %s is\n%s", name, file );
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|