Changeset 40221 for trunk/ippToPsps/test/mkgpc1data.dvo
- Timestamp:
- Nov 28, 2017, 12:49:44 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/mkgpc1data.dvo (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/mkgpc1data.dvo
r39165 r40221 75 75 $dbuser = dvo 76 76 $dbpass = dvo 77 # $dbuser = czw 78 # $dbpass = czw 79 77 78 $gscfile = `gconfig GSCFILE` 79 if ("$gscfile" == "not found") 80 echo "problem with dvo / ptolemy configuration. check ~/.ptolemyrc" 81 break 82 end 83 80 84 exec mkgpc1.sh delete $dbhost $dbname $dbuser $dbpass 81 85 exec mkgpc1.sh create $dbhost $dbname $dbuser $dbpass … … 193 197 end 194 198 199 echo "*****" 195 200 echo addstar -D SKY_DEPTH 4 -D CATDIR $catdir -D CAMERA simtest $cmffile -D CATFORMAT $2 -quick-airmass 196 201 exec addstar -D SKY_DEPTH 4 -D CATDIR $catdir -D CAMERA simtest $cmffile -D CATFORMAT $2 -quick-airmass … … 198 203 199 204 if ($SMALLTEST) 200 echo relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update201 exec relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update202 203 echo relastro -v -D CATDIR $catdir - images -update-chips -region 8 12 18 22 -update -apply-offsets204 exec relastro -v -D CATDIR $catdir - images -update-chips -region 8 12 18 22 -update -apply-offsets205 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update 206 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update 207 208 echo relastro -v -D CATDIR $catdir -D CAMERA simtest -images -update-chips -region 8 12 18 22 -update -apply-offsets 209 exec relastro -v -D CATDIR $catdir -D CAMERA simtest -images -update-chips -region 8 12 18 22 -update -apply-offsets 205 210 else 206 echo relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update207 exec relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update211 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 212 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 208 213 end 209 214 … … 267 272 268 273 if ($SMALLTEST) 269 echo relphot -D CATDIR $catdir - region 8 12 18 22 -averages -update270 exec relphot -D CATDIR $catdir - region 8 12 18 22 -averages -update274 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -averages -update 275 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -averages -update 271 276 else 272 echo relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update273 exec relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update277 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 278 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 274 279 end 275 280 … … 352 357 exec mkcmf -forcedgalaxy -photcode SIMTEST.$filter.ForcedWarp $rawfile $cmffile -extroot SkyChip -date 2008/1/1 -time $i\:00:00 -mjd 54466.0 -radec $RA $DEC -type $1 -imageID $stkID -sourceID 1 -tess_id $TESS_ID -skycell $SKYCELL 353 358 354 echo loadgalphot -D CATDIR $catdir - photcode SIMTEST.$filter.ForcedWarp -image-id $stkID $cmffile355 exec loadgalphot -D CATDIR $catdir - photcode SIMTEST.$filter.ForcedWarp -image-id $stkID $cmffile359 echo loadgalphot -D CATDIR $catdir -D CAMERA simtest -photcode SIMTEST.$filter.ForcedWarp -image-id $stkID $cmffile 360 exec loadgalphot -D CATDIR $catdir -D CAMERA simtest -photcode SIMTEST.$filter.ForcedWarp -image-id $stkID $cmffile 356 361 end 357 362 358 363 if ($SMALLTEST) 359 echo relphot -D CATDIR $catdir - region 8 12 18 22 -averages -update360 exec relphot -D CATDIR $catdir - region 8 12 18 22 -averages -update364 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -averages -update 365 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -averages -update 361 366 else 362 echo relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update363 exec relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update364 end 365 366 echo dvolens -D CATDIR $catdir - region 8 12 18 22 -update-objects -update367 exec dvolens -D CATDIR $catdir - region 8 12 18 22 -update-objects -update367 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 368 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 369 end 370 371 echo dvolens -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -update-objects -update 372 exec dvolens -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -update-objects -update 368 373 369 374 if ($PARALLEL) … … 557 562 end 558 563 if ($SMALLTEST) 559 echo relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN560 exec relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN564 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN 565 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -nloop 0 -D STAR_TOOFEW 0 -update -boundary-tree tess.3pi.fits -is-diff-db -statmode WT_MEAN 561 566 else 562 echo relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update563 exec relphot -D CATDIR $catdir - region 8 12 18 22 -images g,r,i,z,y -update567 echo relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 568 exec relphot -D CATDIR $catdir -D CAMERA simtest -region 8 12 18 22 -images g,r,i,z,y -update 564 569 end 565 570
Note:
See TracChangeset
for help on using the changeset viewer.
