Changeset 33456
- Timestamp:
- Mar 9, 2012, 9:24:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20120216/pstamp/scripts/pstampparse.pl
- Property svn:mergeinfo set to
r32940 r33456 418 418 my $camera = $proj_hash->{camera}; 419 419 $need_magic = $proj_hash->{need_magic}; 420 # Since user can get unmagicked data "by coordinate" requests can go back in time 421 # to dredge unusable data from the "dark days"... 422 if ($req_type eq 'bycoord' and $mjd_min eq 0) { 423 # ... so unless the user sets mjd_min clamp it to 2009-04-01 424 # XXX: This value should live in the pstampProject table not be hardcoded here 425 $mjd_min = 54922; 426 } 420 427 421 428 $need_magic = 0 if $stage eq 'stack'; … … 431 438 # and this user's data store destination is allowed uncensored stamps, so accept the request 432 439 $need_magic = 0; 433 434 # Since user can get unmagicked data "by coordinate" requests can go back in time435 # to dredge unusable data from the "dark days"...436 if ($req_type eq 'bycoord' and $mjd_min eq 0) {437 # ... so unless the user sets mjd_min clamp it to 2009-04-01438 # XXX: This value should live in the pstampProject table not be hardcoded here439 $mjd_min = 54922;440 }441 440 } else { 442 441 print STDERR "Error row $rownum: User not authorized to to request uncensored stamps.\n";
Note:
See TracChangeset
for help on using the changeset viewer.
