Changeset 25712 for trunk/pstamp/scripts/pstamp_finish.pl
- Timestamp:
- Oct 1, 2009, 10:07:51 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_finish.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_finish.pl
r25540 r25712 81 81 my $fileset = $req_name; 82 82 83 84 # Here we invoke the assumption that the output for the request is placed in the85 # fileset directory directly86 # my $out_dir = "$outputDataStoreRoot/$product/$fileset";87 88 # now we are assuming that the output directory is the dirname of the request file89 # XXX: put this in the database90 91 83 print STDERR "product: $product REQ_NAME: $req_name $out_dir\n" if $verbose; 92 84 … … 216 208 217 209 # ra_deg and dec_deg are the coordinates of center of the stamp 218 # XXX: parse the stamp header to find it 219 print $tdf "0.0|0.0|"; 210 # XXX do this more cleanly 211 my (undef, $ra_deg, $dec_deg) = split " ", `echo $out_dir/$img_name | fields RA_DEG DEC_DEG`; 212 $ra_deg = 0.0 if (!$ra_deg); 213 $dec_deg = 0.0 if (!$dec_deg); 214 print $tdf "$ra_deg|$dec_deg|"; 220 215 221 216 print $tdf "$exp_info|";
Note:
See TracChangeset
for help on using the changeset viewer.
