Changeset 27363
- Timestamp:
- Mar 19, 2010, 2:42:27 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/scripts/pspsSchema2xml.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/scripts/pspsSchema2xml.pl
r27345 r27363 29 29 defined $type; 30 30 31 if ($type ne "DT" && $type ne "IN" && $type ne "OB" ) {31 if ($type ne "DT" && $type ne "IN" && $type ne "OB" && $type ne "ST") { 32 32 33 33 print "Don't understand type '$type'\n"; … … 45 45 elsif ($type eq "DT") {createDetections($schemaPath);} 46 46 elsif ($type eq "OB") {createDiffs($schemaPath);} 47 elsif ($type eq "ST") {createStacks($schemaPath);} 47 48 48 49 # finish up XML … … 54 55 55 56 56 # creates detections mappings57 # creates detections tables 57 58 sub createInit { 58 59 my ($schemaPath) = @_; … … 70 71 } 71 72 72 # creates init batch mappings73 # creates init batch tables 73 74 sub createDetections { 74 75 my ($schemaPath) = @_; … … 81 82 } 82 83 83 # creates diff batch mappings84 # creates diff batch tables 84 85 sub createDiffs { 85 86 my ($schemaPath) = @_; … … 89 90 parseTable("$schemaPath/PanSTARRS.Tables.Slice.sql", "dbo.StackLowSigDelta"); 90 91 parseTable("$schemaPath/PanSTARRS.Tables.Slice.sql", "dbo.StackHighSigDelta"); 92 } 93 94 # creates stack batch tables 95 sub createStacks { 96 my ($schemaPath) = @_; 97 98 parseTable("$schemaPath/PanSTARRS.Tables.Slice.sql", "dbo.StackMeta"); 99 parseTable("$schemaPath/PanSTARRS.Tables.Slice.sql", "dbo.StackDetection"); 100 parseTable("$schemaPath/PanSTARRS.Tables.LoadMerge.sql", "dbo.SkinnyObject"); 101 parseTable("$schemaPath/PanSTARRS.Tables.Slice.sql", "dbo.StackOrphan"); 102 parseTable("$schemaPath/PanSTARRS.Tables.Common.sql", "dbo.ObjectCalColor"); 91 103 } 92 104
Note:
See TracChangeset
for help on using the changeset viewer.
