Skip to content

Commit

Permalink
RAD-165: Separate TVAC and FPS Schemas from Main (#414)
Browse files Browse the repository at this point in the history
* Initial commit.

* Tweaked comments.

* Flake8 Compliance.

* Tweaked schema naming.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Updated Changelog.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
PaulHuwe and pre-commit-ci[bot] authored May 9, 2024
1 parent 8db8b25 commit 60afc24
Show file tree
Hide file tree
Showing 45 changed files with 1,854 additions and 54 deletions.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
0.20.0 (unreleased)
-------------------

-
- Separated TVAC and FPS schemas into their own suite of files. [#414]


0.19.4 (2024-05-08)
-------------------

- Updated RTD with documentation for new data products. [#419]


0.19.3 (2024-04-25)
-------------------

Expand Down
185 changes: 154 additions & 31 deletions src/rad/resources/manifests/datamodels-1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,37 +155,6 @@ tags:
title: Mosaic WCS parameters
description: |-
Mosaic WCS parameters
# Ground Modules
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/base_exposure-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/base_exposure-1.0.0
title: Exposure information
description: |-
Ground test exposure information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/base_guidestar-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/base_guidestar-1.0.0
title: Guidestar information
description: |-
Guidestar information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/groundtest-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/groundtest-1.0.0
title: Ground Test Information
description: |-
Ground test description.
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac_groundtest-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac_groundtest-1.0.0
title: TVAC Ground Test Information
description: |-
TVAC ground test description.
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps-1.0.0
title: FPS schema
description: |-
FPS test data
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac-1.0.0
title: TVAC schema
description: |-
TVAC test data
# Reference Modules
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/reference_files/dark-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/reference_files/dark-1.0.0
Expand Down Expand Up @@ -334,6 +303,160 @@ tags:
title: Telescope used to acquire the data
description: |-
Telescope used to acquire the data
# FPS Schemas
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps-1.0.0
title: FPS schema
description: |-
FPS test data
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/cal_step-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/cal_step-1.0.0
title: FPS Level 2 Calibration Step status information
description: |-
FPS Level 2 Calibration Step status information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/exposure-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/exposure-1.0.0
title: FPS Exposure information
description: |-
FPS Exposure information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/groundtest-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/groundtest-1.0.0
title: FPS Ground Test Information
description: |-
FPS Ground test description.
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/guidestar-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/guidestar-1.0.0
title: FPS Guidestar information
description: |-
FPS Guidestar information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/ref_file-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/ref_file-1.0.0
title: FPS Calibration reference file names.
description: |-
FPS Calibration reference file names.
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/wfi_mode-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/wfi_mode-1.0.0
title: FPS Roman WFI Instrument Mode
description: |-
FPS Roman WFI Instrument
# FPS Tagged Scalars
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/calibration_software_version-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/calibration_software_version-1.0.0
title: FPS Calibration software version
description: |-
FPS Calibration software version number
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/filename-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/filename-1.0.0
title: FPS Name of the file
description: |-
FPS Name of the file
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/file_date-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/file_date-1.0.0
title: FPS Date this file was created (UTC)
description: |-
FPS Date this file was created (UTC)
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/model_type-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/model_type-1.0.0
title: FPS Type of data model
description: |-
FPS Type of data model
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/origin-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/origin-1.0.0
title: FPS Organization responsible for creating file
description: |-
FPS Organization responsible for creating file
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/prd_software_version-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/prd_software_version-1.0.0
title: FPS S&OC PRD version number used in data processing
description: |-
FPS S&OC PRD version number used in data processing
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/sdf_software_version-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/sdf_software_version-1.0.0
title: FPS SDF software version number
description: |-
FPS SDF software version number
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/fps/telescope-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/fps/tagged_scalars/telescope-1.0.0
title: FPS Telescope used to acquire the data
description: |-
FPS Telescope used to acquire the data
# TVAC Schemas
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac-1.0.0
title: TVAC schema
description: |-
TVAC test data
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/cal_step-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/cal_step-1.0.0
title: TVAC Level 2 Calibration Step status information
description: |-
TVAC Level 2 Calibration Step status information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/exposure-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/exposure-1.0.0
title: TVAC Exposure information
description: |-
TVAC Exposure information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/groundtest-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/groundtest-1.0.0
title: TVAC Ground Test Information
description: |-
TVAC Ground test description.
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/guidestar-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/guidestar-1.0.0
title: TVAC Guidestar information
description: |-
TVAC Guidestar information
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/ref_file-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/ref_file-1.0.0
title: TVAC Calibration reference file names.
description: |-
TVAC Calibration reference file names.
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/wfi_mode-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/wfi_mode-1.0.0
title: TVAC Roman WFI Instrument Mode
description: |-
TVAC Roman WFI Instrument
# TVAC Tagged Scalars
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/calibration_software_version-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/calibration_software_version-1.0.0
title: TVAC Calibration software version
description: |-
TVAC Calibration software version number
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/filename-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/filename-1.0.0
title: TVAC Name of the file
description: |-
TVAC Name of the file
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/file_date-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/file_date-1.0.0
title: TVAC Date this file was created (UTC)
description: |-
TVAC Date this file was created (UTC)
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/model_type-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/model_type-1.0.0
title: TVAC Type of data model
description: |-
TVAC Type of data model
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/origin-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/origin-1.0.0
title: TVAC Organization responsible for creating file
description: |-
TVAC Organization responsible for creating file
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/prd_software_version-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/prd_software_version-1.0.0
title: TVAC S&OC PRD version number used in data processing
description: |-
TVAC S&OC PRD version number used in data processing
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/sdf_software_version-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/sdf_software_version-1.0.0
title: TVAC SDF software version number
description: |-
TVAC SDF software version number
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/tvac/telescope-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/tvac/tagged_scalars/telescope-1.0.0
title: TVAC Telescope used to acquire the data
description: |-
TVAC Telescope used to acquire the data
# SSC data models
- tag_uri: asdf://stsci.edu/datamodels/roman/tags/msos_stack-1.0.0
schema_uri: asdf://stsci.edu/datamodels/roman/schemas/msos_stack-1.0.0
Expand Down
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/fps-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ type: object
properties:
meta:
allOf:
- $ref: asdf://stsci.edu/datamodels/roman/schemas/ground_common-1.0.0
- $ref: asdf://stsci.edu/datamodels/roman/schemas/fps/common-1.0.0
- type: object
properties:
groundtest:
tag: asdf://stsci.edu/datamodels/roman/tags/groundtest-1.0.0
tag: asdf://stsci.edu/datamodels/roman/tags/fps/groundtest-1.0.0
required: [groundtest]

data:
Expand Down
58 changes: 58 additions & 0 deletions src/rad/resources/schemas/fps/basic-1.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/fps/basic-1.0.0

title: FPS Basic Information

type: object
properties:
# Meta Variables
calibration_software_version:
title: Calibration Software Version Number
description: |
The version number of the calibration software used in processing this
file.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/calibration_software_version-1.0.0
filename:
title: File Name
description: |
The auto-generated name of this file.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/filename-1.0.0
file_date:
title: File Creation Date
description: |
The date and time this file was created.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/file_date-1.0.0
model_type:
title: Data Model Type
description: |
The type of data model contained in this file.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/model_type-1.0.0
origin:
title: Institution / Organization Name
description: |
The name of the institution or organization responsible for creating this
file.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/origin-1.0.0
prd_software_version:
title: SOC PRD Version Number
description: |
The Science Operations Center (SOC) Project Reference Database (PRD)
version number used in generating this file.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/prd_software_version-1.0.0
sdf_software_version:
title: SDF Version Number
description: |
The version number of the Science Data Formatting (SDF) software used in
generating this file.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/sdf_software_version-1.0.0
telescope:
title: Telescope Name
description: |
The name of the telescope used to acquire the data.
tag: asdf://stsci.edu/datamodels/roman/tags/fps/telescope-1.0.0
required: [calibration_software_version, filename, file_date,
model_type, origin, prd_software_version,
sdf_software_version, telescope]
...
Loading

0 comments on commit 60afc24

Please sign in to comment.