wfi_image-1.0.0

The Schema for WFI Level 2 Images.

Outline

Schema Definitions

This type is an object with the following properties:

  • meta

    objectRequired

    This node must validate against all of the following:

  • data

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Science data, excluding border reference pixels, in DNs per second or MJ per steradian.

  • dq

    tag:stsci.edu:asdf/core/ndarray-1.*Required

    Data quality flags.

  • err

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Error in units of DNs per second or MJ per steradian.

  • var_poisson

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Poisson variance in units of DN^2 / second^2 or MJ per steradian.

  • var_rnoise

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Read noise in units of DN^2 / second^2 or MJ^2 per steradian^2.

  • var_flat

    tag:stsci.edu:asdf/unit/quantity-1.*

    Variance for estimate of flat pixel flux in units of DN^2 / second^2 or MJ^2 per steradian^2.

  • amp33

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Amplifier 33 reference pixel data in units of DN.

  • border_ref_pix_left

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Border reference pixels on the left of the detector, from the instrument’s perspective in units of DN.

  • border_ref_pix_right

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Border reference pixels on the right of the detector, from the instrument’s perspective in units of DN

  • border_ref_pix_top

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Border reference pixels on the top of the detector in units of DN.

  • border_ref_pix_bottom

    tag:stsci.edu:asdf/unit/quantity-1.*Required

    Border reference pixels on the bottom of the detector in units of DN.

  • dq_border_ref_pix_left

    tag:stsci.edu:asdf/core/ndarray-1.*Required

    Data quality flag for border reference pixels, on the left edge of the detector from the instrument perspective.

  • dq_border_ref_pix_right

    tag:stsci.edu:asdf/core/ndarray-1.*Required

    Data quality flag for border reference pixels, on the right edge of the detector from the instrument perspective.

  • dq_border_ref_pix_top

    tag:stsci.edu:asdf/core/ndarray-1.*Required

    Data quality flag for border reference pixels, on top.

  • dq_border_ref_pix_bottom

    tag:stsci.edu:asdf/core/ndarray-1.*Required

    Data quality flag for border reference pixels, on bottom.

  • cal_logs

    asdf://stsci.edu/datamodels/roman/tags/cal_logs-1.0.0Required

    Calibration logs.

Original Schema

%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/wfi_image-1.0.0

title: The Schema for WFI Level 2 Images.

datamodel_name: ImageModel
archive_meta: None

type: object
properties:
  meta:
    allOf:
      - $ref: common-1.0.0
      - type: object
        properties:
          wcs:
            title: WCS object
            anyOf:
              - tag: tag:stsci.edu:gwcs/wcs-*
              - type: "null"
          photometry:
            tag: asdf://stsci.edu/datamodels/roman/tags/photometry-1.0.0
          outlier_detection:
            tag: asdf://stsci.edu/datamodels/roman/tags/outlier_detection-1.0.0
          source_detection:
            tag: asdf://stsci.edu/datamodels/roman/tags/source_detection-1.0.0
        required: [photometry, wcs]
  data:
    title: Science Data (DN / s) or (MJy / sr)
    description: |
      Science data, excluding border reference pixels, in DNs per second
      or MJ per steradian.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 2
      unit:
        oneOf:
          - tag: tag:stsci.edu:asdf/unit/unit-1.*
          - tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN / s", "MJy.sr**-1"]
  dq:
    title: Data Quality Flags
    description: |
      Data quality flags.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
  err:
    title: Error (DN / s) or (MJy / sr)
    description: |
      Error in units of DNs per second or MJ per steradian.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 2
      unit:
        oneOf:
          - tag: tag:stsci.edu:asdf/unit/unit-1.*
          - tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN / s", "MJy.sr**-1"]
  var_poisson:
    title: Poisson Variance (DN^2 / s^2) or (MJy^2 / sr^2)
    description: |
      Poisson variance in units of DN^2 / second^2
      or MJ per steradian.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 2
      unit:
        oneOf:
          - tag: tag:stsci.edu:asdf/unit/unit-1.*
          - tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN2 / s2", "MJy**2.sr**-2"]
  var_rnoise:
    title: Read Noise (DN^2 / s^2) or (MJy^2 / sr^2)
    description: |
      Read noise in units of DN^2 / second^2 or MJ^2 per steradian^2.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 2
      unit:
        oneOf:
          - tag: tag:stsci.edu:asdf/unit/unit-1.*
          - tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN2 / s2", "MJy**2.sr**-2"]
  var_flat:
    title: Variance for Estimate of Flat Pixel Flux (DN^2 / s^2) or (MJy^2 / sr^2)
    description: |
      Variance for estimate of flat pixel flux in units of
      DN^2 / second^2 or MJ^2 per steradian^2.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 2
      unit:
        oneOf:
          - tag: tag:stsci.edu:asdf/unit/unit-1.*
          - tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN2 / s2", "MJy**2.sr**-2"]
  amp33:
    title: Amp 33 Reference Pixel Data (DN)
    description: |
      Amplifier 33 reference pixel data in units of DN.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: uint16
        exact_datatype: true
        ndim: 3
      unit:
        tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN"]
  border_ref_pix_left:
    title: Border Reference Pixels on the Left of the Detector, from the Instrument's Perspective (DN)
    description: |
      Border reference pixels on the left of the detector, from the instrument's
      perspective in units of DN.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 3
      unit:
        tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN"]
  border_ref_pix_right:
    title: Border Reference Pixels on the Right of the Detector, from the Instrument's Perspective (DN)
    description: |
      Border reference pixels on the right of the detector, from the
      instrument's perspective in units of DN
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 3
      unit:
        tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN"]
  border_ref_pix_top:
    title: Border Reference Pixels on the Top of the Detector (DN)
    description: |
      Border reference pixels on the top of the detector in units of DN.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 3
      unit:
        tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN"]
  border_ref_pix_bottom:
    title: Border Reference Pixels on the Bottom of the Detector (DN)
    description: |
      Border reference pixels on the bottom of the detector in units of DN.
    tag: tag:stsci.edu:asdf/unit/quantity-1.*
    properties:
      value:
        tag: tag:stsci.edu:asdf/core/ndarray-1.*
        datatype: float32
        exact_datatype: true
        ndim: 3
      unit:
        tag: tag:astropy.org:astropy/units/unit-1.*
        enum: ["DN"]
  dq_border_ref_pix_left:
    title: Data Quality Flag for Border Reference Pixels, on the Left Edge of the Detector from the Instrument Perspective
    description: |
      Data quality flag for border reference pixels, on the left edge of the
      detector from the instrument perspective.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
  dq_border_ref_pix_right:
    title: Data Quality Flag for Border Reference Pixels, on the Right edge of the Detector from the Instrument Perspective
    description: |
      Data quality flag for border reference pixels, on the right edge of the
      detector from the instrument perspective.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
  dq_border_ref_pix_top:
    title: Data Quality Flag for Border Reference Pixels, on Top
    description: |
      Data quality flag for border reference pixels, on top.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
  dq_border_ref_pix_bottom:
    title: Data Quality Flag for Border Reference Pixels, on Bottom
    description: |
      Data quality flag for border reference pixels, on bottom.
    tag: tag:stsci.edu:asdf/core/ndarray-1.*
    datatype: uint32
    exact_datatype: true
    ndim: 2
  cal_logs:
    title: Calibration Logs
    description: |
      Calibration logs.
    tag: asdf://stsci.edu/datamodels/roman/tags/cal_logs-1.0.0
propertyOrder: [meta, data, dq, err, var_poisson, var_rnoise, var_flat,
                amp33, border_ref_pix_left, border_ref_pix_right,
                border_ref_pix_top, border_ref_pix_bottom,
                dq_border_ref_pix_left, dq_border_ref_pix_right,
                dq_border_ref_pix_top, dq_border_ref_pix_bottom, cal_logs]
flowStyle: block
required: [meta, data, dq, err, var_poisson, var_rnoise, amp33,
           border_ref_pix_left, border_ref_pix_right, border_ref_pix_top,
           border_ref_pix_bottom, dq_border_ref_pix_left,
           dq_border_ref_pix_right, dq_border_ref_pix_top,
           dq_border_ref_pix_bottom, cal_logs]
...