IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2016, 5:36:58 PM (10 years ago)
Author:
eugene
Message:

add support for ntile option in fits output compression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/write_vectors.c

    r39283 r39360  
    7474      fprintf (stderr, "NOTE: write_vectors -compress has no effect on non-FITS\n");
    7575    }
     76  }
     77
     78  int Ntile = 0;
     79  if ((N = get_argument (argc, argv, "-compress-Ntile"))) {
     80    remove_argument (N, &argc, argv);
     81    Ntile = atoi(argv[N]);
     82    remove_argument (N, &argc, argv);
    7683  }
    7784
     
    117124
    118125  if (FITS) {
    119     int status = WriteVectorTableFITS (argv[1], FITS, vec, Nvec, append, compress, format);
     126    int status = WriteVectorTableFITS (argv[1], FITS, vec, Nvec, append, compress, format, Ntile);
    120127    free (vec);
    121128    return status;
Note: See TracChangeset for help on using the changeset viewer.