Changeset 24507 for branches/pap_mops/ippScripts/scripts/publish_file.pl
- Timestamp:
- Jun 19, 2009, 8:47:32 AM (17 years ago)
- File:
-
- 1 edited
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 }
Note:
See TracChangeset
for help on using the changeset viewer.
