Changeset 36680 for branches/eam_branches/ps2-tc3-20130727/ippTools/share
- Timestamp:
- Apr 21, 2014, 5:42:34 AM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 30 edited
- 29 copied
-
. (modified) (1 prop)
-
ippTools/share (modified) (1 prop)
-
ippTools/share/Makefile.am (modified) (6 diffs)
-
ippTools/share/camtool_find_pendingimfile.sql (modified) (1 prop)
-
ippTools/share/camtool_pendingexp.sql (modified) (1 diff)
-
ippTools/share/chiptool_pendingcleanuprun.sql (modified) (1 diff)
-
ippTools/share/chiptool_setimfiletoupdate.sql (modified) (1 prop)
-
ippTools/share/detselect_show.sql (copied) (copied from trunk/ippTools/share/detselect_show.sql )
-
ippTools/share/disttool_definebyquery_SSdiff.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_camera.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_chip.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_chip_bg.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_diff.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_fake.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_ff.sql (copied) (copied from trunk/ippTools/share/disttool_definebyquery_ff.sql )
-
ippTools/share/disttool_definebyquery_raw.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_sky.sql (modified) (2 diffs)
-
ippTools/share/disttool_definebyquery_sky_singlefilter.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_skycal.sql (copied) (copied from trunk/ippTools/share/disttool_definebyquery_skycal.sql )
-
ippTools/share/disttool_definebyquery_stack.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_warp.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_warp_bg.sql (modified) (1 diff)
-
ippTools/share/disttool_pending_ff.sql (copied) (copied from trunk/ippTools/share/disttool_pending_ff.sql )
-
ippTools/share/disttool_pending_skycal.sql (copied) (copied from trunk/ippTools/share/disttool_pending_skycal.sql )
-
ippTools/share/disttool_toadvance.sql (modified) (2 diffs)
-
ippTools/share/fftool_definebyquery.sql (copied) (copied from trunk/ippTools/share/fftool_definebyquery.sql )
-
ippTools/share/fftool_definebyquery_select_warps.sql (copied) (copied from trunk/ippTools/share/fftool_definebyquery_select_warps.sql )
-
ippTools/share/fftool_export_input.sql (copied) (copied from trunk/ippTools/share/fftool_export_input.sql )
-
ippTools/share/fftool_export_result.sql (copied) (copied from trunk/ippTools/share/fftool_export_result.sql )
-
ippTools/share/fftool_export_run.sql (copied) (copied from trunk/ippTools/share/fftool_export_run.sql )
-
ippTools/share/fftool_export_summary.sql (copied) (copied from trunk/ippTools/share/fftool_export_summary.sql )
-
ippTools/share/fftool_result.sql (copied) (copied from trunk/ippTools/share/fftool_result.sql )
-
ippTools/share/fftool_revert.sql (copied) (copied from trunk/ippTools/share/fftool_revert.sql )
-
ippTools/share/fftool_revertsummary.sql (copied) (copied from trunk/ippTools/share/fftool_revertsummary.sql )
-
ippTools/share/fftool_summary.sql (copied) (copied from trunk/ippTools/share/fftool_summary.sql )
-
ippTools/share/fftool_summaryinputs.sql (copied) (copied from trunk/ippTools/share/fftool_summaryinputs.sql )
-
ippTools/share/fftool_toadvance.sql (copied) (copied from trunk/ippTools/share/fftool_toadvance.sql )
-
ippTools/share/fftool_todo.sql (copied) (copied from trunk/ippTools/share/fftool_todo.sql )
-
ippTools/share/pstamptool_pendingdependent.sql (modified) (1 diff)
-
ippTools/share/pxadmin_create_tables.sql (modified) (3 diffs, 1 prop)
-
ippTools/share/pxadmin_drop_tables.sql (modified) (1 diff)
-
ippTools/share/releasetool_listrelexp.sql (modified) (2 diffs)
-
ippTools/share/releasetool_listrelstack.sql (modified) (2 diffs)
-
ippTools/share/releasetool_stacksummary.sql (copied) (copied from trunk/ippTools/share/releasetool_stacksummary.sql )
-
ippTools/share/releasetool_summary.sql (copied) (copied from trunk/ippTools/share/releasetool_summary.sql )
-
ippTools/share/remotetool_definebyquery_cam.sql (copied) (copied from trunk/ippTools/share/remotetool_definebyquery_cam.sql )
-
ippTools/share/remotetool_definebyquery_chip.sql (copied) (copied from trunk/ippTools/share/remotetool_definebyquery_chip.sql )
-
ippTools/share/remotetool_definebyquery_stack.sql (copied) (copied from trunk/ippTools/share/remotetool_definebyquery_stack.sql )
-
ippTools/share/remotetool_definebyquery_warp.sql (copied) (copied from trunk/ippTools/share/remotetool_definebyquery_warp.sql )
-
ippTools/share/remotetool_updatepoll.sql (copied) (copied from trunk/ippTools/share/remotetool_updatepoll.sql )
-
ippTools/share/stacktool_addsummary.sql (modified) (1 diff)
-
ippTools/share/stacktool_revertsummary.sql (copied) (copied from trunk/ippTools/share/stacktool_revertsummary.sql )
-
ippTools/share/stacktool_summary.sql (copied) (copied from trunk/ippTools/share/stacktool_summary.sql )
-
ippTools/share/staticskytool_export_skycalresult.sql (copied) (copied from trunk/ippTools/share/staticskytool_export_skycalresult.sql )
-
ippTools/share/staticskytool_export_skycalrun.sql (copied) (copied from trunk/ippTools/share/staticskytool_export_skycalrun.sql )
-
ippTools/share/staticskytool_skycalresult.sql (modified) (1 diff)
-
ippTools/share/warptool_scmap.sql (modified) (1 diff)
-
ippTools/share/warptool_towarped.sql (modified) (1 prop)
-
ippTools/share/warptool_warped.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/ippTools/share
- Property svn:mergeinfo deleted
-
branches/eam_branches/ps2-tc3-20130727/ippTools/share/Makefile.am
r35799 r36680 105 105 detselect_search.sql \ 106 106 detselect_select.sql \ 107 detselect_show.sql \ 107 108 dettool_addprocessedexp.sql \ 108 109 dettool_childlessrun.sql \ … … 189 190 disttool_definebyquery_diff.sql \ 190 191 disttool_definebyquery_fake.sql \ 192 disttool_definebyquery_ff.sql \ 191 193 disttool_definebyquery_raw.sql \ 192 194 disttool_definebyquery_raw_no_magic.sql \ 193 195 disttool_definebyquery_sky.sql \ 194 196 disttool_definebyquery_sky_singlefilter.sql \ 197 disttool_definebyquery_skycal.sql \ 195 198 disttool_definebyquery_stack.sql \ 196 199 disttool_definebyquery_warp.sql \ … … 205 208 disttool_pending_diff.sql \ 206 209 disttool_pending_fake.sql \ 210 disttool_pending_ff.sql \ 207 211 disttool_pending_raw.sql \ 208 212 disttool_pending_sky.sql \ 213 disttool_pending_skycal.sql \ 209 214 disttool_pending_stack.sql \ 210 215 disttool_pending_warp.sql \ … … 398 403 stacktool_tosummary.sql \ 399 404 stacktool_addsummary.sql \ 405 stacktool_revertsummary.sql \ 406 stacktool_summary.sql \ 400 407 staticskytool_definebyquery_select.sql \ 401 408 staticskytool_definebyquery_select_by_dg.sql \ … … 408 415 staticskytool_export_input.sql \ 409 416 staticskytool_export_result.sql \ 417 staticskytool_export_skycalrun.sql \ 418 staticskytool_export_skycalresult.sql \ 410 419 staticskytool_inputs.sql \ 411 420 staticskytool_todo.sql \ … … 476 485 releasetool_definerelstack_with_skycal.sql \ 477 486 releasetool_listrelstack.sql \ 487 releasetool_summary.sql \ 478 488 releasetool_definerelgroup_select_lap.sql \ 479 489 releasetool_definerelgroup_select_data_group.sql \ 480 490 releasetool_definerelgroup_select_exp_data_group.sql \ 481 491 releasetool_definerelgroup_select_exp_lap.sql \ 482 releasetool_pendingrelgroup.sql 483 492 releasetool_stacksummary.sql \ 493 releasetool_pendingrelgroup.sql \ 494 fftool_definebyquery.sql \ 495 fftool_definebyquery_select_warps.sql \ 496 fftool_result.sql \ 497 fftool_revert.sql \ 498 fftool_revertsummary.sql \ 499 fftool_summary.sql \ 500 fftool_todo.sql \ 501 fftool_toadvance.sql \ 502 fftool_export_run.sql \ 503 fftool_export_input.sql \ 504 fftool_export_result.sql \ 505 fftool_export_summary.sql \ 506 remotetool_definebyquery_chip.sql \ 507 remotetool_definebyquery_cam.sql \ 508 remotetool_definebyquery_warp.sql \ 509 remotetool_definebyquery_stack.sql \ 510 remotetool_updatepoll.sql -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/camtool_find_pendingimfile.sql
- Property svn:mergeinfo deleted
-
branches/eam_branches/ps2-tc3-20130727/ippTools/share/camtool_pendingexp.sql
r28339 r36680 23 23 WHERE 24 24 chipRun.state = 'full' 25 AND ((camRun.state = 'new' AND camProcessedExp.cam_id IS NULL) OR camRun.state = 'update') 25 AND ((camRun.state = 'new' AND camProcessedExp.cam_id IS NULL) OR 26 (camRun.state = 'update' and camProcessedExp.fault = 0 and camProcessedExp.quality = 0)) 26 27 AND camMask.label IS NULL 27 28 AND (Label.active OR Label.active IS NULL) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/chiptool_pendingcleanuprun.sql
r34766 r36680 4 4 rawExp.exp_tag, 5 5 chipRun.state, 6 chipRun.workdir 6 chipRun.workdir, 7 chipRun.label, 8 IFNULL(Label.priority, 10000) AS priority 7 9 FROM chipRun 8 10 JOIN rawExp 9 11 USING (exp_id) 12 LEFT JOIN Label ON chipRun.label = Label.label 10 13 WHERE 11 14 (chipRun.state = 'goto_cleaned' OR chipRun.state = 'goto_scrubbed' OR chipRun.state = 'goto_purged') -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/chiptool_setimfiletoupdate.sql
- Property svn:mergeinfo deleted
-
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_SSdiff.sql
r26997 r36680 22 22 AND distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distRun.dist_id IS NULL25 26 24 AND ((diffRun.state = 'full') OR (distTarget.clean AND diffRun.state = 'cleaned')) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_camera.sql
r26519 r36680 21 21 WHERE distTarget.state = 'enabled' 22 22 AND rcInterest.state = 'enabled' 23 AND distRun.dist_id IS NULL -- no existing distRun24 23 AND ((camRun.state = 'full') OR (distTarget.clean AND camRun.state = 'cleaned')) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_chip.sql
r26519 r36680 20 20 WHERE distTarget.state = 'enabled' 21 21 AND rcInterest.state = 'enabled' 22 AND distRun.dist_id IS NULL -- no existing distRun23 22 AND ((chipRun.state = 'full') OR (distTarget.clean AND chipRun.state = 'cleaned')) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_chip_bg.sql
r28536 r36680 23 23 WHERE distTarget.state = 'enabled' 24 24 AND rcInterest.state = 'enabled' 25 AND distRun.dist_id IS NULL -- no existing distRun26 25 AND ((chipBackgroundRun.state = 'full') OR (distTarget.clean AND chipBackgroundRun.state = 'cleaned')) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_diff.sql
r26519 r36680 25 25 WHERE distTarget.state = 'enabled' 26 26 AND rcInterest.state = 'enabled' 27 AND distRun.dist_id IS NULL28 27 AND ((diffRun.state = 'full') OR (distTarget.clean AND diffRun.state = 'cleaned')) 29 28 -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_fake.sql
r26519 r36680 20 20 WHERE distTarget.state = 'enabled' 21 21 AND rcInterest.state = 'enabled' 22 AND distRun.dist_id IS NULL23 22 AND ((fakeRun.state = 'full') OR (distTarget.clean AND fakeRun.state = 'cleaned')) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_raw.sql
r27456 r36680 16 16 JOIN rcInterest USING(target_id) 17 17 LEFT JOIN distRun ON distRun.stage_id = exp_id AND distRun.target_id = distTarget.target_id 18 WHERE distRun.dist_id IS NULL -- no existing distRun for this exposure 19 AND distTarget.state = 'enabled' -- target and intrest are enabled 18 WHERE distTarget.state = 'enabled' -- target and intrest are enabled 20 19 AND rcInterest.state = 'enabled' 21 20 AND magicDSRun.state = 'full' -- destreaked files are available -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_sky.sql
r32696 r36680 3 3 staticskyRun.sky_id AS stage_id, 4 4 CAST(0 AS SIGNED) AS magicked, 5 -- run tag in the form 'sky.$skycell_id.$s tack_id'5 -- run tag in the form 'sky.$skycell_id.$sky_id' 6 6 CONCAT_WS('.', 'sky', stackRun.skycell_id, convert(staticskyRun.sky_id, CHAR)) as run_tag, 7 7 staticskyRun.label, … … 23 23 AND rcInterest.state = 'enabled' 24 24 AND distTarget.filter = 'multi' 25 AND distRun.dist_id IS NULL26 25 AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned')) 27 26 -- we shouldn't need to check fault. If faulted it shouldn't be full -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_sky_singlefilter.sql
r32696 r36680 22 22 WHERE distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distRun.dist_id IS NULL25 24 AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned')) 26 25 AND stackRun.filter = distTarget.filter -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_stack.sql
r26519 r36680 21 21 WHERE distTarget.state = 'enabled' 22 22 AND rcInterest.state = 'enabled' 23 AND distRun.dist_id IS NULL24 23 AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned')) 25 24 -- we shouldn't need to check fault. If faulted it shouldn't be full -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_warp.sql
r26519 r36680 22 22 WHERE distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distRun.dist_id IS NULL25 24 AND ((warpRun.state = 'full') OR (distTarget.clean AND warpRun.state = 'cleaned')) 26 25 -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_definebyquery_warp_bg.sql
r28536 r36680 24 24 WHERE distTarget.state = 'enabled' 25 25 AND rcInterest.state = 'enabled' 26 AND distRun.dist_id IS NULL27 26 AND ((warpBackgroundRun.state = 'full') OR (distTarget.clean AND warpBackgroundRun.state = 'cleaned')) 28 27 -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/disttool_toadvance.sql
r32710 r36680 262 262 AND distComponent.fault = 0 263 263 UNION 264 -- skycal stage 265 -- NOTE this assumes that there is only one component per skycalRun 266 -- (one skycell) 267 SELECT 268 distRun.dist_id, 269 stage, 270 stage_id, 271 outroot, 272 label, 273 clean 274 FROM distRun 275 JOIN skycalResult on stage_id = skycal_id 276 LEFT JOIN distComponent 277 ON distRun.dist_id = distComponent.dist_id 278 WHERE 279 distRun.state = 'new' 280 AND distRun.fault = 0 281 AND distRun.stage = 'skycal' 282 AND distComponent.component IS NOT NULL 283 AND distComponent.fault = 0 284 UNION 264 285 -- SSdiff stage 265 286 SELECT … … 287 308 COUNT(diffSkyfile.skycell_id) = COUNT(distComponent.component) 288 309 AND SUM(distComponent.fault) = 0 310 UNION 311 -- ff stage 312 SELECT 313 distRun.dist_id, 314 stage, 315 stage_id, 316 outroot, 317 distRun.label, 318 clean 319 -- ,COUNT(warp_id) 320 -- ,COUNT(ff_id) 321 FROM distRun 322 JOIN fullForceRun ON stage_id = ff_id 323 JOIN fullForceResult USING(ff_id) 324 JOIN skycalRun USING(skycal_id) 325 JOIN stackRun USING(stack_id) 326 LEFT JOIN distComponent 327 ON distRun.dist_id = distComponent.dist_id 328 AND distComponent.component = CONCAT_WS('.', warp_id, stackRun.skycell_id) 329 WHERE 330 distRun.state = 'new' 331 AND distRun.fault = 0 332 AND distRun.stage = 'ff' 333 GROUP BY 334 distRun.dist_id, 335 ff_id 336 HAVING 337 -- number of dist components is the number of warps plus 1 (for the summary component) 338 COUNT(fullForceResult.ff_id) = COUNT(distComponent.component) 339 AND SUM(distComponent.fault) = 0 289 340 ) as Foo -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/pstamptool_pendingdependent.sql
r30853 r36680 1 1 SELECT DISTINCT 2 2 pstampDependent.*, 3 pstampRequest.label, 3 4 concat( pstampDependent.outdir, '/checkdep.', dep_id, '.log') as logfile, 4 5 IFNULL(Label.priority, 10000) AS priority -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/pxadmin_create_tables.sql
- Property svn:mergeinfo deleted
r35838 r36680 2172 2172 dataRelease INT, -- PSPS dataRelease 2173 2173 priority INT, 2174 dvodb VARCHAR(255), 2175 ubercal_file VARCHAR(255), 2174 2176 PRIMARY KEY(rel_id), 2175 2177 UNIQUE KEY(surveyID, release_name), … … 2186 2188 chip_id BIGINT, -- links to the runs that supplied the data 2187 2189 cam_id BIGINT, -- for this release 2188 group_id INT, -- id of relGroup that this exposure is contained in2190 group_id INT, -- id of relGroup that this exposure is contained in 2189 2191 state VARCHAR(16), -- released, pending, archive, drop 2190 flags INT UNSIGNED, -- flags for relphot, relastro, ??2192 flags INT UNSIGNED, -- flags for relphot, relastro, ?? 2191 2193 zpt_obs FLOAT, -- calibrated zero point for this release of 2192 2194 zpt_stdev FLOAT, -- this exposure 2195 mcal FLOAT, -- this exposure 2196 ubercal_dist INT, -- ubercal distance (from dvo calibration) 2193 2197 path_base VARCHAR(255), -- path_base of any supporting files for this 2194 2198 -- release of this exposure. … … 2303 2307 ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 2304 2308 2309 CREATE TABLE fullForceRun ( 2310 ff_id BIGINT NOT NULL AUTO_INCREMENT, 2311 skycal_id BIGINT, 2312 sources_path_base VARCHAR(255), 2313 state VARCHAR(64), 2314 workdir VARCHAR(255), 2315 label VARCHAR(64), 2316 data_group VARCHAR(64), 2317 dist_group VARCHAR(64), 2318 note VARCHAR(255), 2319 reduction VARCHAR(64), 2320 registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered 2321 PRIMARY KEY(ff_id), 2322 KEY(state), 2323 KEY(label), 2324 KEY(data_group), 2325 KEY(skycal_id), 2326 FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id) 2327 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2328 2329 CREATE TABLE fullForceInput ( 2330 ff_id BIGINT, 2331 warp_id BIGINT, 2332 PRIMARY KEY(ff_id, warp_id), 2333 FOREIGN KEY(ff_id) REFERENCES fullForceRun(ff_id), 2334 FOREIGN KEY(warp_id) REFERENCES warpRun(warp_id) 2335 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2336 2337 CREATE TABLE fullForceResult ( 2338 ff_id BIGINT, 2339 warp_id BIGINT, 2340 path_base VARCHAR(255) NOT NULL, 2341 dtime_script FLOAT, 2342 quality SMALLINT NOT NULL, 2343 hostname VARCHAR(64) NOT NULL, 2344 software_ver VARCHAR(16), 2345 fault SMALLINT NOT NULL, 2346 PRIMARY KEY(ff_id, warp_id), 2347 KEY(fault), 2348 KEY(quality), 2349 FOREIGN KEY(ff_id) REFERENCES fullForceRun(ff_id), 2350 FOREIGN KEY(warp_id) REFERENCES warpRun(warp_id) 2351 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2352 2353 CREATE TABLE fullForceSummary ( 2354 ff_id BIGINT, 2355 path_base VARCHAR(255) NOT NULL, 2356 dtime_script FLOAT, 2357 quality SMALLINT NOT NULL, 2358 hostname VARCHAR(64) NOT NULL, 2359 software_ver VARCHAR(16), 2360 fault SMALLINT NOT NULL, 2361 PRIMARY KEY(ff_id), 2362 KEY(fault), 2363 KEY(quality), 2364 FOREIGN KEY(ff_id) REFERENCES fullForceRun(ff_id) 2365 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2366 2367 CREATE TABLE remoteRun ( 2368 remote_id BIGINT NOT NULL AUTO_INCREMENT, 2369 state VARCHAR(64) NOT NULL, 2370 stage VARCHAR(64) NOT NULL, 2371 label VARCHAR(64) NOT NULL, 2372 path_base VARCHAR(255) NOT NULL, 2373 job_id BIGINT, 2374 last_poll TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 2375 fault SMALLINT NOT NULL, 2376 PRIMARY KEY (remote_id), 2377 KEY (state), 2378 KEY (stage), 2379 KEY (label), 2380 KEY (job_id) 2381 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2382 2383 CREATE TABLE remoteComponent ( 2384 remote_id BIGINT, 2385 stage_id BIGINT, 2386 KEY (stage_id), 2387 FOREIGN KEY (remote_id) REFERENCES remoteRun(remote_id) 2388 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2389 2305 2390 -- These comment lines are here to avoid an empty query error. 2306 2391 -- Another way to avoid that problem is to omit the semicolon above but I think that is untidy. -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/pxadmin_drop_tables.sql
r35838 r36680 118 118 DROP TABLE IF EXISTS mergedvodbProcessed; 119 119 DROP TABLE IF EXISTS mergedvodbRun; 120 DROP TABLE IF EXISTS dqstatsContent; 120 121 DROP TABLE IF EXISTS dqstatsRun; 121 DROP TABLE IF EXISTS dqstatsContent; 122 DROP TABLE IF EXISTS fullForceRun; 123 DROP TABLE IF EXISTS fullForceInput; 124 DROP TABLE IF EXISTS fullForceResult; 125 DROP TABLE IF EXISTS fullForceSummary; 126 122 127 123 128 SET FOREIGN_KEY_CHECKS=1 -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/releasetool_listrelexp.sql
r35397 r36680 7 7 ippRelease.rel_id, 8 8 ippRelease.priority, 9 ippRelease.dvodb, 10 ippRelease.ubercal_file, 9 11 survey.surveyName, 10 12 rawExp.exp_name, … … 12 14 relExp.zpt_obs, 13 15 relExp.zpt_stdev, 16 relExp.mcal, 17 relExp.ubercal_dist, 14 18 relExp.path_base, 15 19 relExp.registered, -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/releasetool_listrelstack.sql
r35461 r36680 10 10 skycalResult.path_base AS skycal_path_base, 11 11 skycalRun.data_group AS skycal_data_group, 12 staticskyResult.sky_id AS sky_id, 13 staticskyResult.path_base AS staticsky_path_base, 12 14 'GPC1' AS camera 13 15 FROM relStack … … 18 20 LEFT JOIN skycalRun USING(skycal_id) 19 21 LEFT JOIN skycalResult USING(skycal_id) 22 LEFT JOIN staticskyResult USING(sky_id) -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/stacktool_addsummary.sql
r28375 r36680 1 1 INSERT INTO stackSummary (sass_id,projection_cell,path_base) VALUES ( 2 %lld, -- warp_id2 %lld, -- sass_id 3 3 '%s', -- projection_cell 4 4 '%s' -- path_base -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/staticskytool_skycalresult.sql
r34975 r36680 2 2 skycalResult.*, 3 3 skycalRun.stack_id, 4 skycalRun.workdir, 4 5 stackRun.filter, 5 6 skycalRun.state, 6 7 skycalRun.label, 7 8 skycalRun.data_group, 9 skycalRun.dist_group, 8 10 skycalRun.sky_id, 9 11 skycell.* -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/warptool_scmap.sql
r35150 r36680 8 8 chipProcessedImfile.chip_id, 9 9 chipRun.state, 10 chipRun.data_group as chip_data_group, 10 11 chipProcessedImfile.data_state, 11 12 chipProcessedImfile.fault AS chip_fault, -
branches/eam_branches/ps2-tc3-20130727/ippTools/share/warptool_towarped.sql
- Property svn:mergeinfo deleted
-
branches/eam_branches/ps2-tc3-20130727/ippTools/share/warptool_warped.sql
r28627 r36680 4 4 warpRun.workdir, 5 5 warpRun.label, 6 warpRun.data_group, 6 7 warpImfile.warp_skyfile_id, 7 8 rawExp.exp_id, … … 13 14 rawExp.decl, 14 15 rawExp.exp_time, 16 camRun.cam_id, 15 17 magicDSRun.state AS dsRun_state, 16 18 IFNULL(magicDSRun.magic_ds_id, 0) AS magic_ds_id
Note:
See TracChangeset
for help on using the changeset viewer.
