Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHuwe committed Oct 9, 2024
1 parent b70c830 commit 8a53016
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 258 deletions.
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.

0 comments on commit 8a53016

Please sign in to comment.