- Timestamp:
- Oct 28, 2013, 4:41:38 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/pstamp/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/pstamp/scripts
- Property svn:mergeinfo changed
/trunk/pstamp/scripts merged: 36250
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130904/pstamp/scripts/psmkreq
r36192 r36255 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, … … 141 143 pod2usage( -msg => "--ra --dec --x --y are not used with --list", -exitval =>1 ) 142 144 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 145 } else { 150 pod2usage( -msg => "Required options for stamp requests: --x and --y or --list", -exitval =>1 ) 151 unless (defined $x and defined $y); 146 if ($whole_file) { 147 $pixcenter = 1; 148 $x = 0; 149 $y = 0; 150 $width = 0; 151 $height = 0; 152 } 153 if (!$pixcenter) { 154 pod2usage( -msg => "Required options for stamp requests: --ra and --dec or --list", -exitval =>1 ) 155 unless (defined $ra and defined $dec); 156 # to simplify code we just use $x and $y from here 157 $x = $ra; 158 $y = $dec; 159 } else { 160 pod2usage( -msg => "Required options for stamp requests: --x and --y or --list", -exitval =>1 ) 161 unless (defined $x and defined $y); 162 } 152 163 } 153 164 } else { … … 209 220 $option_mask |= $PSTAMP_SELECT_PSF if $psf; 210 221 $option_mask |= $PSTAMP_SELECT_BACKMDL if $backmdl; 211 $option_mask |= $PSTAMP_SELECT_UNCOMPRESSED if $uncompressed;222 $option_mask |= $PSTAMP_SELECT_UNCOMPRESSED if $uncompressed; 212 223 $option_mask |= $PSTAMP_SELECT_UNCONV if $unconvolved; 213 224 $option_mask |= $PSTAMP_USE_IMFILE_ID if $use_imfile_id;
Note:
See TracChangeset
for help on using the changeset viewer.
