- Timestamp:
- Jun 4, 2015, 5:44:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/opihi/cmd.data/read_vectors.c
r38341 r38367 522 522 523 523 dump_cmp_table (&table, "rd cmp"); 524 525 int Nfields; 526 if (!gfits_scan (&header, "TFIELDS", "%d", 1, &Nfields)) ESCAPE ("cannot find TFIELDS in header"); 527 for (i = 0; i < Nfields; i++) { 528 gfits_byteswap_varlength_column (&table, i+1); 529 } 524 530 if (!gfits_uncompress_table (&table, &rawtable)) ESCAPE ("failed to uncompress table"); 525 531 dump_raw_table (&rawtable, "rd raw"); … … 541 547 if (Binary) { 542 548 if (!gfits_get_bintable_column_type (outheader, argv[i], type, &Nval)) ESCAPE ("requested field not found"); 543 if (!gfits_get_bintable_column (outheader, outtable, argv[i], &data)) ESCAPE ("error reading data from specified field");549 if (!gfits_get_bintable_column_raw (outheader, outtable, argv[i], &data, IsCompressed)) ESCAPE ("error reading data from specified field"); 544 550 } else { 545 551 if (!gfits_get_table_column_type (outheader, argv[i], type)) ESCAPE ("requested field not found");
Note:
See TracChangeset
for help on using the changeset viewer.
