spacetelescope / romancal

Python library to process science observations from the Nancy Grace Roman Space Telescope
https://roman-pipeline.readthedocs.io/en/latest/
Other
31 stars 28 forks source link

Tweakreg step listed as skipped when run #1263

Closed stscijgbot-rstdms closed 3 months ago

stscijgbot-rstdms commented 4 months ago

Issue RCAL-854 was created on JIRA by David Davis:

The tweakreg step appears to run in roman_elp but is listed as "SKIPPED" in the metadata.

 

strun roman_elp r0000101001001001001_r274dp63x32y80_L1_asn.json
...
[tweakwcs.imalign] Aligning image catalog 'GROUP ID: 987654' to the reference catalog.
[tweakwcs.matchutils] Matching sources from 'r0000101001001001001_01101_000' catalog with sources from the reference 'Unnamed' catalog.
[tweakwcs.matchutils] Computing initial guess for X and Y shifts...
[tweakwcs.matchutils] Found initial X and Y shifts of 0.104, 0.1044 (arcsec) with significance of 584.8 and 778 matches.
[tweakwcs.wcsimage] Found 402 matches for 'GROUP ID: 987654'...
[tweakwcs.linearfit] Performing 'rshift' fit
[tweakwcs.wcsimage] Computed 'rshift' fit for GROUP ID: 987654:
[tweakwcs.wcsimage] XSH: 0.000373968  YSH: -8.02516e-05    ROT: 3.05941e-05    SCALE: 1
[tweakwcs.wcsimage]
[tweakwcs.wcsimage] FIT RMSE: 0.00286155   FIT MAE: 0.0021323
[tweakwcs.wcsimage] Final solution based on 382 objects.
[tweakwcs.imalign]
[tweakwcs.imalign] ***** tweakwcs.imalign.align_wcs() ended on 2024-06-04 09:56:02.942010
[tweakwcs.imalign] ***** tweakwcs.imalign.align_wcs() TOTAL RUN TIME: 0:00:09.766867
[tweakwcs.imalign]
2024-06-04 09:56:03,017 - stpipe.ExposurePipeline.tweakreg - INFO - Step tweakreg done
[stpipe.ExposurePipeline.tweakreg] Step tweakreg done
[   root] Roman exposure calibration pipeline ending...
2024-06-04 09:56:04,197 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0001_WFI01_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0001_WFI01_cal.asdf
2024-06-04 09:56:05,436 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0001_WFI02_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0001_WFI02_cal.asdf
2024-06-04 09:56:06,377 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0001_WFI10_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0001_WFI10_cal.asdf
2024-06-04 09:56:07,435 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0001_WFI11_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0001_WFI11_cal.asdf
2024-06-04 09:56:08,382 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0002_WFI01_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0002_WFI01_cal.asdf
2024-06-04 09:56:09,227 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0002_WFI02_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0002_WFI02_cal.asdf
2024-06-04 09:56:10,078 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0003_WFI01_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0003_WFI01_cal.asdf
2024-06-04 09:56:10,834 - stpipe.ExposurePipeline - INFO - Saved model in r0000101001001001001_01101_0004_WFI01_cal.asdf
[stpipe.ExposurePipeline] Saved model in r0000101001001001001_01101_0004_WFI01_cal.asdf
2024-06-04 09:56:10,834 - stpipe.ExposurePipeline - INFO - Step ExposurePipeline done
[stpipe.ExposurePipeline] Step ExposurePipeline done
(rcal_dev) bash>asdfattr.py r0000101001001001001_01101_0004_WFI01_cal.asdf cal_step
attributes:  cal_step
ex_list:  ['cal_step']
/Users/ddavis/miniconda3/envs/rcal_dev/lib/python3.11/site-packages/erfa/core.py:154: ErfaWarning: ERFA function "dtf2d" yielded 1 of "dubious year (Note 6)"
  warnings.warn('ERFA function "{}" yielded {}'.format(func_name, wmsg),
Meta Attribute  cal_step
          assign_wcs    COMPLETE
          flat_field    COMPLETE
                flux    INCOMPLETE
                dark    COMPLETE
             dq_init    COMPLETE
                jump    COMPLETE
           linearity    COMPLETE
              photom    COMPLETE
    source_detection    COMPLETE
   outlier_detection    INCOMPLETE
            ramp_fit    COMPLETE
              refpix    COMPLETE
          saturation    COMPLETE
            skymatch    INCOMPLETE
            tweakreg    SKIPPED

The input data files are from

██████████████████████████████