- Timestamp:
- Jul 31, 2014, 11:00:48 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/ippToPsps/test/mkgpc1data.dvo
r37134 r37157 147 147 148 148 mkinput $offset $rawfile 149 exec mkcmf - no-noise -append $rawfile $cmffile -date $myDATE -time $myTIME -radec $RA $DEC -type $1 -imageID $ID -sourceID 0149 exec mkcmf -photcode SIMTEST.r.Chip -no-noise -append $rawfile $cmffile -date $myDATE -time $myTIME -radec $RA $DEC -type $1 -imageID $ID -sourceID 0 150 150 151 151 # keywords which are read from image extension … … 275 275 276 276 mkinput $offset $rawfile 277 exec mkcmf $rawfile $cmffile -extname SkyChip -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 -imageID $ID -sourceID 1277 exec mkcmf -photcode SIMTEST.r.SkyChip $rawfile $cmffile -extname SkyChip -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1 -imageID $ID -sourceID 1 278 278 279 279 # add some required header keywords: … … 351 351 dbinsert stackRun (stack_id, skycell_id, filter, software_ver) values ($stkID, "skycell.0000.000", "g.00000", "testsoft") 352 352 353 $TIMEFORMAT = mjd 354 $TIMEREF = 2001/01/01,00:00:00 355 356 $mjdsum = 0.0 357 $Nstk = 0 358 353 359 for i 0 $imagedata:n 354 360 echo $imagedata:$i … … 362 368 insert.exp $expID $expfile 363 369 dbinsert stackInputSkyfile (stack_id, warp_id) values ($stkID, $expID) 364 end 365 dbinsert stackSumSkyfile (stack_id) values ($stkID) 366 dbinsert skycalRun (skycal_id, stack_id) values ($stkID, $stkID) 370 371 echo ctimes -abs $myDATE,$myTIME -var mjd 372 ctimes -abs $myDATE,$myTIME -var mjd 373 $mjdsum += $mjd 374 $Nstk ++ 375 end 376 $mjd = $mjdsum / $Nstk 377 378 dbinsert stackSumSkyfile (stack_id, mjd_obs) values ($stkID, $mjd) 379 dbinsert skycalRun (sky_id, skycal_id, stack_id) values ($stkID, $stkID, $stkID) 367 380 dbinsert skycalResult (skycal_id, path_base) values ($stkID, "$stkfile") 368 381
Note:
See TracChangeset
for help on using the changeset viewer.
