If we want PsfWcsSelectImagesTask to be the default for obs_subaru (as opposed to WcsSelectImagesTask), I believe the following needs to be added to obs_subaru/config/safeClipAssembleCoadd.py since that is the config override file that gets read when running assembleCoadd.py:
from lsst.pipe.tasks.selectImages import PsfWcsSelectImagesTask
|
config.select.retarget(PsfWcsSelectImagesTask)
|
I suppose this could affect ci_hsc as I believe it runs the command lines separately, (i.e. does not use the driver scripts which do have the correct retargeting in the config override file). Hhhmmm...looking more closely at obs_subaru/config/coaddDriver.py, it loads the following config files:
for sub in ("makeCoaddTempExp", "backgroundReference", "assembleCoadd", "processCoadd"):
|
First, backgroundReference and processCoadd don't exist in obs_subaru/config (they do in obs_subaru/config/suprimecam). Should they be removed from the list?
Second, should assembleCoadd ==> safeClipAssembleCoadd?
I realize this isn't really part of this ticket so feel free to punt, but you are probably the authority on this anyway!
Thanks for volunteering to look at this, Lauren MacArthur!
price@pap-laptop:~/LSST/pipe_tasks (tickets/DM-11243=) $ git sub
commit 3ed9f4e630839bff682865941b9ca0660abee751
Author: Paul Price <price@astro.princeton.edu>
Date: Mon Jul 10 12:19:40 2017 -0400
PsfWcsSelectImagesTask: make thresholds optional
We may decide not to use a particular threshold, so they should be
optional.
python/lsst/pipe/tasks/selectImages.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
commit 2634f9e6df4bbf6147d5a8520b9f1a0cc7b36db5
Author: Paul Price <price@astro.princeton.edu>
Date: Mon Jul 10 13:10:55 2017 -0400
PsfWcsSelectImagesTask: add selection on scaled size scatter
Takashi Hamana recommends a selection involving:
max_scatterSize/medianSize^2 = 0.009
python/lsst/pipe/tasks/selectImages.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit d133c9b1cbdd5015f00d8ca9c7c79d390716787f
Author: Paul Price <price@astro.princeton.edu>
Date: Mon Jul 10 13:14:02 2017 -0400
PsfWcsSelectImagesTask: adopt Hamana-san's recommended limits
Takashi Hamana recommends:
max_medianE = 0.007
max_scatterSize/medianSize^2 = 0.009
We update the maxEllipResidual to correspond to Hamana-san's
recommendation and remove the maxSizeScatter limit (maxScaledSizeScatter
is already set appropriately).
python/lsst/pipe/tasks/selectImages.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)