IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 5:10:36 PM (17 years ago)
Author:
Paul Price
Message:

Merging pap_branch_20090128. Resolved a small number of conflicts. Compiles, but not tested in detail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpParseCamera.c

    r21323 r21368  
    66 *
    77 *  @author IfA
    8  *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2009-02-05 20:44:04 $
     8 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-06 03:10:36 $
    1010 *  Copyright 2009 Institute for Astronomy, University of Hawaii
    1111 */
     
    5757    }
    5858
    59     pmFPAfile *inWeight = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.WEIGHT", "WEIGHT");
     59    pmFPAfile *inVariance = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.VARIANCE", "VARIANCE");
    6060    if (!status) {
    6161        psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
    6262        return NULL;
    6363    }
    64     if (!inWeight) {
    65         psLogMsg ("pswarp", 3, "no weight supplied\n");
     64    if (!inVariance) {
     65        psLogMsg ("pswarp", 3, "no variance supplied\n");
    6666    }
    6767
     
    9090    outMask->save = true;
    9191
    92     if (inWeight) {
    93         pmFPAfile *outWeight = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.WEIGHT");
    94         if (!outWeight) {
    95             psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.WEIGHT");
     92    if (inVariance) {
     93        pmFPAfile *outVariance = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.VARIANCE");
     94        if (!outVariance) {
     95            psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.VARIANCE");
    9696            return false;
    9797        }
    98         outWeight->save = true;
     98        outVariance->save = true;
    9999    }
    100100
Note: See TracChangeset for help on using the changeset viewer.