I would like to run
ap_pipe.py using data that were already processed with
jointcal.py night by night since these are nights 1 year appart from each others, and so far proper motion is not handled.
I then use the
wcs produced by
jointcal to make night-by-night coadds.
So far I have managed to point to the template of night_1 with
ap_pipe using the
-- template option, to run DIA on the visits of night_2.
It works fine, but
ap_pipe re-processes the ‘ccdProcessing’ for night_2, which is time consuming and unnecessary since I already have these done.
I tried using
--reuse-outputs-from ccdProcessor, but I think this is only able to reuse the ouputs of an earlier run of
ap_pipe, and doesn’t look into the input path. I guess I could link the
calexps into the output path, but that is not ideal.
Is there a proper way of doing this?
And also, since I already have improved
wcs for these night_2 visits, that
jointcal generated. Is there a way to use them?
So technically I would like something like
ap_pipe.py Input_path --calib calib_path --template template_night1_path **--calexp calexp_night2_path --wcs wcs_night2_path** --output output_path -c diaPipe.apdb.db_url="sqlite:////link/to/association.db" -c diaPipe.apdb.isolation_level="READ_UNCOMMITTED" -c diaPipe.apdb.connection_timeout=240 --id visit=visitlist_night2