drizzlepac icon indicating copy to clipboard operation
drizzlepac copied to clipboard

Drizzlepac/HAP: Address issues related to new "rel" keywords

Open stscijgbot-hstdp opened this issue 5 months ago • 6 comments

Issue HLA-1325 was created on JIRA by Steve Goldman:

Found when testing HLA-1271:

I noticed some unexpected results in the test data, which i report here for the following observations:

 

  1. ) For a single FLC dataset, the keyword values for the relative and catalog fits are identical, but should have unique values corresponding to their unique number of matches, rms, etc.

/ifs/archive/dev/processing/hla/home/mburger/singlevisits/results_2024-09-04/ibxl04/ibxl04kdq_flc.fits

WCSNAME = 'IDC_2731450pi-FIT_REL_GAIAeDR3' / Coordinate system title             RMS_RA  =    5.711020259082877 / RMS in RA of WCS fit(mas)                       RMS_DEC =   5.2894068148818985 / RMS in Dec of WCS fit(mas)                      NMATCHES=                  686                                                                                                        RELREFIM= 'ibxl04kbq'          / base reference image rootname for relative fit  RELRMS_R=    5.711020259082877 / RMS in RA of relative WCS fit(mas)              RELRMS_D=   5.2894068148818985 / RMS in DEC of relative WCS fit(mas)             RELMATCH=                  686 / number of matches for relative fit             

2.) For multiple FLC datasets, the keyword values for the catalog fit are the same (as expected since they are aligned as a group), but the values for the relative fit should be unique.  

/ifs/archive/dev/processing/hla/home/mburger/singlevisits/results_2024-09-04/ibxl04/i*_flc.fits

For F502N, the relative fit uses the refimage 'ibxl04kbq', so the RELRMS* values for that dataset should be empty and each subsequent FLC should have slightly different values.

A promising result is that each filter set has a unique set of fitting results, however the relative and catalog fit RMS values should not be the same (see item 1 above).

See attachment ibxl04.png

 

3.) For the SVM images, the relrefim for all FLCs is the same (hst_12812_04_wfc3_uvis_f606w_ibxl04kp, see last column), which is good! On the other hand, the relrms_r and relrms_d values for that image should  not be populated or else cleared if they were previously populated (see item 2).  Again, the rms_ra and relrms_r values should not be the same.

/ifs/archive/dev/processing/hla/home/mburger/singlevisits/results_2024-09-04/ibxl04/hst*_flc.fits

See attachment hst_ibxl04.png

 

 4.) For the SVM image below, I see fitgeom='rshift' which should not be allowed. (only 'rscale'). In this case, there were fewer than 10 catalog matches, so it should skip eDR3 and go to the next catalog.

/ifs/archive/dev/processing/hla/home/mburger/singlevisits/results_2024-09-04/ibl738/hst*_flt.fits

IMAGE                                                                  NMATCHES  FITGEOM. WCSNAME hst_12286_38_wfc3_ir_f125w_ibl738k2_flt.fits  7                  rshift       IDC_w3m18525i-FIT_SVM_GAIAeDR3

stscijgbot-hstdp avatar Sep 09 '24 13:09 stscijgbot-hstdp