forked from spacetelescope/rad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RAD-151: L2 and L3 catalog and segmentation map schemas (spacetelesco…
…pe#393) * adding source catalog schema * fix changelog * adding segmentation map schema * Update src/rad/resources/schemas/source_catalog-1.0.0.yaml Co-authored-by: William Jamieson <[email protected]> * add meta to source catalog * Update CHANGES.rst Co-authored-by: Nadia Dencheva <[email protected]> * Update src/rad/resources/schemas/segmentation_map-1.0.0.yaml Co-authored-by: Nadia Dencheva <[email protected]> * Updates from Nadia's review comments * fixing meta and binary block order * tweaking metadata requirements * this will be L3 schema * add mosaic_source_catalog and mosaic_segmentation_map * L2 catalogs and segmentation maps * add optical_element * add change log entry * address comments * address comments * Add database destination tables for mosaic_source_catalog * add archive destinations for L2 catalogs * add segment destination * remove SegmentationMap table from exposure schema * add photometry to L2 catalogs --------- Co-authored-by: Brett M. Morris <[email protected]> Co-authored-by: Brett M. Morris <[email protected]> Co-authored-by: William Jamieson <[email protected]>
- Loading branch information
1 parent
d869ddc
commit 6271ba5
Showing
20 changed files
with
296 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/rad/resources/schemas/mosaic_segmentation_map-1.0.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0 | ||
id: asdf://stsci.edu/datamodels/roman/schemas/mosaic_segmentation_map-1.0.0 | ||
|
||
title: Segmentation map generated from a Level 3 file by the Source Catalog Step. | ||
|
||
datamodel_name: MosaicSegmentationMapModel | ||
|
||
archive_meta: None | ||
type: object | ||
properties: | ||
meta: | ||
allOf: | ||
- $ref: basic-1.0.0 | ||
- type: object | ||
properties: | ||
basic: | ||
tag: asdf://stsci.edu/datamodels/roman/tags/mosaic_basic-1.0.0 | ||
program: | ||
title: Program Information | ||
tag: asdf://stsci.edu/datamodels/roman/tags/program-1.0.0 | ||
required: [basic, program] | ||
data: | ||
title: Segmentation map | ||
description: | | ||
Segmentation map of an image model, zeros correspond to background. | ||
tag: tag:stsci.edu:asdf/core/ndarray-1.* | ||
ndim: 2 | ||
datatype: uint32 | ||
exact_datatype: true | ||
|
||
required: [meta, data] | ||
flowStyle: block | ||
propertyOrder: [meta, data] | ||
... |
Oops, something went wrong.