Changeset 8766
- Timestamp:
- Sep 7, 2006, 11:13:58 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psMetadataConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psMetadataConfig.c
r8627 r8766 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.7 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 8-26 04:34:28 $12 * @version $Revision: 1.76 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-09-07 21:13:58 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 39 39 /******************************************************************************/ 40 40 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 8057 58 41 /** Maximum size of a string */ 59 42 #define MAX_STRING_LENGTH 1024 60 61 43 62 44 /******************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
