Skip to content

Commit

Permalink
SSC: L3 Datamodel for Stacked Image Data (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Jun 23, 2023
1 parent 5278325 commit d26f630
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

- Fix minor discrepancies found when looking over the schemas. [#267]


- Bugfix for ``inverse_linearity-1.0.0``'s ``reftype`` so that it is CRDS
compatible. [#272]

Expand All @@ -12,6 +11,8 @@

- Add keyword to indicate if and which datamodel the schema describes. [#278]

- Add schema ``msos_stack-1.0.0`` as a level 3 schema for SSC. [#276]

0.15.0 (2023-05-12)
-------------------

Expand Down
6 changes: 6 additions & 0 deletions src/rad/resources/manifests/datamodels-1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,10 @@ tags:
title: Telescope used to acquire the data
description: |-
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
title: MSOS Stack Level 3 Schema
description: |-
Level 3 schema for SSC's MSOS stack products
...
45 changes: 45 additions & 0 deletions src/rad/resources/schemas/msos_stack-1.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/msos_stack-1.0.0

title: |
MSOS Stack Level 3 Schema
datamodel_name: MsosStackModel

type: object
properties:
meta:
allOf:
- $ref: common-1.0.0
- image_list:
type: string
data:
title: Flux data
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.0.0
datatype: float64
ndim: 2
uncertainty:
title: uncertainty data
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.0.0
datatype: float64
ndim: 2
mask:
title: mask data
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.0.0
datatype: uint8
ndim: 2
coverage:
title: coverage data
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.0.0
datatype: uint8
ndim: 2
propertyOrder: [meta, data, uncertainty, mask, coverage]
flowStyle: block
required: [meta, data, uncertainty, mask, coverage]
...

0 comments on commit d26f630

Please sign in to comment.