IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2008, 9:10:52 AM (18 years ago)
Author:
eugene
Message:

adding ZNAXIS1,2 as an allowed source of the image size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/getstar/src/ReadImageHeader.c

    r19823 r20184  
    2020      haveNx = gfits_scan (header, "IMNAXIS1",   "%d", 1, &Nx);
    2121      haveNy = gfits_scan (header, "IMNAXIS2",   "%d", 1, &Ny);
     22  }
     23
     24  if (!haveNx && !haveNy) {
     25      haveNx = gfits_scan (header, "ZNAXIS1",   "%d", 1, &Nx);
     26      haveNy = gfits_scan (header, "ZNAXIS2",   "%d", 1, &Ny);
    2227  }
    2328
Note: See TracChangeset for help on using the changeset viewer.