IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2007, 5:09:52 PM (19 years ago)
Author:
eugene
Message:

merging changes from eam_branch_20071015 (read compressed images, clean addstar I/O, other minor issues)

File:
1 edited

Legend:

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

    r11887 r15487  
    9191    if (!gfits_read_header (argv[2], &Xhead)) {
    9292
    93       Xhead.simple = TRUE;
     93      gfits_init_header (&Xhead);
    9494      Xhead.bitpix = 16;
    95       Xhead.Naxes = 0;
    96      
    9795      Xhead.extend = TRUE;
    98       Xhead.bscale = 1.0;
    99       Xhead.bzero  = 0.0;
    100       Xhead.unsign = FALSE;
    101      
    10296      gfits_create_header (&Xhead);
     97
    10398      gfits_modify (&Xhead, "NEXTEND", "%d", 1, 0);
    10499      f = fopen (argv[2], "w");
Note: See TracChangeset for help on using the changeset viewer.