IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18278


Ignore:
Timestamp:
Jun 22, 2008, 8:55:03 PM (18 years ago)
Author:
eugene
Message:

fix uncompressed header to be a primary version

File:
1 edited

Legend:

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

    r18083 r18278  
    186186    status = gfits_fread_ftable_data (f, &ftable);  // this just reads the bytes (not even a SWAP)
    187187    status = gfits_uncompress_image (&buf[0].header, &buf[0].matrix, &ftable);
     188    // uncompressing the image leaves the format as an extension
     189    gfits_extended_to_primary (&buf[0].header, TRUE, "Standard FITS");
    188190    gfits_free_table (&ftable);
    189191    // XXX this currently does not work for a cube (we get a cube back, not a specific plane)
Note: See TracChangeset for help on using the changeset viewer.