IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15894


Ignore:
Timestamp:
Dec 22, 2007, 7:51:48 AM (18 years ago)
Author:
eugene
Message:

skip chips sans astrometry without error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryRegions.c

    r12711 r15894  
    44 *
    55 *  @author EAM, IfA
    6  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-04-01 03:10:12 $
     6 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-12-22 17:51:48 $
    88 *
    99 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    4343
    4444    PS_ASSERT_PTR_NON_NULL(chip, NULL);
    45     PS_ASSERT_PTR_NON_NULL(chip->toFPA, NULL);
     45
     46    // if we have not astrometry for this chip, just skip it silently (no error)
     47    if (!chip->toFPA) return NULL;
    4648
    4749    // determine the bounding box of this chip in chip pixels
Note: See TracChangeset for help on using the changeset viewer.