Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAD-182: Add RCS and remove aperture, target schemas #473

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/473.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ``rcs`` and removes ``aperture``, ``target`` schemas
13 changes: 4 additions & 9 deletions src/rad/resources/manifests/datamodels-1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,16 @@ tags:
title: Coordinate frame information
description: |-
Coordinate frame information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/aperture-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/aperture-1.0.0
title: Aperture information
description: |-
Aperture information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/pointing-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/pointing-1.0.0
title: Spacecraft Pointing information
description: |-
Spacecraft Pointing information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/target-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/target-1.0.0
title: Target information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/rcs-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/rcs-1.0.0
title: Relative Calibration System Information
description: |-
Target information
Relative Calibration System Information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/velocity_aberration-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/velocity_aberration-1.0.0
title: Velocity aberration information
Expand Down
45 changes: 0 additions & 45 deletions src/rad/resources/schemas/aperture-1.0.0.yaml

This file was deleted.

13 changes: 5 additions & 8 deletions src/rad/resources/schemas/common-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ allOf:
- type: object
properties:
# Meta Objects
aperture:
title: Aperture Information
tag: asdf://stsci.edu/datamodels/roman/tags/aperture-1.0.0
cal_step:
title: Tracker of Calibration Pipeline Steps
tag: asdf://stsci.edu/datamodels/roman/tags/l2_cal_step-1.0.0
Expand Down Expand Up @@ -44,9 +41,9 @@ allOf:
ref_file:
title: Reference File Information
tag: asdf://stsci.edu/datamodels/roman/tags/ref_file-1.0.0
target:
title: Target Information
tag: asdf://stsci.edu/datamodels/roman/tags/target-1.0.0
rcs:
title: Relative Calibration System Information
tag: asdf://stsci.edu/datamodels/roman/tags/rcs-1.0.0
velocity_aberration:
title: Velocity Aberration Correction Information
tag: asdf://stsci.edu/datamodels/roman/tags/velocity_aberration-1.0.0
Expand All @@ -56,7 +53,7 @@ allOf:
wcsinfo:
title: World Coordinate System (WCS) Parameters
tag: asdf://stsci.edu/datamodels/roman/tags/wcsinfo-1.0.0
required: [aperture, cal_step, coordinates, ephemeris, exposure, guidestar,
required: [cal_step, coordinates, ephemeris, exposure, guidestar,
instrument, observation, pointing, program, ref_file,
target, velocity_aberration, visit, wcsinfo]
rcs, velocity_aberration, visit, wcsinfo]
...
80 changes: 80 additions & 0 deletions src/rad/resources/schemas/rcs-1.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/rcs-1.0.0

title: Relative Calibration System Information
type: object
properties:
active:
title: Status of the Relative Calibration System (RCS)
description: |
A boolean flag to indicate if the Relative Calibration
System (RCS) is on (True) or off (False) during the exposure.
type: boolean
sdf:
special_processing: VALUE_REQUIRED
source:
origin: TBD
archive_catalog:
datatype: nchar(1)
destination: [WFIExposure.active]
electronics:
title: Relative Calibration System (RCS) Electronics Side
description: |
The active redundant electronics used to control the
Relative Calibration System (RCS). Values may be "A" or "B" if
the RCS is on, and "N/A" if the RCS is off.
anyOf:
- type: string
enum: ["A", "B", None]
- type: "null"
maxLength: 5
archive_catalog:
datatype: nvarchar(5)
destination: [WFIExposure.electronics]
bank:
title: Light Emitting Diode (LED) Bank Selection
description: |
The bank of light emitting diodes (LEDs) selected in
the program specification in the Astronomer's Proposal Tool
(APT). Values may be either "1" or "2" if the RCS is on, and
"N/A" if the RCS is off.
anyOf:
- type: string
enum: ["1", "2", None]
- type: "null"
maxLength: 5
archive_catalog:
datatype: nvarchar(5)
destination: [WFIExposure.bank]
led:
title: Light Emitting Diode (LED) Passband
description: |
The light emitting diode (LED) passband selected in
the program specification in the Astronomer's Proposal Tool
(APT). Values are integer strings between "1" and "6" inclusive,
when the RCS is on, and "N/A" when the RCS is off.
anyOf:
- type: string
enum: ["1", "2", "3", "4", "5", "6", None]
- type: "null"
maxLength: 5
archive_catalog:
datatype: nvarchar(5)
destination: [WFIExposure.led]
counts:
title: Light Emitting Diode (LED) Flux (DN)
description: |
The integrated number of counts of the light emitting
diode (LED) selected in the program specification in the
Astronomer's Proposal Tool (APT). Values are between 0 and
65,535 in units of DN.
type: integer
archive_catalog:
datatype: int
destination: [WFIExposure.counts]
propertyOrder: [active, electronics, bank, led, counts]
flowStyle: block
required: [active, electronics, bank, led, counts]
...
196 changes: 0 additions & 196 deletions src/rad/resources/schemas/target-1.0.0.yaml

This file was deleted.