Changeset 34088 for trunk/Ohana/src/libfits/matrix/F_compress_M.c
- Timestamp:
- Jun 26, 2012, 11:46:01 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/matrix/F_compress_M.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/matrix/F_compress_M.c
r33648 r34088 45 45 float zscale, zzero; 46 46 47 int zdata_pixsize, odata_pixsize , idata_pixsize;47 int zdata_pixsize, odata_pixsize; 48 48 49 49 int *ztile = NULL; … … 236 236 zdata_pixsize = gfits_vartable_heap_pixsize (zdef.format); 237 237 238 // size of a pixel in the final image 239 idata_pixsize = abs(header[0].bitpix) / 8;238 // size of a pixel in the final image (not needed) 239 // idata_pixsize = abs(header[0].bitpix) / 8; 240 240 241 241 // size of a pixel in the output from the decompression routine … … 480 480 int gfits_compressed_is_primary (Header *header) { 481 481 482 int has_ztension, has_zimage;483 int ztension, zimage;484 485 has_zimage = gfits_scan_alt (header, "ZIMAGE", "%t", 1, &zimage);486 has_ztension = gfits_scan_alt (header, "ZTENSION", "%t", 1, &ztension);482 int zimage = FALSE; 483 // int ztension = FALSE; 484 485 int has_zimage = gfits_scan_alt (header, "ZIMAGE", "%t", 1, &zimage); 486 // int has_ztension = gfits_scan_alt (header, "ZTENSION", "%t", 1, &ztension); 487 487 488 488 if (has_zimage && zimage) return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
