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/lib.shell/VectorIO.c

    r38330 r38340  
    7272 
    7373// write a set of vectors to a FITS file (vectors names become fits column names)
    74 int WriteVectorTableFITS (char *filename, char *extname, Vector **vec, int Nvec, int append, int compress, char *format) {
     74int WriteVectorTableFITS (char *filename, char *extname, Vector **vec, int Nvec, int append, char *compress, char *format) {
    7575 
    7676  Header rawheader;
     
    106106  if (compress) {
    107107    cmptable.header = &cmpheader;
    108     if (!gfits_compress_table (&rawtable, &cmptable, 10, "GZIP_1")) goto escape;
     108    if (!gfits_compress_table (&rawtable, &cmptable, 10, compress)) goto escape;
    109109    outtable = &cmptable;
    110110    outheader = &cmpheader;
Note: See TracChangeset for help on using the changeset viewer.