- Timestamp:
- Apr 18, 2015, 6:27:41 AM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150405
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150405
- Property svn:mergeinfo changed
/trunk (added) merged: 38086-38091,38093,38095-38097,38102,38104-38105,38112,38114-38117,38124-38126,38128,38130-38134,38137,38144-38145
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20150405/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r38077 r38152 411 411 my $release_args; 412 412 if (($req_type eq 'byexp' and $stage ne 'raw') or ($req_type eq 'byskycell' and $stage ne 'diff')) { 413 # XXX: Think hard before committing the change to use releasetool for byexp requests regardless. 414 # XXX: using releasetool by default for byexp requests will break for nightly data when 415 # the release table survey task breaks. 416 # (MOPS one off requests for last night's data) 417 # we could fall back and do the old style lookup in that case. 418 # Need to fix the duplicate camRun problem. 419 my $force_releasetool_for_byexp = 0; 420 if ($release_name or $survey or ($force_releasetool_for_byexp and ($req_type eq 'byexp'))) { 413 # we use releasetool for lookups if we get here and have a survey or release specfied and 414 # the survey is not 'bypass' 415 # That is a hook to allow sophisticated users to bypass the release mechanisms. Useful for 416 # MOPS which is interested primarily in nightly data and wants to get their data immediately 417 # without regard to timeleness of the relexp tables 418 if ($release_name or ($survey and $survey ne 'bypass')) { 421 419 $use_releasetool = 1; 422 420 if ($release_name) { … … 579 577 # $cmf_name = "PSPHOT.OUTPUT"; # this puts .fpa. in the name 580 578 $psf_name = "PPSTACK.TARGET.PSF"; 579 # XXX TODO should we filter stacks so that only one per skycell/filter combintation is returned for 580 # most requests. Currently unless a release is provided all that match are returned. 581 # Actually maybe that is the right answer. User's simply need to specify a release value 582 # if that is all that they want. 581 583 } else { 584 # this should have been caught before we get here. 582 585 die "Unknown IMG_TYPE supplied: $stage"; 583 586 } … … 615 618 $command .= " -dateobs_end $dateobs_end" if $dateobs_end; 616 619 } elsif ($req_type ne "byid") { 620 # stacks 617 621 $command .= " -mjd_obs_begin $mjd_min" if $mjd_min; 618 622 $command .= " -mjd_obs_end $mjd_max" if $mjd_max;
Note:
See TracChangeset
for help on using the changeset viewer.
