Changeset 35546 for branches/eam_branches/ipp-20130419/ippTools/share
- Timestamp:
- May 9, 2013, 11:26:59 AM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130419/ippTools/share
- Files:
-
- 10 edited
-
. (modified) (1 prop)
-
camtool_find_pendingimfile.sql (modified) (1 prop)
-
chiptool_pendingcleanupimfile.sql (modified) (1 diff)
-
chiptool_setimfiletoupdate.sql (modified) (1 prop)
-
pxadmin_create_tables.sql (modified) (4 diffs, 1 prop)
-
releasetool_definerelstack.sql (modified) (2 diffs)
-
releasetool_definerelstack_with_skycal.sql (modified) (1 diff)
-
releasetool_listrelstack.sql (modified) (1 diff)
-
warptool_pendingcleanupskyfile.sql (modified) (1 diff)
-
warptool_towarped.sql (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/ippTools/share
- Property svn:mergeinfo changed
/trunk/ippTools/share merged: 35429,35453,35461,35471
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130419/ippTools/share/camtool_find_pendingimfile.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20130419/ippTools/share/chiptool_pendingcleanupimfile.sql
r33171 r35546 13 13 USING(chip_id) 14 14 WHERE 15 ((chipRun.state = 'goto_cleaned' AND (chipProcessedImfile.data_state = 'full' 16 OR chipProcessedImfile.data_state = 'update') AND chipProcessedImfile.quality = 0) 15 ((chipRun.state = 'goto_cleaned' 16 AND (chipProcessedImfile.data_state = 'full' 17 OR chipProcessedImfile.data_state = 'update' 18 OR chipProcessedImfile.data_state = 'error_cleaned') 19 AND chipProcessedImfile.quality = 0) 17 20 OR 18 21 (chipRun.state = 'goto_scrubbed' AND chipProcessedImfile.data_state != 'scrubbed') -
branches/eam_branches/ipp-20130419/ippTools/share/chiptool_setimfiletoupdate.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20130419/ippTools/share/pxadmin_create_tables.sql
- Property svn:mergeinfo changed
/trunk/ippTools/share/pxadmin_create_tables.sql merged: 35453,35471
r35436 r35546 1 CREATE TABLE dbversion (1 eREATE TABLE dbversion ( 2 2 schema_version VARCHAR(64), 3 3 updated TIMESTAMP DEFAULT CURRENT_TIMESTAMP … … 2172 2172 priority INT, 2173 2173 PRIMARY KEY(rel_id), 2174 UNIQUE KEY(surveyID, release_name), 2174 2175 KEY(release_name), 2175 2176 KEY(release_state), … … 2196 2197 PRIMARY KEY (relexp_id), 2197 2198 FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id), 2199 UNIQUE KEY(rel_id, exp_id), 2198 2200 KEY (state), 2199 2201 KEY (fault), … … 2224 2226 time_stamp DATETIME, 2225 2227 PRIMARY KEY (relstack_id), 2228 UNIQUE KEY (rel_id, tess_id, skycell_id, filter, stack_type, mjd_obs), 2226 2229 KEY (tess_id, skycell_id), 2227 KEY (rel_id, tess_id, skycell_id, filter, mjd_obs),2228 2230 KEY (stack_type), 2229 2231 KEY (mjd_obs), - Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130419/ippTools/share/releasetool_definerelstack.sql
r35196 r35546 6 6 stackRun.tess_id, 7 7 stackRun.filter, 8 0 ASmjd_obs,8 stackSumSkyfile.mjd_obs, 9 9 0 AS zpt_obs, 10 10 0 AS zpt_stdev … … 12 12 FROM ippRelease 13 13 JOIN stackRun 14 LEFT JOIN relStack AS previousRelStack USING(rel_id, tess_id, skycell_id, filter) 15 14 JOIN stackSumSkyfile using(stack_id) 15 LEFT JOIN relStack AS previousRelStack 16 ON previousRelStack.rel_id = ippRelease.rel_id 17 AND previousRelStack.tess_id = stackRun.tess_id 18 AND previousRelStack.skycell_id = stackRun.skycell_id 19 AND previousRelStack.filter = stackRun.filter 20 -- JOIN hook %s 16 21 WHERE previousRelStack.relstack_id IS NULL 22 AND stackRun.state ='full' 23 AND stackSumSkyfile.quality = 0 24 AND stackSumSkyfile.fault = 0 -
branches/eam_branches/ipp-20130419/ippTools/share/releasetool_definerelstack_with_skycal.sql
r35196 r35546 13 13 JOIN stackRun 14 14 JOIN stackSumSkyfile USING(stack_id) 15 LEFT JOIN relStack AS previousRelStack USING(rel_id, tess_id, skycell_id, filter)16 15 JOIN skycalRun ON skycalRun.stack_id = stackRun.stack_id 17 16 JOIN skycalResult ON skycalRun.skycal_id = skycalResult.skycal_id 17 -- LEFT JOIN relStack AS previousRelStack USING(rel_id, tess_id, skycell_id, filter) 18 LEFT JOIN relStack AS previousRelStack 19 ON ippRelease.rel_id = previousRelStack.rel_id 20 AND stackRun.tess_id = previousRelStack.tess_id 21 AND stackRun.skycell_id = previousRelStack.skycell_id 22 AND stackRun.filter = previousRelStack.filter 23 -- JOIN Hook %s 18 24 19 25 WHERE previousRelStack.relstack_id IS NULL 26 AND skycalRun.state = 'full' -
branches/eam_branches/ipp-20130419/ippTools/share/releasetool_listrelstack.sql
r35397 r35546 7 7 stackRun.state AS stack_state, 8 8 stackRun.data_group AS stack_data_group, 9 skycalResult.fwhm_major, 9 10 skycalResult.path_base AS skycal_path_base, 10 11 skycalRun.data_group AS skycal_data_group, -
branches/eam_branches/ipp-20130419/ippTools/share/warptool_pendingcleanupskyfile.sql
r33171 r35546 10 10 USING(warp_id) 11 11 WHERE 12 ((warpRun.state = 'goto_cleaned' AND (warpSkyfile.data_state = 'full' 13 OR warpSkyfile.data_state = 'update') 14 AND warpSkyfile.quality = 0) 12 ((warpRun.state = 'goto_cleaned' 13 AND (warpSkyfile.data_state = 'full' 14 OR warpSkyfile.data_state = 'error_cleaned' 15 OR warpSkyfile.data_state = 'update') 16 AND warpSkyfile.quality = 0) 15 17 OR 16 18 (warpRun.state = 'goto_scrubbed' AND warpSkyfile.data_state != 'scrubbed') -
branches/eam_branches/ipp-20130419/ippTools/share/warptool_towarped.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.
