IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2005, 9:40:51 AM (21 years ago)
Author:
desonia
Message:

removed extname from psFitsWrite* functions (Bug #412).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageGeomManip.c

    r4128 r4191  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-06-07 02:29:44 $
     8 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-06-09 19:40:51 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    559559    }
    560560
    561     char hduName[80];
    562561    psRegion regionAll = psRegionSet(0,0,0,0);
    563562    for (psS32 rot=-180;rot<=180;rot+=45) {
    564563        psImage* oldOut = fOut;
    565564        psImage* oldBiOut = fBiOut;
    566         snprintf(hduName, 80, "%+d", rot);
    567565        if (rot == 90) {
    568566            radianRot = M_PI_2;
     
    590588        sBiOut = psImageRotate(sBiOut,sImg,radianRot,-1.0,PS_INTERPOLATE_BILINEAR);
    591589
    592         if (! psFitsWriteImage(fOutFile, NULL, fOut, 1, hduName) ) {
     590        if (! psFitsWriteImage(fOutFile, NULL, fOut, 1) ) {
    593591            psError(PS_ERR_UNKNOWN, true,"Can not write fOut.");
    594592            return 20;
    595593        }
    596         if (! psFitsWriteImage(sOutFile, NULL, sOut, 1, hduName) ) {
     594        if (! psFitsWriteImage(sOutFile, NULL, sOut, 1) ) {
    597595            psError(PS_ERR_UNKNOWN, true,"Can not write sOut.");
    598596            return 21;
    599597        }
    600         if (! psFitsWriteImage(fBiOutFile, NULL, fBiOut, 1, hduName) ) {
     598        if (! psFitsWriteImage(fBiOutFile, NULL, fBiOut, 1) ) {
    601599            psError(PS_ERR_UNKNOWN, true,"Can not write fBiOut.fits.");
    602600            return 40;
    603601        }
    604         if (! psFitsWriteImage(sBiOutFile, NULL, sBiOut, 1, hduName) ) {
     602        if (! psFitsWriteImage(sBiOutFile, NULL, sBiOut, 1) ) {
    605603            psError(PS_ERR_UNKNOWN, true,"Can not write sBiOut.fits.");
    606604            return 41;
Note: See TracChangeset for help on using the changeset viewer.