Changeset 24285 for trunk/psLib/src/fits/psFits.c
- Timestamp:
- Jun 1, 2009, 11:42:15 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFits.c
r21431 r24285 931 931 } 932 932 933 // use strncmp so that we can resolve the string valuves that cfitsio puts into headers (RICE_1 GZIP_1) 934 // into psFitsCompressionType 933 935 if (strcmp(string, "NONE") == 0) return PS_FITS_COMPRESS_NONE; 934 if (str cmp(string, "GZIP") == 0) return PS_FITS_COMPRESS_GZIP;935 if (str cmp(string, "RICE") == 0) return PS_FITS_COMPRESS_RICE;936 if (str cmp(string, "HCOMPRESS") == 0) return PS_FITS_COMPRESS_HCOMPRESS;937 if (str cmp(string, "PLIO") == 0) return PS_FITS_COMPRESS_PLIO;936 if (strncmp(string, "GZIP", 4) == 0) return PS_FITS_COMPRESS_GZIP; 937 if (strncmp(string, "RICE", 4) == 0) return PS_FITS_COMPRESS_RICE; 938 if (strncmp(string, "HCOMPRESS", 9) == 0) return PS_FITS_COMPRESS_HCOMPRESS; 939 if (strncmp(string, "PLIO", 4) == 0) return PS_FITS_COMPRESS_PLIO; 938 940 939 941 psWarning("Unable to identify compression type (%s) --- none set.", string);
Note:
See TracChangeset
for help on using the changeset viewer.
