General description: The sdReport files are produced for each MJD, and report the use of the SDSS spectrograph. The OPHDRFIX structure is used for a posteriori fixes to the parameters in the headers, which can be wrong.
Naming convention: sdReport-[ddddd].par, where ddddd is the int(MJD).
Approximate size: 1-20 kbytes.
File type: Yanny
Read by products: ???
Written by products: ???
Example contents: (just the first row of data is shown)
mjd 54509 #2008-02-12 22:29:06Z
observers swatters
version v4_38_0 # version of IOP
mcpVersion v6_4_0 # version of MCP
cameraVersion unknown # Camera code version
parameters # Tunable parameters file (if any)
parametersDir # Directory containing the 'parameters'
# file (optional --- defaults to '.')
equinox 2000 # Equinox of telescope coordinates (years)
fileNameFormat sdR-%02s-%08d.fit # Format to convert
# frame ID to raw file name
# CCD configuration files
configDir .
ccdConfig opConfig-54509.par
ccdECalib opECalib-52526.par
ccdBC opBC-51791.par
ccdCamera opCamera-52639.par
ccdVoltages idCCDLog-%d-54509.par
r1 4 # which CCD goes to which camera
b1 1 # which CCD goes to which camera
disabled -9999 # which CCD goes to which camera
r2 2 # which CCD goes to which camera
b2 3 # which CCD goes to which camera
typedef struct {
int seqId; # sequence number.
int tileId; # tile ID
int plateId; # plugged plate ID
int mapId; # mapped plate ID
char flavor[20]; # Flavor of this sequence (e.g., dome flat, cal lamp
, etc.)
char quality[20];
char program[20];
int exposure; # Unique identifier.
double expTime; # Exposure time. (seconds)
double mjd; # MJD at the start of the exposure. (MJD)
double ra;
double dec;
char camera[20]; # Cameras used (e.g., b1r1b2r2)
char targetName[20];
char taihms[20]; # HH:MM:SS.SS of exposure start (UT)
} SEXP;
typedef struct {
int seqNum;
int frame;
char comment[240];
} SDCOMMENT;
typedef struct {
char fileroot[20]; # Root of file name, without suffix
char keyword[9]; # Keyword name
char value[80]; # Keyword value (as a string)
} OPHDRFIX;
sdcomment 49944 49944 {{}}
sexp 49944 -9999 -9999 -9999 bias excellent "binning 1 1" 49944 0.0 54508.93718
-9999.0000 -9999.0000 b1 -9999 22:30:05.12