IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2012, 2:41:57 PM (14 years ago)
Author:
bills
Message:

minor tweaks this version creates results that dquery_finish.pl can use to build response file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/dquery_job_run.pl

    r33282 r33285  
    22#
    33#
    4 # Create a response to a MOPS_DETECTABILITY_QUERY
     4# Run a detectability query job
    55#
    66#
     
    170170}
    171171
    172 my $results = "$outroot.results";
     172my $results = "${output_base}results.txt";
    173173open OUT, ">$results" or
    174174        my_die("Failed to open results file $results",
     
    183183my ($tmp_Npix,$tmp_Qfact,$tmp_flux,$tmp_flux_error) = read_cmf_file($cmf,$rows[0]->{EXTENSION_BASE});
    184184$i = 0;
    185 print OUT "ROWNUM PROC_ERROR NPIX QFACTOR FLUX FLUX_SIG STAGE STAGE_ID COMPONENT CMFFILE\n";
     185print OUT "ROWNUM PROC_ERROR NPIX QFACTOR FLUX FLUX_SIG FPA_ID STAGE STAGE_ID COMPONENT CMFFILE\n";
    186186foreach my $row (@rows) {
    187187    $row->{PROC_ERROR} = $params->{PROC_ERROR};
     
    192192    $row->{FLUX_SIG} = ${ $tmp_flux_error }[$i];
    193193   
    194     print OUT "$row->{ROWNUM} $row->{PROC_ERROR} $row->{NPIX} $row->{QFACTOR} $row->{FLUX} $row->{FLUX_SIG} $stage $stage_id $component $cmfbase\n";
     194    print OUT "$row->{ROWNUM} $row->{PROC_ERROR} $row->{NPIX} $row->{QFACTOR} $row->{FLUX} $row->{FLUX_SIG} $fpa_id $stage $stage_id $component $cmfbase\n";
    195195    $i++;
    196196}
Note: See TracChangeset for help on using the changeset viewer.