Investigation by @cmorrison and @mrawls into processing oddities in ap_pipe’s use of obs_decam
data turned up the fact that decam does not have a proper configuration for PhotoCalTask
. Comparing obs_decam
and obs_subaru
shows that there are many required settings in the obs_subaru
configurations that are not specific to HSC and should be defaults for their respective Tasks. There are some truly camera-specific settings in obs_subaru, so we will have to disentangle the general from the specific.
This reminds me of the jointcal configurations that are going into obs_lsst
and obs_subaru
in DM-17830: none of that configuration is really specific to those cameras, so it should be put in a more generally accessible place, possibly JointcalConfig.setDefaults()
.
This points to a serious weakness in our task configuration system: the more general we make our Tasks (e.g. ScienceSourceSelector
and ReferenceSourceSelector
), the more required configurations end up hidden in the most-used obs packages (i.e. obs_subaru
). One option to deal with this would be to put reasonable defaults into the tasks that use these configurable subtasks. In the example above, PhotoCalTask
should configure match.referenceSelection
and match.sourceSelection
. Other suggestions are welcome.
This lack of reasonable defaults has resulted in the UW AP group wasting a lot of time chasing down what are likely phantom errors due to mis-configuration.