Changeset 36822
- Timestamp:
- Jun 6, 2014, 4:30:00 PM (12 years ago)
- File:
-
- 1 edited
-
tags/ipp-20130712/pstamp/scripts/psmkreq (modified) (6 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130712/pstamp/scripts/psmkreq
- Property svn:mergeinfo changed
/trunk/pstamp/scripts/psmkreq merged: 36182,36250,36821
r36181 r36822 29 29 my ($ra, $dec, $x, $y, $list, $output, $req_name, $req_name_base); 30 30 31 my ($image, $mask, $variance, $jpeg, $cmf, $psf, $backmdl, $inverse );31 my ($image, $mask, $variance, $jpeg, $cmf, $psf, $backmdl, $inverse, $restorebackground); 32 32 my ($convolved, $unconvolved, $uncompressed, $use_imfile_id, $no_wait); 33 33 … … 39 39 my $job_type = 'stamp'; 40 40 my $req_type = 'bycoord'; 41 my $stage = ' chip';41 my $stage = 'stack'; 42 42 my $option_mask; 43 43 my $width = $default_size; 44 44 my $height = $default_size; 45 my $whole_file = 0; 45 46 my $project = 'gpc1'; 46 47 my $coord_mask; … … 81 82 'width=i' => \$width, 82 83 'height=i' => \$height, 84 'whole-file' => \$whole_file, 83 85 'pixcenter' => \$pixcenter, 84 86 'arcseconds' => \$arcseconds, … … 118 120 'convolved' => \$convolved, 119 121 'uncompressed' => \$uncompressed, 122 'restorebackground' => \$restorebackground, 120 123 'use_imfile_id' => \$use_imfile_id, 121 124 'do_not_wait' => \$no_wait, … … 141 144 pod2usage( -msg => "--ra --dec --x --y are not used with --list", -exitval =>1 ) 142 145 if defined $x or defined $y; 143 } elsif (!$pixcenter) {144 pod2usage( -msg => "Required options for stamp requests: --ra and --dec or --list", -exitval =>1 )145 unless (defined $ra and defined $dec);146 # to simplify code we just use $x and $y from here147 $x = $ra;148 $y = $dec;149 146 } else { 150 pod2usage( -msg => "Required options for stamp requests: --x and --y or --list", -exitval =>1 ) 151 unless (defined $x and defined $y); 147 if ($whole_file) { 148 $pixcenter = 1; 149 $x = 0; 150 $y = 0; 151 $width = 0; 152 $height = 0; 153 } 154 if (!$pixcenter) { 155 pod2usage( -msg => "Required options for stamp requests: --ra and --dec or --list", -exitval =>1 ) 156 unless (defined $ra and defined $dec); 157 # to simplify code we just use $x and $y from here 158 $x = $ra; 159 $y = $dec; 160 } else { 161 pod2usage( -msg => "Required options for stamp requests: --x and --y or --list", -exitval =>1 ) 162 unless (defined $x and defined $y); 163 } 152 164 } 153 165 } else { … … 209 221 $option_mask |= $PSTAMP_SELECT_PSF if $psf; 210 222 $option_mask |= $PSTAMP_SELECT_BACKMDL if $backmdl; 211 $option_mask |= $PSTAMP_SELECT_UNCOMPRESSED if $uncompressed;223 $option_mask |= $PSTAMP_SELECT_UNCOMPRESSED if $uncompressed; 212 224 $option_mask |= $PSTAMP_SELECT_UNCONV if $unconvolved; 213 225 $option_mask |= $PSTAMP_USE_IMFILE_ID if $use_imfile_id; 214 226 $option_mask |= $PSTAMP_SELECT_INVERSE if $inverse; 227 $option_mask |= $PSTAMP_RESTORE_BACKGROUND if $restorebackground; 215 228 } 216 229 $option_mask |= $PSTAMP_NO_WAIT_FOR_UPDATE if $no_wait; - Property svn:mergeinfo changed
Note:
See TracChangeset
for help on using the changeset viewer.
