IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2015, 7:59:48 PM (11 years ago)
Author:
eugene
Message:

more work on compression : cfitsio assumes gzip, not zlib (I have made uncompress general )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/opihi/cmd.data/wd.c

    r38338 r38340  
    205205    ftable.header = &theader;
    206206
    207     int i;
    208207    gfits_compress_image (&temp_header, &temp_matrix, &ftable, NULL, CompressMode);
    209     fprintf (stderr, "wd 1: ");
    210     for (i = 0; i < 32; i++) {
    211       fprintf (stderr, "0x%0hhx ", ftable.buffer[i]);
    212     }
    213     fprintf (stderr, "\n");
    214 
    215208    gfits_byteswap_varlength_column (&ftable, 1);
    216     fprintf (stderr, "wd 2: ");
    217     for (i = 0; i < 32; i++) {
    218       fprintf (stderr, "0x%0hhx ", ftable.buffer[i]);
    219     }
    220     fprintf (stderr, "\n");
    221    
    222209    gfits_fwrite_Theader (f, &theader);
    223210    gfits_fwrite_table  (f, &ftable);
Note: See TracChangeset for help on using the changeset viewer.