Changeset 41539
- Timestamp:
- Apr 3, 2021, 2:32:31 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_overlap.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_overlap.pl
r32379 r41539 81 81 } 82 82 83 # Where do we get the astrometry source from? 83 # Where do we get the astrometry source from? Do we limit by astrometry error? 84 84 my $astromSource; # The astrometry source filerule (eg, PSASTRO.OUTPUT, PSASTRO.OUTPUT.MEF) 85 85 my $astromAccept; # Accept the astrometry unconditionally? 86 my $maxCerror = 0.0; 86 87 { 87 88 my $command = "$ppConfigDump -camera $camera -dump-recipe PSWARP -"; … … 96 97 $astromSource = metadataLookupStr($metadata, 'ASTROM.SOURCE'); 97 98 $astromAccept = metadataLookupBool($metadata, 'ASTROM.ACCEPT'); 99 $maxCerror = metadataLookupF32($metadata, 'MAX.CERROR'); 98 100 } 99 101 … … 205 207 { 206 208 my $filename = shift; # Filename on which to run dvoImageOverlaps 207 my $tess_dir_abs = shift; # Tessellation directory209 my $tess_dir_abs = shift; # Tessellation directory 208 210 my $accept = shift; # Do we use the -accept-astrom flag? 211 my $maxCerror = shift; # maximum allowed astrometric error 209 212 210 213 my $command = "$dvoImageOverlaps -D CATDIR $tess_dir_abs " . $filename; 211 214 $command .= ' -accept-astrom' if $accept; 215 $command .= ' -D OVERLAPS_MAX_CERROR $maxCerror'; # skip poorly calibrated images from warps 212 216 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 213 217 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
