Skip to content

Commit

Permalink
Update with Jason's table names
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Feb 9, 2024
1 parent 7bee036 commit 9dd61b7
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 103 deletions.
30 changes: 15 additions & 15 deletions src/rad/resources/schemas/cal_step-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,105 +12,105 @@ properties:
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_assign_wcs, GuideWindow.s_assign_wcs]
destination: [ScienceRefData.s_assign_wcs, GuideWindow.s_assign_wcs, WFICommon.s_assign_wcs]
flat_field:
title: Flat Field Step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_flat_field, GuideWindow.s_flat_field]
destination: [ScienceRefData.s_flat_field, GuideWindow.s_flat_field, WFICommon.s_flat_field]
dark:
title: Dark Subtraction
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_dark, GuideWindow.s_dark]
destination: [ScienceRefData.s_dark, GuideWindow.s_dark, WFICommon.s_dark]
dq_init:
title: Data Quality Mask Step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_dq_init, GuideWindow.s_dq_init]
destination: [ScienceRefData.s_dq_init, GuideWindow.s_dq_init, WFICommon.s_dq_init]
jump:
title: Jump Detection Step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_jump, GuideWindow.s_jump]
destination: [ScienceRefData.s_jump, GuideWindow.s_jump, WFICommon.s_jump]
linearity:
title: Linearity Correction
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_linearity, GuideWindow.s_linearity]
destination: [ScienceRefData.s_linearity, GuideWindow.s_linearity, WFICommon.s_linearity]
photom:
title: Photometry Step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_photom, GuideWindow.s_photom]
destination: [ScienceRefData.s_photom, GuideWindow.s_photom, WFICommon.s_photom]
source_detection:
title: Source Detection Step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_source_detection, GuideWindow.s_source_detection]
destination: [ScienceRefData.s_source_detection, GuideWindow.s_source_detection, WFICommon.s_source_detection]
ramp_fit:
title: Ramp Fitting
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_ramp_fit, GuideWindow.s_ramp_fit]
destination: [ScienceRefData.s_ramp_fit, GuideWindow.s_ramp_fit, WFICommon.s_ramp_fit]
refpix:
title: Reference Pixel Correction
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_refpix, GuideWindow.s_refpix]
destination: [ScienceRefData.s_refpix, GuideWindow.s_refpix, WFICommon.s_refpix]
saturation:
title: Saturation Checking
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_saturation, GuideWindow.s_saturation]
destination: [ScienceRefData.s_saturation, GuideWindow.s_saturation, WFICommon.s_saturation]
outlier_detection:
title: outlier_detection
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_outlier_detection, GuideWindow.s_outlier_detection]
destination: [ScienceRefData.s_outlier_detection, GuideWindow.s_outlier_detection, WFICommon.s_outlier_detection]
tweakreg:
title: Tweakreg step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_tweakreg, GuideWindow.s_tweakreg]
destination: [ScienceRefData.s_tweakreg, GuideWindow.s_tweakreg, WFICommon.s_tweakreg]
skymatch:
title: Sky Match step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_skymatch, GuideWindow.s_skymatch]
destination: [ScienceRefData.s_skymatch, GuideWindow.s_skymatch, WFICommon.s_skymatch]
resample:
title: Resample Step
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_resample, GuideWindow.s_resample]
destination: [ScienceRefData.s_resample, GuideWindow.s_resample, WFICommon.s_resample]
propertyOrder: [assign_wcs, flat_field, dark, dq_init, jump, linearity, photom, source_detection, outlier_detection, ramp_fit, refpix, saturation, skymatch, tweakreg, resample]
flowStyle: block
required: [assign_wcs, flat_field, dark, dq_init, jump, linearity, outlier_detection, photom, source_detection, ramp_fit, refpix, resample, saturation, skymatch, tweakreg]
Expand Down
26 changes: 13 additions & 13 deletions src/rad/resources/schemas/ground_exposure-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ properties:
origin: TBD
archive_catalog:
datatype: nvarchar(25)
destination: [ScienceCommon.exposure_type, GuideWindow.exposure_type]
destination: [ScienceCommon.exposure_type, GuideWindow.exposure_type, WFICommon.exposure_type]
start_time:
title: UTC exposure start time
description: |
Expand All @@ -30,7 +30,7 @@ properties:
origin: TBD
archive_catalog:
datatype: datetime2
destination: [ScienceCommon.exposure_start_time, GuideWindow.exposure_start_time]
destination: [ScienceCommon.exposure_start_time, GuideWindow.exposure_start_time, WFICommon.exposure_start_time]
ngroups:
title: Number of groups in integration
description: |
Expand All @@ -44,7 +44,7 @@ properties:
origin: TBD
archive_catalog:
datatype: int
destination: [ScienceCommon.exposure_ngroups, GuideWindow.exposure_ngroups]
destination: [ScienceCommon.exposure_ngroups, GuideWindow.exposure_ngroups, WFICommon.exposure_ngroups]
nframes:
title: Number of frames per group
description: |
Expand All @@ -57,7 +57,7 @@ properties:
origin: TBD
archive_catalog:
datatype: int
destination: [ScienceCommon.exposure_nframes, GuideWindow.exposure_nframes]
destination: [ScienceCommon.exposure_nframes, GuideWindow.exposure_nframes, WFICommon.exposure_nframes]
data_problem:
title: Science telemetry indicated a problem
description: |
Expand All @@ -70,7 +70,7 @@ properties:
origin: TBD
archive_catalog:
datatype: nchar(1)
destination: [ScienceCommon.exposure_data_problem, GuideWindow.exposure_data_problem]
destination: [ScienceCommon.exposure_data_problem, GuideWindow.exposure_data_problem, WFICommon.exposure_data_problem]
frame_divisor:
title: Divisor applied to frame-averaged groups
description: |
Expand All @@ -83,7 +83,7 @@ properties:
origin: TBD
archive_catalog:
datatype: int
destination: [ScienceCommon.exposure_frame_divisor, GuideWindow.exposure_frame_divisor]
destination: [ScienceCommon.exposure_frame_divisor, GuideWindow.exposure_frame_divisor, WFICommon.exposure_frame_divisor]
groupgap:
title: Number of frames dropped between groups
description: This is the number of reads that are "dropped" and not used in the resultant.
Expand All @@ -94,7 +94,7 @@ properties:
origin: TBD
archive_catalog:
datatype: int
destination: [ScienceCommon.exposure_groupgap, GuideWindow.exposure_groupgap]
destination: [ScienceCommon.exposure_groupgap, GuideWindow.exposure_groupgap, WFICommon.exposure_groupgap]
frame_time:
title: "[s] Time between frames"
description: |
Expand All @@ -107,7 +107,7 @@ properties:
origin: TBD
archive_catalog:
datatype: float
destination: [ScienceCommon.exposure_frame_time, GuideWindow.exposure_frame_time]
destination: [ScienceCommon.exposure_frame_time, GuideWindow.exposure_frame_time, WFICommon.exposure_frame_time]
group_time:
title: "[s] Time between groups"
description: |
Expand All @@ -120,7 +120,7 @@ properties:
origin: TBD
archive_catalog:
datatype: float
destination: [ScienceCommon.exposure_group_time, GuideWindow.exposure_group_time]
destination: [ScienceCommon.exposure_group_time, GuideWindow.exposure_group_time, WFICommon.exposure_group_time]
exposure_time:
title: "[s] exposure time"
description: |
Expand All @@ -133,7 +133,7 @@ properties:
origin: TBD
archive_catalog:
datatype: float
destination: [ScienceCommon.exposure_time, GuideWindow.exposure_time]
destination: [ScienceCommon.exposure_time, GuideWindow.exposure_time, WFICommon.exposure_time]
ma_table_name:
title: Identifier for the multi-accumulation table used
description: |
Expand All @@ -146,7 +146,7 @@ properties:
origin: TBD
archive_catalog:
datatype: nvarchar(50)
destination: [ScienceCommon.ma_table_name, GuideWindow.ma_table_name]
destination: [ScienceCommon.ma_table_name, GuideWindow.ma_table_name, WFICommon.ma_table_name]
ma_table_number:
title: Numerical identifier for the multi-accumulation table used
description: |
Expand All @@ -160,7 +160,7 @@ properties:
origin: TBD
archive_catalog:
datatype: smallint
destination: [ScienceCommon.ma_table_number, GuideWindow.ma_table_number]
destination: [ScienceCommon.ma_table_number, GuideWindow.ma_table_number, WFICommon.ma_table_number]
read_pattern:
title: Pattern of reads
description: |
Expand All @@ -177,7 +177,7 @@ properties:
origin: TBD
archive_catalog:
datatype: nvarchar(3500)
destination: [ScienceCommon.read_pattern, GuideWindow.read_pattern]
destination: [ScienceCommon.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,
Expand Down
20 changes: 10 additions & 10 deletions src/rad/resources/schemas/ground_guidestar-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ properties:
origin: TBD
archive_catalog:
datatype: nvarchar(20)
destination: [ScienceCommon.gw_id, GuideWindow.gw_id]
destination: [ScienceCommon.gw_id, GuideWindow.gw_id, WFICommon.gw_id]
gw_fgs_mode:
$ref: asdf://stsci.edu/datamodels/roman/schemas/guidewindow_modes-1.0.0
sdf:
Expand All @@ -24,7 +24,7 @@ properties:
origin: TBD
archive_catalog:
datatype: nvarchar(18)
destination: [ScienceCommon.gw_fgs_mode, GuideWindow.gw_fgs_mode]
destination: [ScienceCommon.gw_fgs_mode, GuideWindow.gw_fgs_mode, WFICommon.gw_fgs_mode]
data_start:
title: MJD start time of guider data within this file
type: number
Expand All @@ -34,7 +34,7 @@ properties:
origin: TBD
archive_catalog:
datatype: float
destination: [ScienceCommon.data_start, GuideWindow.data_start]
destination: [ScienceCommon.data_start, GuideWindow.data_start, WFICommon.data_start]
data_end:
title: MJD end time of guider data within this file
type: number
Expand All @@ -44,7 +44,7 @@ properties:
origin: TBD
archive_catalog:
datatype: float
destination: [ScienceCommon.data_end, GuideWindow.data_end]
destination: [ScienceCommon.data_end, GuideWindow.data_end, WFICommon.data_end]
gw_window_xstart:
title: Guide window x start position on the detector
type: integer
Expand All @@ -54,7 +54,7 @@ properties:
origin: Science Data Formatting
archive_catalog:
datatype: int
destination: [ScienceCommon.gw_window_xstart]
destination: [ScienceCommon.gw_window_xstart, WFICommon.gw_window_xstart]
gw_window_ystart:
title: Guide window y start position on the detector
type: integer
Expand All @@ -64,7 +64,7 @@ properties:
origin: Science Data Formatting
archive_catalog:
datatype: int
destination: [ScienceCommon.gw_window_ystart]
destination: [ScienceCommon.gw_window_ystart, WFICommon.gw_window_ystart]
gw_window_xstop:
title: Guide window x stop position on the detector
type: integer
Expand All @@ -74,7 +74,7 @@ properties:
origin: Science Data Formatting
archive_catalog:
datatype: int
destination: [ScienceCommon.gw_window_xstop]
destination: [ScienceCommon.gw_window_xstop, WFICommon.gw_window_xstop]
gw_window_ystop:
title: Guide window y stop position on the detector
type: integer
Expand All @@ -84,7 +84,7 @@ properties:
origin: Science Data Formatting
archive_catalog:
datatype: int
destination: [ScienceCommon.gw_window_ystop]
destination: [ScienceCommon.gw_window_ystop, WFICommon.gw_window_ystop]
gw_window_xsize:
title: Guide window size in the x direction in detector coordinates
type: integer
Expand All @@ -94,7 +94,7 @@ properties:
origin: Science Data Formatting
archive_catalog:
datatype: int
destination: [ScienceCommon.gw_window_xsize]
destination: [ScienceCommon.gw_window_xsize, WFICommon.gw_window_xsize]
gw_window_ysize:
title: Guide window size in the y direction in detector coordinates
type: integer
Expand All @@ -104,7 +104,7 @@ properties:
origin: Science Data Formatting
archive_catalog:
datatype: int
destination: [ScienceCommon.gw_window_ysize]
destination: [ScienceCommon.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,
Expand Down
Loading

0 comments on commit 9dd61b7

Please sign in to comment.