This section gives for every product file a short description of the
content and the use of the file. The most common starting point for data
reduction is LSAN file (Section 7.2.7.1) which is the final
output file from the
automated processing of standard observations (L01, L02 and L04). If an
observer wishes to re-process their data with interactive analysis then they
will require the SPD level files LSPD (Section 7.2.5.1) and
LIPD (Section 7.2.5.2), the
Glitch History file LWGH (Section 7.2.5.3) is not needed as
it is not used in
Auto-Analysis stage.
Note: at present the L03 data is only scientifically
validated to SPD level due to the problem relating to the placement of the
grating resolution element (Section 6.13) therefore L03
observers must start their
reduction with this data and it is recommended that they use LWS interactive
analysis. It is unlikely that any observer will wish to use ERD level
products (Section 7.2.4) however these are included in this
chapter in order to give
a complete set of information.
The LWS Instrument Time Key (ITK) is the main source of timing information in the products for one AOT, and is therefore extremely important for the processing. The LWS ITK is unique over an orbit. It is given in units of of a second. The ITK for science record can be calculated using:
(7.1) |
where:
Table 7.1 gives the general keywords that are used in the header of every data product. Some of these are general FITS keywords, others are specific for ISO data.
Name | type | contents |
SIMPLE | L | general FITS keyword |
BITPIX | I | general FITS keyword |
NAXIS | I | general FITS keyword |
EXTEND | L | general FITS keyword |
ORIGIN | C | European Space Agency |
TELESCOP | C | Infrared Space Observatory |
INSTRUME | C | Instrument used |
FILENAME | C | File name in ISO archive |
DATE | C | Creation date 96/115 |
FILEVERS | C | Version ID in ISO archive |
OLPVERS | C | SOC OLP system version |
USERNAME | C | Unofficial data product |
VERS1 | C | Version ID of each input file |
OBJECT | C | Target ID as given by proposer |
OBSERVER | C | Proposer ID in ISO Mission DB |
EQUINOX | R | Equinox |
TMRATE | I | Telemetry rate in kbps (kbits/sec) |
EOHAUTCS | C | Approx. UTC of start of observation |
EOHAUTCE | C | Approx. UTC of end of observation |
EOHAAOTN | C | AOT name |
EOHAPLID | C | Proposal ID |
EOHAOSN | C | Observation sequence number |
EOHAPSN | C | Pointing sequence number |
EOHAPCAT | C | Proposal category |
EOHACIND | C | Calibration indicator |
EOHATTYP | C | Target type |
AOTVERS | C | AOT-to-OCT logic version |
ATTUTCSL | C | UTC of start time of slew to intended target |
ATTUTCS | C | UTC of time of first arrival at intended target |
ATTOTFTH | R | On-target flag threshold (arc secs) |
ATTRA | R | Intended Right Ascension of instrument viewing |
ATTDEC | R | Intended DEClination (with ATTRA) |
ATTTYPE | C | Type of attitude operation (P/R/T) |
ATTGUIDE | R | Guide star reference number |
ATTSAANG | R | Solar aspect angle (degrees) |
ATTERROR | I | Contingency flag(0=success; 1=target not acq'd) |
TREFUTC1 | I | UTC (whole seconds since 01-01-1989) |
TREFUTC2 | I | UTC (remaining fraction of second) |
TREFUTK | I | ISO Uniform Time Key (UTK) |
TREFITK | I | ISO Instrument Time Key (ITK) |
TREFITKU | R | ITK unit length in seconds |
XTENSION | C | Binary table FITS extension |
BITPIX | I | general FITS keyword |
NAXIS | I | general FITS keyword |
NAXIS1 | I | general FITS keyword |
NAXIS2 | I | general FITS keyword |
PCOUNT | I | general FITS keyword |
GCOUNT | I | general FITS keyword |
TFIELDS | I | general FITS keyword |
Transparent data are AOT specific data that are not processed by the satellite, but are passed directly from the uplink side of the ground station to the down link side (`transparent' in this case thus means bypassing the satellite). The Transparent Data (TDATA) contains information generated during the processing of the observer's input which may be required when processing the data for an observation, but is not required by the instrument to execute the observation on the satellite. The TDATA messages either relate to a complete observation (or AOT) or to the execution of a particular Instrument Command Sequence (ICS) and are written to the EOHA and EOHI files respectively. The main TDATA information appears as the fields EOHAAOTV and EOHIMSG1 in the EOHA and EOHI files. Their contents are shown in Tables 7.2 and 7.3.
Offsets | Length | Type | Description |
(bytes) | (bytes) | ||
0-3 | 4 | 2 I*2 | Raster Dimensions |
4-8 | 5 | Observation duration (seconds) not including slew | |
9-19 | 11 | Date of AOT to OCT logic processing as YYDDDHHMMSS | |
20-29 | 10 | unused | |
30 | 1 | FPS used flag (0: no, 1: yes), blank for grating AOTs | |
31 | 1 | FPL used flag (0: no, 1: yes), blank for grating AOTs | |
32-33 | 2 | spare | |
34-35 | 2 | I*2 | Total number of spectra (number of lines for line |
scan AOTs, number of spectra to build up the range | |||
for wavelength range AOTs | |||
36-37 | 2 | I*2 | Detector used for the start wavelength (only AOT L01) |
38-39 | 2 | I*2 | Detector used for the end wavelength (only AOT L01) |
OR | |||
36-39 | 4 | I*4 | Start zone of the series of zones (only AOT L03) |
40-43 | 4 | I*4 | End zone of the series of zones (only AOT L03) |
44-47 | 4 | I*4 | First zone number corresponding to FPL (breakzone) |
(only AOT L03) | |||
48-55 | 8 | F8.4 | Start wavelength of requested range (AOTs L01 and L03) |
56-63 | 8 | F8.4 | End wavelength of requested range (AOTs L01 and L03) |
Offsets | Length | Type | Description |
(bytes) | (bytes) | ||
0-3 | 4 | I*4 | Requested S/N for this line or range |
4-15 | unused | ||
16-17 | 2 | I*2 | Spectrum number (line number or part of range) |
18-23 | 6 | I*6 | Current scan number |
24-27 | 4 | I*4 | Current zone number (only AOTs L03 and L04, |
see below | |||
28-35 | 8 | F8.4 | Wavelength (current line for line spectra or |
reference line that determined integration | |||
time for range spectra) | |||
36-43 | 8 | E8.3 | Incident power (for line in line spectra or |
for reference line for range spectra) | |||
44-47 | 4 | I*4 | Maximum scan half width (only for line spectra) |
48-49 | 2 | I*2 | Active detector (line spectra: detector for |
current line; Range spectra: detector for | |||
reference line) | |||
50-55 | 6 | I*6 | Total number of scans to be completed |
56-59 | 4 | I*4 | Total number of measurements |
60-63 | 4 | I*4 | Number of scans between illuminator flashes |
As the TDATA is not sent to the satellite it is not synchronised accurately with the execution of ICSs by the instrument, or to the telemetry stream from the instrument. A counter has therefore been implemented in the LWS housekeeping which increments when each relevant ICS is executed allowing the data produced to be associated with the correct TDATA information by the ISO data processing software.
Field | Number | Type | Description |
CSGPUKST | 1 | I*4 | UTK start time |
CSGPUKEN | 1 | I*4 | UTK end time |
CSGPIKST | 1 | I*4 | ITK start time |
CSGPIKEN | 1 | I*4 | ITK end time |
CSGPUTST | 2 | I*4 | UTC start time |
CSGPUTEN | 2 | I*4 | UTC end time |
CSGPOSN | 1 | I*1 | Observation Sequence Number |
CSGPFILL | 15 | I*1 | Spare |
LSTASMP1 | 1 | I*2 | Sample list word 1 |
LSTASMP2 | 1 | I*2 | Sample list word 2 |
LSTASMP3 | 1 | I*2 | Sample list word 3 |
LSTASMP4 | 1 | I*2 | Sample list word 4 |
LSTASMP5 | 1 | I*2 | Sample list word 5 |
LSTASMP6 | 1 | I*2 | Sample list word 6 |
LSTASMP7 | 1 | I*2 | Sample list word 7 |
LSTALTYP | 1 | I*2 | Sample list type |
LSTASPA1 | 1 | I*2 | Spare |
LSTAGRSN | 1 | I*2 | Grating scan number |
LSTAGRSD | 1 | I*2 | Grating scan direction (0:forward; 1:reverse) |
LSTASTAT | 1 | I*2 | Instrument status |
LSTAFPSN | 1 | I*2 | FP scan number |
LSTAFPSD | 1 | I*2 | FP scan direction (0:forward; 1:reverse) |
LSTAXTRA | 1 | I*4 | Spare |
LSTATYPE is Integer*2 variable consisting of a high byte which identifies the sub-system and a low byte that subdivides different types within the sub-system. The sub-system values are:
`0100'X Illuminator sub-system `0200'X Grating sub-system `0300'X FPS sub-system `0400'X FPL sub-system `0000'X Other
Using this and the LSTASTAT field the status of the
instrument at any given time can be determined
(Table 7.5).
LSTATYPE | LSTASTAT | Meaning |
Grating | 0 | Grating sample list, grating not scanning |
Grating | 1 | Grating sample list, grating scanning |
FPS | 0 | FPS sample list, FP not scanning |
FPS | 1 | FPS sample list, FP scanning |
FPL | 0 | FPL sample list, FP not scanning |
FPL | 1 | FPL sample list, FP scanning |
Illuminator | 0 | Illuminator sample list, illuminators off |
Illuminator | 1 | Illuminator sample list, illuminators on |
Other | n/a | Other sample list |
The sample list is used to tell the instrument which sub-systems have to be readout. Table 7.6 gives the possible sample lists for LWS.
In principle the only things that are of interest to the general user
of LWS are the detector readouts, the positions of grating
and FP, and the illuminator status. The temperatures are put
here as well for use by the LWS instrument team.
Sample list | Sampled data |
Grating | 10 detectors, grating position (LVDT), grating coil current, |
grating structure temperature, grating electronics temperature, | |
grating commanded position | |
FPS | 10 detectors, grating LVDT position, 3 FPL error signals |
FPS commanded position, grating | |
FPL | 10 detectors, grating LVDT position, 3 FPL error signals |
FPL commanded position, | |
Illuminator | 10 detectors, illuminator current, grating structure |
temperature, detector temperature A or temperature B, | |
FPL temperature, illuminator status |
The record structure can be found in Table 7.7.
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument Time Key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LIERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LIERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LIERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LIERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LIERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LIERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LIERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LIERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LIERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LIERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LIERGST | 28 | 1 | I*2 | Grating structure temperature |
LIERDTA | 30 | 1 | I*2 | Detector temperature A |
LIERLTMP | 32 | 1 | I*2 | FPL temperature |
LIERICUR | 34 | 1 | I*2 | Illuminator current |
LIERICS | 36 | 1 | I*2 | Illuminator commanded status |
LIERFIL2 | 38 | 1 | I*2 | Spare |
The record structure can be found in Table 7.8.
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument Time Key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LGERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LGERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LGERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LGERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LGERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LGERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LGERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LGERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LGERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LGERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LGERGLVP | 28 | 1 | I*2 | Grating LVDT position |
LGERGCUR | 30 | 1 | I*2 | Grating current |
LGERGST | 32 | 1 | I*2 | Grating structure temperature |
LGERGET | 34 | 1 | I*2 | Grating electronics temperature |
LGERGCP | 36 | 1 | I*2 | Grating commanded position |
LGERFIL2 | 38 | 1 | I*2 | Spare |
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument Time Key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LSERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LSERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LSERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LSERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LSERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LSERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LSERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LSERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LSERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LSERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LSERGLVP | 28 | 1 | I*2 | Grating LVDT position |
LSERSCP | 30 | 1 | I*2 | FPS commanded position |
LSERSEC1 | 32 | 1 | I*2 | FPS error signal 1 |
LSERSEC2 | 34 | 1 | I*2 | FPS error signal 2 |
LSERSEC3 | 36 | 1 | I*2 | FPS error signal 3 |
LSERFIL2 | 38 | 1 | I*2 | Spare |
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument Time Key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LLERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LLERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LLERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LLERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LLERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LLERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LLERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LLERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LLERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LLERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LLERGLVP | 28 | 1 | I*2 | Grating LVDT position |
LLERLCP | 30 | 1 | I*2 | FPL commanded position |
LLERLEC1 | 32 | 1 | I*2 | FPL error signal 1 |
LLERLEC2 | 34 | 1 | I*2 | FPL error signal 2 |
LLERLEC3 | 36 | 1 | I*2 | FPL error signal 3 |
LLERFIL2 | 38 | 1 | I*2 | Spare |
The record structure can be found in Table 7.11.
Field | Offset | Number | Type | Description |
GEPRTKEY | 0 | 1 | I*4 | Instrument Time Key |
GEPRQUAL | 4 | 2 | I*1 | Frame quality flag (see note) |
LWHKFR01 | 8 | 128 | I*2 | Housekeeping Frame 1 |
LWHKFR17 | 264 | 128 | I*2 | Housekeeping Frame 17 |
The frame quality flag is set to 0 for perfect data, and is non-zero for imperfect quality data (i.e. frame 1 or 17 are bad). The housekeeping frames 1 and 17 contain the essential housekeeping of the instrument and are used in the processing. The most important parameters that can be found in these housekeeping frames are given in Tables 7.12, 7.13, 7.14 and 7.15.
MSB | LSB | |||||||||||||||
det | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Frame 1 bytes 122-123, Frame 17 bytes 10-11 | ||||||||||||||||
SW1 | x | x | x | |||||||||||||
SW2 | x | x | x | |||||||||||||
SW3 | x | x | x | |||||||||||||
SW4 | x | x | x | |||||||||||||
SW5 | x | x | x | |||||||||||||
Frame 1 bytes 124-125, Frame 17 bytes 12-13 | ||||||||||||||||
LW1 | x | x | x | |||||||||||||
LW2 | x | x | x | |||||||||||||
LW3 | x | x | x | |||||||||||||
LW4 | x | x | x | |||||||||||||
LW5 | x | x | x |
MSB | LSB | |||||||||||||||
det | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Frame 17 bytes 14-15 | ||||||||||||||||
SW1 | x | x | x | |||||||||||||
SW2 | x | x | x | |||||||||||||
SW3 | x | x | x | |||||||||||||
SW4 | x | x | x | |||||||||||||
SW5 | x | x | x | |||||||||||||
Frame 17 bytes 16-17 | ||||||||||||||||
LW1 | x | x | x | |||||||||||||
LW2 | x | x | x | |||||||||||||
LW3 | x | x | x | |||||||||||||
LW4 | x | x | x | |||||||||||||
LW5 | x | x | x |
Parameter | Frame | bytes |
Current sample number | 17 | 172-173 |
Current number of resets from step | 17 | 174-175 |
Number of resets after saturation | 17 | 176-177 |
Commanded number of resets per step | 17 | 170-171 |
Commanded number of samples per reset | 17 | 168-169 |
Parameter | Frame | bytes |
Grating commanded position | 17 | 44-45 |
Grating LVDT position | 17 | 62-63 |
Grating requested scan mode | 17 | 64-65 |
Grating current scan number | 17 | 56-57 |
Grating requested start position | 17 | 46-47 |
Grating requested step size | 17 | 50-51 |
Grating requested number of steps | 17 | 48-49 |
Grating current step number | 17 | 52-53 |
Parameter | Frame | bytes |
FP requested scan mode | 17 | 88-89 |
FP S or L commanded selection | 17 | 72-73 |
FP requested start position | 17 | 76-77 |
FP requested step size | 17 | 80-81 |
FP requested number of steps | 17 | 78-79 |
FP current scan number | 17 | 86-87 |
FP current step | 17 | 82-83 |
FP current commanded position | 17 | 74-75 |
FPS power ON/OFF | 17 | 90-91 |
FPS offset 2 | 17 | 92-93 |
FPS offset 3 | 17 | 94-95 |
FPS coil current 1 | 17 | 102-103 |
FPS coil current 2 | 17 | 104-105 |
FPS coil current 3 | 17 | 106-107 |
FPS error coil 1 | 17 | 96-97 |
FPS error coil 2 | 17 | 98-99 |
FPS error coil 3 | 17 | 100-101 |
FPL power ON/OFF | 17 | 108-109 |
FPL offset 2 | 17 | 110-111 |
FPL offset 3 | 17 | 112-113 |
FPL coil current 1 | 17 | 120-121 |
FPL coil current 2 | 17 | 122-123 |
FPL coil current 3 | 17 | 124-125 |
FPL error coil 1 | 17 | 114-115 |
FPL error coil 2 | 17 | 116-117 |
FPL error coil 3 | 17 | 118-119 |
The photocurrents for one detector at all mechanism positions in one scan will constitute one LWS `mini-spectrum'.
The units for the LWS Derive-SPD data are:
Table 7.16 gives the record structure for the LWS SPD product file.
Field | Offset | Number | Type | Unit | Description |
GPSCTKEY | 0 | 1 | I*4 | - | General prefix: ITK |
GPSCRPID | 4 | 2 | I*1 | - | General prefix: Raster Point ID |
GPSCFILL | 6 | 1 | I*2 | - | General prefix: Spare |
LSPDTYPE | 8 | 1 | I*4 | - | Record type |
LSPDADET | 12 | 1 | I*4 | - | Active detector flags. Bit 0 = SW1, |
bit 1 = SW2... (bit 0=LSB) | |||||
LSPDLINE | 16 | 1 | I*4 | - | Line number |
LSPDSCNT | 20 | 1 | I*4 | - | Scan count |
LSPDSDIR | 24 | 1 | I*4 | - | Scan direction (0=forward; 1=reverse; |
999=error) | |||||
LSPDGCP | 28 | 1 | I*4 | - | Grating commanded position |
LSPDGLVP | 32 | 1 | R*4 | - | Grating LVDT position (average over |
- | mechanism position) | ||||
LSPDGLVU | 36 | 1 | R*4 | - | Uncertainty in grating LVDT position |
LSPDFPOS | 40 | 1 | I*4 | - | FP position |
LSPDPHC | 44 | 10 | R*4 | A | Detector photocurrents |
LSPDPHCU | 84 | 10 | R*4 | A | rms of detector ramp fit |
LSPDDPUD | 124 | 10 | R*4 | A | Detector photocurrent without deglitching |
LSPDDUUD | 164 | 10 | R*4 | A | rms of undeglitched detector ramp fit |
LSPDSTAT | 204 | 10 | I*1 | - | Detector status bytes |
LSPDMAUX | 214 | 1 | I*2 | - | Auxiliary data for this mechanism position |
The header of the LWS SPD file contains the general FITS keywords described in Section 7.2.2. It also contains the additional, LWS specific, keywords listed in Table 7.17. Keywords with the prefix `LEI' are copied from the EOHI TDATA information. Keywords with the prefix `LEOH' are copied from the EOHA TDATA information (see Section 7.2.3 for more details about TDATA).
Keyword | Type | Unit | Description |
LBIASxx | I | none | Bias level for each detector |
LCD1* | * | none | Various values from LCD1 calibration file |
LCF* | * | none | Processing options selected. For pipeline |
these are fixed at standard values | |||
LEIWAVnn | R | For line AOTs give the expected wavelength | |
for line nn. For wavelength range AOTs gives | |||
the wavelength of the reference line which | |||
determined the integration time for part nn | |||
of spectrum | |||
LEOHFPS | L | none | Indicates if FPS was used. |
(FP observations only) | |||
LEOHFPL | L | none | Indicates if FPL was used. |
(FP observations only) | |||
LEOHSPCT | I | none | Number of spectra obtained |
LEOHSDET | I | none | Detector used for start wavelength (L01 only) |
LEOHEDET | I | none | Detector used for end wavelength (L01 only) |
LEOHSZNE | I | none | Start zone (L03 only) |
LEOHEZNE | I | none | End zone (L03 only) |
LEOHBZNE | I | none | Break zone (L03 and L04 only) |
LEOHSWAV | R | Start wavelength of requested range. | |
(L01 and L03 only) | |||
LEOHEWAV | R | End wavelength of requested range. | |
(L01 and L03 only) | |||
LPHOTOM | L | none | Flag indicating if observation was done |
in photometric mode (fixed grating) | |||
LSVERSnn | C | none | LWS version information for each calibration |
file used by SPL |
In addition to these keywords, the SPD header also contains various statistics on the data. These are intended more for diagnostics, so they should be treated with caution by observers. They are listed in Table 7.18. The letter `n' at the end of the keyword is used to indicate that there is a set of keywords with one keyword per detector. The value of n ranges from 0 to 9, with 0 representing detector SW1, etc. See also the description of the processing performed by Derive-SPD in Section 4.3.
Keyword | Type | Unit | Description |
LSRNDAT | I | none | Total number of raw data points read from ERD per |
detector | |||
LSRNRMP | I | none | Total number of ramps read from ERD per detector |
LSRNITKJ | I | none | Number of jumps in ITK (indicated missing data |
caused by telemetry dropouts etc.). | |||
LSRNSPKn | I | none | Number of anomalous points found. See description |
of first level deglitching. | |||
LSRUNRn | I | none | Number of points rejected due to detector resets |
and mechanism movements. | |||
LSRDNRn | I | none | Number of points rejected as having invalid raw |
values. | |||
LSRDG1Rn | I | none | Number of points rejected due to glitches |
detected by first level deglitching. | |||
LSRDG1Nn | I | none | Number of glitches found by first level |
deglitching. | |||
LSRDG1An | I | none | Number of ramps affected by glitches found by |
first level deglitching. (Ramp could contain | |||
more than one glitch.) | |||
LSRFIT1n | I | none | Number of ramps fitted with first order slope fit. |
LSRFIT2n | I | none | Number of ramps fitted with second order slope fit. |
LSRFEWRn | I | none | Number of points rejected because too few points |
remained in ramp for slope to be fitted. | |||
LSRVLTRn | I | none | Number of saturated points. |
LSRSATRn | I | none | Ramps containing 1 or more saturated points. |
LSRNPNTn | I | none | Number of data points actually processed into SPD. |
LSRMAXPn | R | A | Maximum photocurrent |
LSRMINPn | R | A | Minimum photocurrent |
LSRMAXGn | R | A | Maximum goodness of fit of slopes |
LSRMINGn | R | A | Minimum goodness of fit of slopes |
LSRMAXDn | R | 1/V | Maximum calculated de-biasing parameter. Only |
calculated for second order slope fits. Set to | |||
zero if not calculated. | |||
LSRMINDn | R | 1/V | Minimum calculated de-biasing parameter. Only |
calculated for second order slope fits. Set to | |||
if not calculated. | |||
LSRPERn | R | none | Percentage of raw data points actually used to |
calculate SPD results. | |||
LSRGRATn | R | s | Estimated glitch rate per detector. |
LSRGRTOT | R | s | Estimated total glitch rate. |
The LIPD has two principal purposes. Firstly it is used by Auto-Analysis to perform the absolute responsivity correction. This is done by comparing the photocurrents in the LIPD file against reference photocurrents in the LCIR calibration file. Secondly the ramps at the start of `closed' illuminator flashes provide a measure of the background and straylight at that time.
The header of the LIPD file contains the same keywords as the header of the LSPD file. The LIPD file contains the same detector status word as the LSPD file (see Section 7.2.6).
The FITS header for the file must contain, in addition to the mandatory keywords, at least the additional keywords given in Table 7.20.
The keywords TREFUTC1, TREFUTC2, TREITK, and TREFUTK are copied from the header of the ERD file being processed.
The keyword LWGHMORE gives the number of glitches which occured after the maximum size of the LWGH file was reached. In practice this should always be zero as the maximum size has been set to a sufficiently large value to cope with all observations.
Name | offset | num | type | Description |
LWGHITK | 0 | 1 | I*4 | ITK time of start of glitch |
LWGHRITK | 4 | 1 | I*4 | ITK time of start of glitched ramp |
LWGHDET | 8 | 1 | I*2 | Detector number (0-9) |
LWGHRAT | 10 | 1 | I*2 | Estimated glitch height to ramp height ratio |
expressed in multiples of 0.01 | ||||
LWGHHI | 12 | 1 | R*4 | Estimated height of glitch, in volts |
Name | Type | Description |
TREFUTC1 | I | The Universal time, in seconds, of an arbitrary format |
during the observation. The field LWGHTIME specifies | ||
the time of the glitch relative to this point | ||
TREFUTC2 | I | Remaining fractions of a second of time specified by |
TREFUTC1 | ||
TREFITK | I | ITK time corresponding to TREFUTC1 |
TREFUTK | I | UTK time corresponding to TREFUTC1 |
LWGHMORE | I | Number of additional glitches found after maximum |
number of glitch records allowed in file had been | ||
exceeded. Should always be zero. | ||
LSVERSn | C | LWS version information for each calibration file |
used (n=1,2,3,...) | ||
LCD1* | * | Various keywords which detail how first level |
deglitching functioned. These are copied from | ||
the LCD1 calibration file used | ||
(see Table 7.38) |
Type of File: FITS binary table
Contents:
The LPSP file contains the Standard Process Data for parallel mode
observations.
Field | Dimension | Format | Description |
GPSCTKEY | 1 | I*4 | Instrument Time Key |
GPSCRPID | 2 | I*1 | Raster point ID |
GPSCFILL | 1 | I*2 | Spare |
UTK | 1 | I*4 | UTK time |
LWINTKEY | 1 | I*4 | LWS window time key (seconds since beginning of lws parallel |
observation window in current revolution) TUNIT=sec | |||
FLUX | 10 | R*4 | Detector photocurrent TUNIT=amps |
PROCFLGS | 10 | I*2 | Processing flags |
OTF | 1 | I*2 | On Target Flag (Star Tracker flag) |
STABLE | 1 | I*2 | Stability flag (computed) |
RA | 1 | R*8 | RA coordinates TUNIT=degree |
DEC | 1 | R*8 | DEC coordinate TUNIT=degree |
ROLL | 1 | R*8 | Roll angle TUNIT=degree |
Type of File: FITS binary table
Contents:
The LSSP file contains the Standard Process data for serendipity mode
observations.
Field | Dimension | Format | Description |
GPSCTKEY | 1 | I*4 | Instrument Time Key |
GPSCRPID | 2 | I*1 | Raster point ID |
GPSCFILL | 1 | I*2 | Spare |
UTK | 1 | I*4 | UTK time |
LWINTKEY | 1 | I*4 | LWS window time key (seconds since beginning of lws parallel |
observation window in current revolution) TUNIT=sec | |||
FLUX | 10 | R*4 | Detector photocurrent TUNIT=amps |
PROCFLGS | 10 | I*2 | Status word (Processing flags) |
OTF | 1 | I*2 | On Target Flag (Star Tracker flag) |
STABLE | 1 | I*2 | Stability flag (computed) |
RA | 1 | R*8 | RA coordinates TUNIT=degree |
DEC | 1 | R*8 | DEC coordinate TUNIT=degree |
ROLL | 1 | R*8 | Roll angle TUNIT=degree |
Each LSPD and LIPD record contains a status word for each of the ten detectors for the current ramp. This has been implemented as the field LSPDSTAT or LIPDSTAT, which are arrays of ten words, with one word for each detector.
The detector status word contains the fields (Bit position 0 is the least significant bit) given in Table 7.23.
Bit | Description |
0 | Glitch flag |
1 | Saturation warning flag |
2 | Invalid data flag (new in OLP Version 8) |
3 | Discarded following glitch flag (new in OLP Version 8) |
5-7 | Percentage of available data used |
These fields are described in more detail below.
The number of `available' data points is defined as the number of sampled detector readouts for this ramp, minus the number of points discarded because of detector resets and mechanism movements.
The following table gives the meaning of each of the possible values of this bit field:
Bit value | Meaning |
0 | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 |
Each record of the LSPD file contains a single integer*2 field called LSPDMAUX. This word contains various status information associated with the current mechanism position.
The meaning of each of the bits in this word are given in Table 7.24
Bit | Description |
0-3 | NRESETS |
4-13 | NSAMPLES |
14 | Grating LVDT error |
15 | Spare |
These fields are described in more detail below.
This product contains the set of individual spectra for each detector including the range required by the observer. Each spectrum consists of calibrated flux and wavelength, together with their uncertainties, and has been derived from data gathered from a single detector during a single scan whilst observing a single point on the sky (could be one point of a raster) in a single AOT.
The user is reminded that within the LWS off-line Processing chain there will be:
The units for the data in this product are:
Each record of the LSAN contains:
The record structure is given in Table 7.25. The header of the LSAN file contains information about the calibration that was used to derive the product, in particular the flux calibration and the velocity correction. Table 7.26 gives the keywords that contain this information.
Field | Offset | Number | Type | Unit | Description |
LSANUTK | 0 | 1 | I*4 | - | UTK time |
LSANRPID | 4 | 2 | I*1 | - | Raster Point ID |
LSANFILL | 6 | 1 | I*2 | - | Filler |
LSANLINE | 8 | 1 | I*4 | - | Line number |
LSANDET | 12 | 1 | I*4 | - | Detector ID |
LSANSDIR | 16 | 1 | I*4 | - | Scan direction |
LSANSCNT | 20 | 1 | I*4 | - | Scan count |
LSANWAV | 24 | 1 | R*4 | Wavelength | |
LSANWAVU | 28 | 1 | R*4 | Uncertainty in wavelength | |
LSANFLX | 32 | 1 | R*4 | Flux on detector | |
LSANFLXU | 36 | 1 | R*4 | none | Flux uncertainty |
LSANSTAT | 40 | 1 | I*4 | - | Status word |
LSANITK | 44 | 1 | I*4 | - | ITK time |
Name | Type | Description |
LSVERSn | C | LWS version number for each SPL calibration file |
(n=1,2,3.....) | ||
LVERSn | C | LWS version number for each AAL calibration file |
(n=1,2,3.....) | ||
LPHOTOM | L | Flag indicating if observation is done |
in photometric mode (fixed grating). | ||
LCGBdet | R | Grating spectral bandwidth correction factor for |
detector det (det=SW1....LW5) from LCGB file | ||
LCGBUdet | R | Uncertainty in grating spectral bandwidth correction |
factor for detector det (det=SW1...LW5) from LCGB file | ||
LCFWFLCn | R | 4 double precision numbers (n=0,1,2,3) giving FPL |
wavelength conversion coefficients (FP observations only) | ||
LCFWFSCn | R | 4 double precision numbers (n=0,1,2,3) giving FPS |
R | wavelength conversion coefficients (FP observations only) | |
LCGWCOn | R | (n=0,1,2,3,4) Coefficients used during conversion of |
grating LVDT to wavelength | ||
LCGWLINE | R | Number of lines per m on grating. Used during |
conversion of grating LVDT to wavelength | ||
LCGWAdet | R | (Det=`SW1'...`LW5') Angle for each detector used during |
conversion of grating LVDT to wavelength | ||
LSTRNOMn | R | (n=0-9) Start of wavelength range for which GR RSRF is |
valid for each detector | ||
LENDNOMn | R | (n=0-9) End of wavelength range for which GR RSRF is |
valid for each detector | ||
LOWRTALL | L | Flag indicating whether LSAN file contains all data |
Should always be `T' | ||
LODRKOPT | L | Dark current option: 0=off; 1=use measured value; |
2=use standard (fixed) value; 3=autoselect | ||
LOSKPTHP | L | True if FP throughput correction was omitted |
LOSKPVEL | L | Indicates if FP velocity correction stage was omitted |
Should always be `F' | ||
LOABSOPT | I | Abs. responsivity option, 0=off; 1=on; 2=select |
Should always be 2 | ||
LORELOPT | I | Rel. responsivity option, 0=off; 1=on; 2=select |
Should always be 2 | ||
LVCOEFn | R | Coefficients of 2nd order fit for the velocity |
correction (n=0,1,2). | ||
LOABSDN | L | Indicates if absolute responsivity correction was done |
LORELDN | L | Indicates if relative responsivity correction was done |
LEOH* | * | Copy of EOHA information from LSPD header (see Table 7.17) |
LEI* | * | Copy of EOHI information from LSPD header (see Table 7.17) |
Note: This file is no longer produced from OLP Version 8 onwards
Field | Number | Format | Description |
LIACIKS | 1 | I4 | ITK of start of flash |
LIACIKE | 1 | I4 | ITK of end of flash |
LIACUKS | 1 | I4 | UTK of start of flash |
LIACUKE | 1 | I4 | UTK of end of flash |
LIACTYPE | 1 | I4 | Illuminator flash type identifier (0,1...) |
LIACWHAP | 1 | I4 | Wheel absolute position 0=FPS; 1=GR; 2=FPL |
LIACRES | 10 | R4 | Absolute responsivity correction factors |
LIACRESU | 10 | R4 | Uncertainty in absolute responsivity correction |
LIACBK | 10 | R4 | Background photocurrent for each detector |
LIACBKU | 10 | R4 | Uncertainty in background photocurrent |
LIACNR | 10 | I4 | No. of points used in calculation of correction |
LIACNB | 10 | I4 | No. of points used in calculation of background |
Field | Number | Format | Description |
LSCARPID | 2 | I1 | Raster point ID |
LSCAADET | 3 | I1 | Active detector as string |
LSCAFILL | 3 | I1 | Filler (Record must be multiple of 4 bytes) |
LSCAITKS | 1 | I4 | ITK of start of scan |
LSCAITKE | 1 | I4 | ITK time of end of scan |
LSCAITKR | 1 | I4 | ITK time of reference point in scan |
LSCAFLX | 10 | R4 | Average detector flux for scan for each detector |
LSCANRMT | 1 | I4 | Total number of ramps in scan |
LSCANRMF | 10 | I4 | Number of ramps used in calculation of average |
LSCALINE | 1 | I4 | Line number (L02 and L04 only) |
LSCAGPOS | 1 | I4 | Grating measured position at start of scan (L03) |
LSCASCNT | 1 | I4 | Scan count (0,1...) |
LSCASDIR | 1 | I4 | Scan direction (0=forward; 1=reverse; 999=error) |
LSCAORD | 10 | R4 | Order numbers (L03, L04) |
LSCABK | 10 | R4 | Background/straylight subtracted from scan |
LSCABKU | 10 | R4 | Uncertainties in background/straylight |
Field | Number | Format | Description |
LGIFITKS | 1 | I4 | ITK of start of group |
LGIFITKE | 1 | I4 | ITK of end of group |
LGIFITKR | 1 | I4 | Reference ITK at which correction is calculated |
LGIFABS | 10 | R4 | Absolute responsivity correction factor |
LGIFABSU | 10 | R4 | Uncertainties in absolute responsivity correction |
LGIFRSTA | 10 | I4 | Relative responsivity status flag |
LGIFREL1 | 10 | R4 | 1st coefficient of relative responsivity correction |
LGIFREL2 | 10 | R4 | 2nd coefficient of relative responsivity correction |
LGIFNSCD | 1 | I4 | Number of scans used for calculation of drift correction |
LGIFNSCG | 1 | I4 | Total number of scans in group |
LGIFLINE | 1 | I4 | Line number for group (for L02 and L04) |
LGIFGPOS | 1 | I4 | Grating measured position for group (L03) |
LGIFADET | 3 | I1 | Active detector, as string (only valid for L02 and L04) |
LGIFFILL | 3 | I1 | Filler (Record must be multiple of 4 bytes) |
LGIFRPID | 2 | I1 | Raster point ID for group |
Type of File: FITS binary table
Contents: The LPAA file contains the Auto-Analysis data for parallel
mode observations.
Field | Dimension | Format | Description |
GPSCTKEY | 1 | I*4 | Instrument Time Key |
GPSCRPID | 2 | I*1 | Raster point ID |
GPSCFILL | 1 | I*2 | Spare |
UTK | 1 | I*4 | UTK time |
LWINTKEY | 1 | I*4 | LWS window time key (seconds since beginning of LWS parallel |
observation window in current revolution) TUNIT=second | |||
FLUX | 10 | R*4 | Detector Data TUNIT= Wcmm |
PROCFLGS | 10 | I*2 | Processing flags |
OTF | 1 | I*2 | On Target Flag (Star Tracker flag) |
STABLE | 1 | I*2 | Stability flag (computed) |
RA | 1 | R*8 | RA coordinates TUNIT=degree |
DEC | 1 | R*8 | DEC coordinate TUNIT=degree |
ROLL | 1 | R*8 | Roll angle TUNIT=degree |
Type of File: FITS binary table
Contents: The LSAA file contains the Auto-Analysis data for serendipity
mode observations.
Field | Dimension | Format | Description |
GPSCTKEY | 1 | I*4 | Instrument Time Key |
GPSCRPID | 2 | I*1 | Raster point ID |
GPSCFILL | 1 | I*2 | Spare |
UTK | 1 | I*4 | UTK time |
LWINTKEY | 1 | I*4 | LWS window time key (seconds since beginning of LWS parallel |
observation window in current revolution) | |||
FLUX | 10 | R*4 | Detector Flux TUNIT= (MJy/sr) |
PROCFLGS | 10 | I*2 | Processing flags |
OTF | 1 | I*2 | On Target Flag (Star Tracker flag) |
STABLE | 1 | I*2 | Stability flag (computed) |
RA | 1 | R*8 | RA coordinate TUNIT=degree |
DEC | 1 | R*8 | DEC coordinate TUNIT=degree |
ROLL | 1 | R*8 | Roll angle TUNIT=degree |
SPEED | 1 | R*8 | Speed TUNIT=degree/s. |
Type of File: FITS binary table
Contents:
Field | Dimension | Format | Description |
GPSCTKEY | 1 | I*4 | Instrument Time Key |
GPSCRPID | 2 | I*1 | Raster point ID |
GPSCFILL | 1 | I*2 | Spare |
UTK | 1 | I*4 | UTK time |
LWINTKEY | 1 | I*4 | LWS window time key (seconds since beginning of LWS parallel |
observation window in current revolution) TUNIT=second | |||
FLUX | 10 | R*4 | Averaged data ( ) |
STDEV | 10 | R*4 | Standard deviation on Flux |
WEIGHT | 10 | I*4 | Number of samples effectively used |
PROCFLGS | 10 | I*2 | Processing flags |
OTF | 1 | I*2 | On Target Flag (Star Tracker flag) |
STABLE | 1 | I*2 | Stability flag (computed) |
RA | 1 | R*8 | Average RA coordinate TUNIT=degree |
RAERR | 1 | R*8 | Error on RA coordinate |
DEC | 1 | R*8 | Average DEC coordinate TUNIT=degree |
DECERR | 1 | R*8 | Error on DEC coordinate TUNIT=degree |
ROLL | 1 | R*8 | Average Roll angle TUNIT=degree |
ROLLERR | 1 | R*8 | Error on Roll angle TUNIT=degree |
The LSAN file contains one record per detector for each ramp. The status words in the LSNR files are identical in layout and content to the status words in the LSAN file.
Each record of the LSAN file contains one 32 bit status word per record. Eight bits of this status word are simply a copy of the status word for the appropriate detector from the LSPD file.
The layout of the LSAN status word for each detector is as given in Table 7.33.
Bit | Meaning |
0-7 | Copy of detector status word from LSPD file |
8 | Invalid data flag |
9 | Spectral responsivity error flag |
10 | Active detector flag |
11 | Grating spectral responsivity warning flag |
12-14 | Spare |
15 | FP flag. Set to 1 if FPL is in use; 0 otherwise |
16-23 | Spare |
24 | Invalid photocurrent flag |
The invalid data flag indicates that the flux value is not valid. This flag will be set if the SPD contained no data for this point, or an error occurred during the spectral responsivity correction stage (see below), or if the invalid photocurrent flag is set (see below). If the `percentage data' field in the SPD status word is set to 0 then there was no SPD data for this point. This is usually due to data being discarded due to glitches.
The spectral responsivity error flag indicates that either no responsivity value could be found in the calibration files for this point, or that the responsivity value found was set to zero.
The active detector flag indicates for L02 and L04 AOTs if this detector is the `active' detector. For these AOTs only one detector can be active at any one time. For L01, L03 and photometric L02 AOTs this flag is not applicable and will not be set for any detector.
The grating spectral responsivity warning flag indicates data points which are poorly calibrated. Any points with this flag set should only be used for wavelength identification of features. See Section 4.4.4 for more details.
The invalid photocurrent flag indicates that the value of the detector photocurrent from the SPD data was outside the acceptable range for this observation. This flag is set when the photocurrent value is a negative value which is less than 1 times the absolute value of the dark current/straylight. Invalid photocurrent values may be caused by glitches which have not been detected.