IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2013, 12:27:21 PM (13 years ago)
Author:
bills
Message:

extract calibration information from database and insert into postage stamp headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r35625 r35901  
    176176        $need_magic, $dateobs_begin, $dateobs_end, $filter, $data_group, $option_mask, $mjd_min, $mjd_max,
    177177        0, 0,   # fwhm cuts are not applied here
    178         undef, undef, undef, $verbose);
     178        undef, 0, # no cam run information
     179        undef, undef, $verbose);
    179180
    180181    return $results;
     
    322323        0, $dateobs_begin, $dateobs_end, $filter, $data_group, $option_mask, $mjd_min, $mjd_max,
    323324        getValOrZero($row->{FWHM_MIN}), getValOrZero($row->{FWHM_MAX}),
    324         undef, $release_name, $survey,
     325        undef, 0, $release_name, $survey,
    325326        $verbose);
    326327
     
    351352    my $fwhm_max = shift;
    352353    my $selectedAstrom = shift;
     354    my $selected_cam_id = shift;
    353355    my $release_name = shift;
    354356    my $survey = shift;
     
    699701                $out->{astrom} = $selectedAstrom;
    700702                $out->{cam_path_base} = $selectedAstrom;
     703                $out->{cam_id} = $selected_cam_id if $selected_cam_id;
    701704                if ($selectedAstrom =~ /\.smf$/) {
    702705                    $out->{cam_path_base} =~ s/\.smf$//;
     
    946949                    $dateobs_begin, $dateobs_end, $filter, $data_group, $option_mask, $mjd_min, $mjd_max,
    947950                    $fwhm_min, $fwhm_max,
    948                     $chip->{astrom}, undef, undef,
     951                    $chip->{astrom}, $chip->{cam_id}, undef, undef,
    949952                    $verbose);
    950953
     
    970973                    $dateobs_begin, $dateobs_end, $filter, $data_group, $option_mask, $mjd_min, $mjd_max,
    971974                    $fwhm_min, $fwhm_max,
    972                     undef, $release_name, $survey,
     975                    undef, 0, $release_name, $survey,
    973976                    $verbose);
    974977
     
    13021305    $image->{astrom} = $astromFile;
    13031306    $image->{cam_path_base} = $camRoot;
     1307    $image->{cam_id} = $camRun->{cam_id};
    13041308
    13051309    return 1;
Note: See TracChangeset for help on using the changeset viewer.