-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_coadd_photometry_modular.sh
42 lines (34 loc) · 1.39 KB
/
run_coadd_photometry_modular.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
REPO=$1
FIELD=$2
TRACT=`grep ${FIELD} dr1_coadd_actual.list | cut -f 2 -d ' '`
COADD_RERUN=coadd
COADDPHOT_RERUN=coaddPhot
# multiBandDriver.py \
# "${REPO}" --rerun "${COADD_RERUN}":"${COADDPHOT_RERUN}" \
# --id field=${FIELD} tract=${TRACT} patch=0,0 filter=H^J \
# --configfile config/multiBand.py \
# --cores 4 \
# --clobber-versions
# Should be able to replace all of this with multiBandDriver.py
# But it was useful to go through step by step to get it all working.
#
detectCoaddSources.py "${REPO}" --rerun "${COADD_RERUN}":"${COADDPHOT_RERUN}" \
--id field="${FIELD}" tract=${TRACT} filter=H \
--id field="${FIELD}" tract=${TRACT} filter=J \
--clobber-versions
mergeCoaddDetections.py "${REPO}" --rerun "${COADDPHOT_RERUN}" \
--id field="${FIELD}" tract=${TRACT} filter=H^J \
--configfile config/mergeCoaddDetections.py \
--clobber-versions
measureCoaddSources.py "${REPO}" --rerun "${COADDPHOT_RERUN}" \
--id field="${FIELD}" tract=${TRACT} filter=H^J \
--configfile config/measureCoaddSources.py \
--clobber-versions
mergeCoaddMeasurements.py "${REPO}" --rerun "${COADDPHOT_RERUN}" \
--id field="${FIELD}" tract=${TRACT} filter=H^J \
--configfile config/mergeCoaddDetections.py \
--clobber-versions
forcedPhotCoadd.py "${REPO}" --rerun "${COADDPHOT_RERUN}" \
--id field="${FIELD}" tract=${TRACT} filter=H^J \
--clobber-versions