-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RAD-143, RAD-144: Add FPS and TVAC schemas (#364)
* Add ground exposure schema * Update exposure schema to reference ground exposure * Add ground guidestar * Update guidestar to ref ground data * Add ground test schema * Added FPS schemas * Add tvac schema * Re-organize some of the schemas * Update unit for LED * Update changelog * Add archive destination information * Add exact datatype where needed * Update with Jason's table names * Address review comments * More suggested changes * Updated for rebase changes. Renamed ground_exposure and _guidestar to base_. * Reinstating accidentally deleted tags. --------- Co-authored-by: PaulHuwe <[email protected]>
- Loading branch information
1 parent
f6bfbfd
commit 0c8f514
Showing
24 changed files
with
1,634 additions
and
802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0 | ||
id: asdf://stsci.edu/datamodels/roman/schemas/base_exposure-1.0.0 | ||
|
||
|
||
title: | | ||
Base Exposure Information | ||
type: object | ||
properties: | ||
type: | ||
$ref: asdf://stsci.edu/datamodels/roman/schemas/exposure_type-1.0.0 | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
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. | ||
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] | ||
ngroups: | ||
title: Number of Resultants | ||
description: | | ||
The number of resultant frames in this exposure that were transmitted to | ||
the ground. The number of integrations of WFI data is always 1. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.exposure_ngroups, GuideWindow.exposure_ngroups, WFICommon.exposure_ngroups] | ||
nframes: | ||
title: Number of Reads | ||
description: | | ||
This is the number of science frames that are combined to produce a resultant frame. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.exposure_nframes, GuideWindow.exposure_nframes, WFICommon.exposure_nframes] | ||
data_problem: | ||
title: Data Problem | ||
description: | | ||
A flag indicating an issue with science telemetry. | ||
type: boolean | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: nchar(1) | ||
destination: [WFIExposure.exposure_data_problem, GuideWindow.exposure_data_problem, WFICommon.exposure_data_problem] | ||
frame_divisor: | ||
title: Frame Divisor | ||
description: | | ||
The number of reads averaged to calculate a resultant. Value depends on | ||
the readout pattern used from the MultiAccum table. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.exposure_frame_divisor, GuideWindow.exposure_frame_divisor, WFICommon.exposure_frame_divisor] | ||
groupgap: | ||
title: Number of Frames Dropped Between Resultants | ||
description: | ||
The number of reads that are dropped, or not used to calculate a | ||
resultant. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.exposure_groupgap, GuideWindow.exposure_groupgap, WFICommon.exposure_groupgap] | ||
frame_time: | ||
title: Time Between Reads (s) | ||
description: | | ||
The amount of time elapsed between the end of one read and the beginning | ||
of the next. | ||
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] | ||
group_time: | ||
title: Time Between Resultants (s) | ||
description: | | ||
The time that is the sum of the reads that are used to construct a | ||
resultant. This will depend on the MA table being used. | ||
type: number | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFIExposure.exposure_group_time, GuideWindow.exposure_group_time, WFICommon.exposure_group_time] | ||
exposure_time: | ||
title: Exposure Time (s) | ||
description: | | ||
The time between the start of the first Reset/Read Science Frame of an | ||
Exposure and the completion of the final Read Only Science Frame of that | ||
Exposure. | ||
type: number | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFIExposure.exposure_time, GuideWindow.exposure_time, WFICommon.exposure_time] | ||
ma_table_name: | ||
title: MA Table Name | ||
description: | | ||
The name of the MultiAccum table used for this exposure, as defined in the | ||
Project Reference Database. | ||
type: string | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: nvarchar(50) | ||
destination: [WFIExposure.ma_table_name, GuideWindow.ma_table_name, WFICommon.ma_table_name] | ||
ma_table_number: | ||
title: MA Table Number | ||
description: | | ||
The number of the MultiAccum table used for this exposure. Used in | ||
matching exposures to their corresponding calibration data. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: smallint | ||
destination: [WFIExposure.ma_table_number, GuideWindow.ma_table_number, WFICommon.ma_table_number] | ||
read_pattern: | ||
title: Read Pattern | ||
description: | | ||
Enumeration of detector reads to resultants making up the L1 data | ||
downlinked from the observatory. | ||
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] | ||
propertyOrder: [type, start_time, | ||
ngroups, nframes, data_problem, | ||
frame_divisor, groupgap, frame_time, group_time, exposure_time, | ||
ma_table_name, ma_table_number, read_pattern] | ||
flowStyle: block | ||
required: [type, start_time, | ||
ngroups, nframes, data_problem, | ||
frame_divisor, groupgap, frame_time, group_time, exposure_time, | ||
ma_table_name, ma_table_number, read_pattern] | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0 | ||
id: asdf://stsci.edu/datamodels/roman/schemas/base_guidestar-1.0.0 | ||
|
||
title: Base Guide star window information | ||
type: object | ||
properties: | ||
gw_id: | ||
title: Guide Star Window Identifier | ||
description: | | ||
Identification of the Guide Star Window. | ||
type: string | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: nvarchar(20) | ||
destination: [WFIExposure.gw_id, GuideWindow.gw_id, WFICommon.gw_id] | ||
gw_fgs_mode: | ||
$ref: guidewindow_modes-1.0.0 | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: nvarchar(18) | ||
destination: [WFIExposure.gw_fgs_mode, GuideWindow.gw_fgs_mode, WFICommon.gw_fgs_mode] | ||
data_start: | ||
title: Guide Data Start Time (MJD) | ||
description: | | ||
Start time of the guide window data taken for this exposure as a Modified | ||
Julian Date. | ||
type: number | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFIExposure.data_start, GuideWindow.data_start, WFICommon.data_start] | ||
data_end: | ||
title: Guide Data End Time (MJD) | ||
description: | | ||
End time of the guide window data taken for this exposure as a Modified | ||
Julian Date. | ||
type: number | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFIExposure.data_end, GuideWindow.data_end, WFICommon.data_end] | ||
gw_window_xstart: | ||
title: Guide Window X Start Position (pixels) | ||
description: | | ||
Minimum X position in the science coordinate frame of all tracking guide | ||
windows in this exposure measured in pixels. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: Science Data Formatting | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.gw_window_xstart, WFICommon.gw_window_xstart] | ||
gw_window_ystart: | ||
title: Guide Window Y Start Position (pixels) | ||
description: | | ||
Minimum Y position in the science coordinate frame of all tracking guide | ||
windows in this exposure measured in pixels. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: Science Data Formatting | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.gw_window_ystart, WFICommon.gw_window_ystart] | ||
gw_window_xstop: | ||
title: Guide Window X Stop Position (pixels) | ||
description: | | ||
Maximum X position in the science coordinate frame of all tracking guide | ||
windows in this exposure measured in pixels. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: Science Data Formatting | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.gw_window_xstop, WFICommon.gw_window_xstop] | ||
gw_window_ystop: | ||
title: Guide Window Y Stop Position (pixels) | ||
description: | | ||
Maximum Y position in the science coordinate frame of all tracking guide | ||
windows in this exposure measured in pixels | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: Science Data Formatting | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.gw_window_ystop, WFICommon.gw_window_ystop] | ||
gw_window_xsize: | ||
title: Guide Window Size in the X Direction (pixels) | ||
description: | | ||
Size of a single tracking guide window in this exposure measured along the | ||
X axis in units of pixels. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: Science Data Formatting | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.gw_window_xsize, WFICommon.gw_window_xsize] | ||
gw_window_ysize: | ||
title: Guide Window Size in the Y Direction (pixels) | ||
description: | | ||
Size of a single tracking guide window in this exposure measured along the | ||
Y axis in units of pixels. | ||
type: integer | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: Science Data Formatting | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFIExposure.gw_window_ysize, WFICommon.gw_window_ysize] | ||
|
||
propertyOrder: [gw_id, gw_fgs_mode, | ||
data_start, data_end, gw_window_xstart, | ||
gw_window_ystart, gw_window_xstop, gw_window_ystop, gw_window_xsize, | ||
gw_window_ysize] | ||
flowStyle: block | ||
required: [gw_id, gw_fgs_mode, | ||
data_start, data_end, gw_window_xstart, | ||
gw_window_ystart, gw_window_xstop, gw_window_ystop, gw_window_xsize, | ||
gw_window_ysize] | ||
... |
Oops, something went wrong.