IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8766


Ignore:
Timestamp:
Sep 7, 2006, 11:13:58 AM (20 years ago)
Author:
jhoblitt
Message:

remove FITS related macro & define

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadataConfig.c

    r8627 r8766  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.75 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-08-26 04:34:28 $
     12*  @version $Revision: 1.76 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-09-07 21:13:58 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3939/******************************************************************************/
    4040
    41 /** Check for FITS errors */
    42 #define FITS_ERROR(STRING,PS_ERROR)                                                                          \
    43 fits_get_errstatus(status, fitsErr);                                                                         \
    44 psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr);                                                          \
    45 status = 0;                                                                                                  \
    46 fits_close_file(fd, &status);                                                                                \
    47 if(status){                                                                                                  \
    48     fits_get_errstatus(status, fitsErr);                                                                     \
    49     psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr);                            \
    50 }                                                                                                            \
    51 status = 0;                                                                                                  \
    52 psFree(output);                                                                                              \
    53 return NULL;
    54 
    55 /** Maximum size of a FITS line */
    56 #define FITS_LINE_SIZE 80
    57 
    5841/** Maximum size of a string */
    5942#define MAX_STRING_LENGTH 1024
    60 
    6143
    6244/******************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.