meta/exposure-1.0.0
Exposure Information
Outline
Schema Definitions ¶
This type is an object with the following properties:
type
object Required This node must validate against all of the following:
start_time
tag:stsci.edu:asdf/time/time-1.* Required Exposure Start Time (UTC)
The UTC time at the beginning of the exposure. The time is serialized on disk as an International Organization for Standardization (ISO) 8601-compliant ISOT string, but if opened in Python with the asdf-astropy package installed, it may be read as an astropy.time.Time object with all of the associated methods and transforms available. See the documentation for astropy.time.Time objects for more information.
end_time
tag:stsci.edu:asdf/time/time-1.* Required Exposure End Time (UTC)
The UTC time at the end of the exposure. The time is serialized on disk as an International Organization for Standardization (ISO) 8601-compliant ISOT string, but if opened in Python with the asdf-astropy package installed, it may be read as an astropy.time.Time object with all of the associated methods and transforms available. See the documentation for astropy.time.Time objects for more information.
engineering_quality
string Required Engineering Data Quality
No length restrictionIndicator of data quality problems with the engineering data used to populated select metadata fields. A value of “OK” indicates no suspected problems, while a value of “SUSPECT” indicates one or more metadata values populated from the engineering database may be missing information during the exposure or are otherwise of lower quality.
Only the following values are valid for this node:
OK
SUSPECT
ma_table_id
string Required Multi-Accumulation Table Identifier
A unique identifier for the multi-accumulation (MA) table used for this exposure. The identifier comes from the Science Operations Center (SOC) Project Reference Database (PRD).
Maximum length: 10
nresultants
integer Required Number of Resultants
The number of resultant frames in this exposure that were transmitted to the ground.
data_problem
object Required Data Problem
String error codes indicating that a problem occurred with the exposure. A value of None indicates there were no problems with the exposure. See the Roman Documentation System (RDox) for more information on the meaning of the error codes.
This node must validate against any of the following:
- No length restriction
string
null
frame_time
number Required Detector Readout Time (s)
The readout time in seconds of the Wide Field Instrument (WFI) detectors. This represents the time between the start and end of the readout.
exposure_time
number Required Exposure Time (s)
The difference in time (in units of seconds) between the start of the first reset/read and end of the last read in the readout pattern.
effective_exposure_time
number Required Effective Exposure Time (s)
The difference in time (in units of seconds) between the midpoints of the first and last science resultants. If either resultant contains only a single read, then the time at the end of the read is used rather than the midpoint time.
ma_table_name
string Required Name of the Multi-Accumulation Table
The name of the multi-accumulation (MA) table used for the exposure. The MA table is also referred to as the readout pattern.
Maximum length: 50
ma_table_number
integer Required Multi-Accumulation Table Identification Number
A unique identification number for the multi-accumulation (MA) table used for this exposure. The number comes from the Science Operations Center (SOC) Project Reference Database (PRD).
read_pattern
array Required Read Pattern
No length restrictionThe enumeration of detector reads to resultants making up the Level 1 ramp data cube. The read pattern is nested such that each grouping of read numbers represents a resultant. For example, a readout pattern of [[1], [2, 3], [4]] consists of four reads that were downlinked as three resultants with both the first and last resultant each containing a single read.
Items in the array are restricted to the following types:
No length restrictionarray
Items in the array are restricted to the following types:
integer
truncated
boolean Required Truncated MA Table
A flag indicating whether the MA table was truncated.
sdf_log_file
string SDF Log File Name
File name of the Science Data Formatting (SDF) log for this exposure.
Maximum length: 120
Original Schema ¶
%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/meta/exposure-1.0.0
title: Exposure Information
type: object
properties:
type:
allOf:
- $ref: asdf://stsci.edu/datamodels/roman/schemas/enums/exposure_type-1.0.0
sdf:
special_processing: VALUE_REQUIRED
source:
origin: PSS:dms_visit.template
archive_catalog:
datatype: nvarchar(25)
destination:
[
WFIExposure.exposure_type,
GuideWindow.exposure_type,
WFICommon.exposure_type,
]
start_time:
title: Exposure Start Time (UTC)
description: |
The UTC time at the beginning of the exposure. The
time is serialized on disk as an International Organization for
Standardization (ISO) 8601-compliant ISOT string, but if opened
in Python with the asdf-astropy package installed, it may be
read as an astropy.time.Time object with all of the associated
methods and transforms available. See the documentation for
astropy.time.Time objects for more information.
tag: tag:stsci.edu:asdf/time/time-1.*
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: datetime2
destination:
[
WFIExposure.exposure_start_time,
GuideWindow.exposure_start_time,
WFICommon.exposure_start_time,
]
end_time:
title: Exposure End Time (UTC)
description: |
The UTC time at the end of the exposure. The time is
serialized on disk as an International Organization for
Standardization (ISO) 8601-compliant ISOT string, but if opened
in Python with the asdf-astropy package installed, it may be
read as an astropy.time.Time object with all of the associated
methods and transforms available. See the documentation for
astropy.time.Time objects for more information.
tag: tag:stsci.edu:asdf/time/time-1.*
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: datetime2
destination:
[
WFIExposure.exposure_end_time,
GuideWindow.exposure_end_time,
SourceCatalog.exposure_end_time,
]
engineering_quality:
title: Engineering Data Quality
description: |
Indicator of data quality problems with the
engineering data used to populated select metadata fields. A
value of "OK" indicates no suspected problems, while a value of
"SUSPECT" indicates one or more metadata values populated from
the engineering database may be missing information during the
exposure or are otherwise of lower quality.
type: string
enum: [OK, SUSPECT]
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: nvarchar(10)
destination:
[
WFIExposure.engineering_quality,
GuideWindow.engineering_quality,
SourceCatalog.engineering_quality,
]
ma_table_id:
title: Multi-Accumulation Table Identifier
description: |
A unique identifier for the multi-accumulation (MA) table used for this exposure.
The identifier comes from the Science Operations Center (SOC) Project Reference
Database (PRD).
type: string
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
maxLength: 10
archive_catalog:
datatype: nvarchar(10)
destination:
[
WFIExposure.ma_table_id,
GuideWindow.ma_table_id,
SourceCatalog.ma_table_id,
]
nresultants:
title: Number of Resultants
description: |
The number of resultant frames in this exposure that
were transmitted to the ground.
type: integer
sdf:
special_processing: VALUE_REQUIRED
source:
origin: PSS:dms_visit.multi_accum_resultant
archive_catalog:
datatype: int
destination:
[
WFIExposure.exposure_nresultants,
GuideWindow.exposure_nresultants,
WFICommon.exposure_nresultants,
]
data_problem:
title: Data Problem
description: |
String error codes indicating that a problem occurred with the exposure.
A value of None indicates there were no problems with the exposure.
See the Roman Documentation System (RDox) for more information on the meaning of the error codes.
anyOf:
- type: string
- type: "null"
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: nvarchar(max)
destination:
[
WFIExposure.exposure_data_problem,
GuideWindow.exposure_data_problem,
WFICommon.exposure_data_problem,
]
frame_time:
title: Detector Readout Time (s)
description: |
The readout time in seconds of the Wide Field
Instrument (WFI) detectors. This represents the time between the
start and end of the readout.
type: number
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: float
destination:
[
WFIExposure.exposure_frame_time,
GuideWindow.exposure_frame_time,
WFICommon.exposure_frame_time,
]
exposure_time:
title: Exposure Time (s)
description: |
The difference in time (in units of seconds) between
the start of the first reset/read and end of the last read in
the readout pattern.
type: number
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: float
destination:
[
WFIExposure.exposure_time,
GuideWindow.exposure_time,
WFICommon.exposure_time,
]
effective_exposure_time:
title: Effective Exposure Time (s)
description: |
The difference in time (in units of seconds) between
the midpoints of the first and last science resultants. If
either resultant contains only a single read, then the time at
the end of the read is used rather than the midpoint time.
type: number
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: float
destination:
[
WFIExposure.effective_exposure_time,
GuideWindow.effective_exposure_time,
SourceCatalog.effective_exposure_time,
]
ma_table_name:
title: Name of the Multi-Accumulation Table
description: |
The name of the multi-accumulation (MA) table used for
the exposure. The MA table is also referred to as the readout
pattern.
type: string
sdf:
special_processing: VALUE_REQUIRED
source:
origin: PSS:dms_visit.multi_accum_table_name
maxLength: 50
archive_catalog:
datatype: nvarchar(50)
destination:
[
WFIExposure.ma_table_name,
GuideWindow.ma_table_name,
WFICommon.ma_table_name,
]
ma_table_number:
title: Multi-Accumulation Table Identification Number
description: |
A unique identification number for the
multi-accumulation (MA) table used for this exposure. The number
comes from the Science Operations Center (SOC) Project Reference
Database (PRD).
type: integer
sdf:
special_processing: VALUE_REQUIRED
source:
origin: PSS:dms_visit.multi_accum_table_number
archive_catalog:
datatype: smallint
destination:
[
WFIExposure.ma_table_number,
GuideWindow.ma_table_number,
WFICommon.ma_table_number,
]
read_pattern:
title: Read Pattern
description: |
The enumeration of detector reads to resultants making
up the Level 1 ramp data cube. The read pattern is nested such
that each grouping of read numbers represents a resultant. For
example, a readout pattern of [[1], [2, 3], [4]] consists of
four reads that were downlinked as three resultants with both
the first and last resultant each containing a single read.
type: array
items:
type: array
items:
type: integer
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: nvarchar(3500)
destination:
[
WFIExposure.read_pattern,
GuideWindow.read_pattern,
WFICommon.read_pattern,
]
truncated:
title: Truncated MA Table
description: |
A flag indicating whether the MA table was truncated.
type: boolean
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: nchar(1)
destination:
[WFIExposure.exposure_truncated, SourceCatalog.exposure_truncated]
sdf_log_file:
title: SDF Log File Name
description: |
File name of the Science Data Formatting (SDF) log for this exposure.
type: string
maxLength: 120
required:
[
type,
start_time,
end_time,
engineering_quality,
nresultants,
data_problem,
frame_time,
exposure_time,
effective_exposure_time,
ma_table_name,
ma_table_number,
ma_table_id,
read_pattern,
truncated,
]