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.
When constructing a WCS object, this line:
stcal/src/stcal/tweakreg/tweakreg.py
Line 381 in d13f8df
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.:
Is it appropriate that JWST and Roman have the same corrections? If so, the
JWSTWCSCorrectorshould be generalized to both. If not, aROMANWCSCorrectorshould be made.