Skip to content

JWSTWCSCorrector Used for Roman Data #528

@PaulHuwe

Description

@PaulHuwe

When constructing a WCS object, this line:

def construct_wcs_corrector(

is called in the romancal pipeline:

https://github.com/spacetelescope/romancal/blob/a85994630bbde6656fa15922713ef8596e6f8248/romancal/tweakreg/tweakreg_step.py#L207-L212

and it produces roman files with JWST wcs variables in them, e.g.:

> af = asdf.open('r0000101001001001001_0001_wfi01_f158_cal.asdf')
> w = af['roman']['meta']['wcs']
> print(w)

From                   Transform                
---------- ----------------------------------------
  detector                            CompoundModel
      v2v3                           DVA_Correction
v2v3vacorr JWST tangent-plane linear correction. v1
  v2v3corr                                 v23tosky
     world                                     None

Is it appropriate that JWST and Roman have the same corrections? If so, the JWSTWCSCorrector should be generalized to both. If not, a ROMANWCSCorrector should be made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions