Changeset 24507
- Timestamp:
- Jun 19, 2009, 8:47:32 AM (17 years ago)
- Location:
- branches/pap_mops
- Files:
-
- 3 edited
-
ippScripts/scripts/publish_file.pl (modified) (2 diffs)
-
ippTools/share/camtool_find_processedexp.sql (modified) (1 diff)
-
ippTools/share/difftool_skyfile.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_mops/ippScripts/scripts/publish_file.pl
r24504 r24507 107 107 next if defined $comp->{quality} and $comp->{quality} > 0; 108 108 109 (carp "Bad zpt_obs or exp_time for component" and next) if not defined $comp->{zpt_obs} or not defined $comp->{exp_time}; 110 my $zp = $comp->{zpt_obs} + 2.5 * log($comp->{exp_time}) / log(10); 111 109 112 if ($stage eq 'diff') { 110 113 my $skycell_id = $comp->{skycell_id}; … … 112 115 $files{"$skycell_id.neg"} = $ipprc->filename( "PPSUB.INVERSE.SOURCES", $path_base ) if 113 116 defined $comp->{bothways} and $comp->{bothways}; 114 $zp{"$skycell_id.pos"} = $ comp->{zpt_obs};115 $zp{"$skycell_id.neg"} = $ comp->{zpt_obs};117 $zp{"$skycell_id.pos"} = $zp; 118 $zp{"$skycell_id.neg"} = $zp if defined $comp->{bothways} and $comp->{bothways}; 116 119 } elsif ($stage eq 'camera') { 117 120 my $cam_id = $comp->{cam_id}; 118 121 $files{$cam_id} = $ipprc->filename( "PSASTRO.OUTPUT", $path_base ); 119 $zp{$cam_id} = $ comp->{zpt_obs};122 $zp{$cam_id} = $zp; 120 123 } 121 124 } -
branches/pap_mops/ippTools/share/camtool_find_processedexp.sql
r24112 r24507 5 5 rawExp.exp_tag, 6 6 rawExp.exp_name, 7 rawExp.exp_time, 7 8 rawExp.camera, 8 9 rawExp.telescope, -
branches/pap_mops/ippTools/share/difftool_skyfile.sql
r24450 r24507 10 10 camProcessedExp.zpt_lq, 11 11 camProcessedExp.zpt_uq, 12 rawExp.exp_time, 12 13 rawExp.camera, 13 14 warp1, … … 19 20 JOIN diffInputSkyfile USING(diff_id, skycell_id) 20 21 JOIN warpRun 21 ON warpRun.warp_id = diffInputSkyfile.warp1 -- NOTE: joining input only! 22 -- NOTE: joining input only! 23 -- This is so that we can get the correct zero point 24 -- XXX This needs to be more clever to handle diffs between stacks 25 ON warpRun.warp_id = diffInputSkyfile.warp1 22 26 JOIN fakeRun USING(fake_id) 23 27 JOIN camRun USING(cam_id)
Note:
See TracChangeset
for help on using the changeset viewer.
