Changeset 42388
- Timestamp:
- Feb 8, 2023, 12:15:30 PM (3 years ago)
- Location:
- trunk/ippScripts
- Files:
-
- 4 edited
- 1 copied
-
Build.PL (modified) (1 diff)
-
scripts/camera_exp.pl (modified) (4 diffs)
-
scripts/fpcamera_exp.pl (copied) (copied from branches/eam_branches/ipp-20220316/ippScripts/scripts/fpcamera_exp.pl )
-
scripts/rawcheck.pl (modified) (1 prop)
-
scripts/warp_overlap.pl (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/Build.PL
r42105 r42388 155 155 scripts/sc_transfer_tool.pl 156 156 scripts/remote_md5sum.pl 157 scripts/fpcamera_exp.pl 157 158 )], 158 159 dist_abstract => 'Scripts for running the Pan-STARRS IPP', -
trunk/ippScripts/scripts/camera_exp.pl
r42229 r42388 133 133 } 134 134 135 ## option to skip the astrometry analysis (but still do the jpegs) 136 ## if not defined in the config file, default is to not skip 137 my $skip_astrom = 0; 138 $skip_astrom = metadataLookupBool($recipeData, 'PSASTRO.SKIP.ASTROMETRY'); 139 print "skip astrom: $skip_astrom\n"; 140 if ($skip_astrom) { print "skip the astrom\n"; } 141 135 142 my $cmdflags; 136 143 … … 183 190 ($expFWHM) = $cmdflags =~ /-fwhm_major (\d+)/; 184 191 185 if ($expFWHM > $maxFWHM) { 192 if (not defined $expFWHM) { 193 print "FWHM not measured (no photometry?), Setting quality to 4077\n"; 194 $cmdflags .= " -quality 4077 "; # This corresponds to PSASTRO_ERR_DATA 195 $skip_astrom = 1; 196 } elsif ($expFWHM > $maxFWHM) { 186 197 print "Setting quality to 4007 due to large FWHM: exposure: $expFWHM maximum: $maxFWHM\n"; 187 198 $cmdflags .= " -quality 4007 "; # This corresponds to PSASTRO_ERR_DATA 188 $no_op = 1;189 }190 }191 }192 199 # $no_op = 1; 200 $skip_astrom = 1; # skip astrometry, but make the jpegs 201 } 202 } 203 } 193 204 194 205 my $do_masks; # Produce masks? … … 297 308 my $jpeg1 = prepare_output("PPIMAGE.JPEG1", $outroot, undef, 1) if $do_jpegs; 298 309 my $jpeg2 = prepare_output("PPIMAGE.JPEG2", $outroot, undef, 1) if $do_jpegs; 299 my $fpaObjects = prepare_output("PSASTRO.OUTPUT", $outroot, undef, 1) if !$bkg_only;310 my $fpaObjects = prepare_output("PSASTRO.OUTPUT", $outroot, undef, 1) if (!$bkg_only && !$skip_astrom); 300 311 301 312 my $configuration; … … 342 353 } 343 354 344 if (!$bkg_only ) {355 if (!$bkg_only && !$skip_astrom) { 345 356 # run psastro on the chipObjects, producing fpaObjects 346 357 my $command; -
trunk/ippScripts/scripts/rawcheck.pl
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20220316/ippScripts/scripts/rawcheck.pl (added) merged: 42362
- Property svn:mergeinfo changed
-
trunk/ippScripts/scripts/warp_overlap.pl
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20220316/ippScripts/scripts/warp_overlap.pl (added) merged: 42362
- Property svn:mergeinfo changed
Note:
See TracChangeset
for help on using the changeset viewer.
