Changeset 39360 for trunk/Ohana/src/opihi/cmd.data
- Timestamp:
- Feb 18, 2016, 5:36:58 PM (10 years ago)
- Location:
- trunk/Ohana/src/opihi/cmd.data
- Files:
-
- 2 edited
-
read_vectors.c (modified) (2 diffs)
-
write_vectors.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/read_vectors.c
r39328 r39360 2 2 int dump_raw_table (FTable *table, char *message); 3 3 int dump_cmp_table (FTable *table, char *message); 4 void gfits_uncompress_timing (); 4 5 5 6 FILE *f = (FILE *) NULL; … … 594 595 } 595 596 if (!gfits_uncompress_table (&table, &rawtable)) ESCAPE ("failed to uncompress table\n"); 597 gfits_uncompress_timing (); 598 596 599 dump_raw_table (&rawtable, "rd raw"); 597 600 -
trunk/Ohana/src/opihi/cmd.data/write_vectors.c
r39283 r39360 74 74 fprintf (stderr, "NOTE: write_vectors -compress has no effect on non-FITS\n"); 75 75 } 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); 76 83 } 77 84 … … 117 124 118 125 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); 120 127 free (vec); 121 128 return status;
Note:
See TracChangeset
for help on using the changeset viewer.
