IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2007, 4:18:42 PM (19 years ago)
Author:
eugene
Message:

fixed MEF NAXIS=3 read

File:
1 edited

Legend:

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

    r12902 r13040  
    3838  status = gfits_read_header (argv[2], &buf[0].header);
    3939  sprintf (region, "%d %d %d %d 0 1", x, nx + x, y, ny + y);
    40   status = gfits_read_segment (argv[2], &buf[0].matrix, region);
     40  status = gfits_read_matrix_segment (argv[2], &buf[0].matrix, region);
    4141  gfits_modify (&buf[0].header, "NAXIS1", "%d", 1, nx);
    4242  gfits_modify (&buf[0].header, "NAXIS2", "%d", 1, ny);
Note: See TracChangeset for help on using the changeset viewer.