For cases where a single reference band gets used, it would be great to accept a ranked-order list of bands and pick the highest priority band present.
e.g.,
"miri_wcsadjust_priority = ['F1000W','F770W']
would use F1000W if present for get_wcs_adjust and if not use F770W.
This comes up in several places (get_wcs_adjust, absolute alignment, anchoring) and there is precedent for a priority list in the config file in the external anchoring bands.
I've implemented this in the pjpipe_configs repo (and it keys off the config file there) but it would probably be better as a PJPipe feature. My code is over there if helpful.
For cases where a single reference band gets used, it would be great to accept a ranked-order list of bands and pick the highest priority band present.
e.g.,
"miri_wcsadjust_priority = ['F1000W','F770W']
would use F1000W if present for get_wcs_adjust and if not use F770W.
This comes up in several places (get_wcs_adjust, absolute alignment, anchoring) and there is precedent for a priority list in the config file in the external anchoring bands.
I've implemented this in the pjpipe_configs repo (and it keys off the config file there) but it would probably be better as a PJPipe feature. My code is over there if helpful.