IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 2, 2021, 8:33:50 AM (5 years ago)
Author:
eugene
Message:

skip extensions which do not exist (not all chips are working in PS2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dvoTools/src/dvoMakeCorrLoop.c

    r41660 r41680  
    6161        assert (inChip->hdu);
    6262        assert (inChip->hdu->extname);
    63         psFitsMoveExtName (input->fits, inChip->hdu->extname);
     63
     64        // not all extensions are required to exist.  skip if not found
     65        if (!psFitsMoveExtName (input->fits, inChip->hdu->extname)) {
     66          continue;
     67        }
    6468        psImage *inImage = psFitsReadImage (input->fits, fullImage, 0);
    6569        assert (inImage);
Note: See TracChangeset for help on using the changeset viewer.