Changeset 39457 for trunk/Ohana/src/delstar/src/gimages.c
- Timestamp:
- Mar 11, 2016, 10:23:42 PM (10 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/delstar/src/gimages.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ohana.20160226 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/delstar/src/gimages.c
r27435 r39457 46 46 47 47 /* get other header info */ 48 haveNx = gfits_scan (&header, "NAXIS1", "%h d", 1, &image[0].NX);49 haveNy = gfits_scan (&header, "NAXIS2", "%h d", 1, &image[0].NY);48 haveNx = gfits_scan (&header, "NAXIS1", "%hu", 1, &image[0].NX); 49 haveNy = gfits_scan (&header, "NAXIS2", "%hu", 1, &image[0].NY); 50 50 if (!haveNx && !haveNy) { 51 haveNx = gfits_scan (&header, "IMNAXIS1", "%h d", 1, &image[0].NX);52 haveNy = gfits_scan (&header, "IMNAXIS2", "%h d", 1, &image[0].NY);51 haveNx = gfits_scan (&header, "IMNAXIS1", "%hu", 1, &image[0].NX); 52 haveNy = gfits_scan (&header, "IMNAXIS2", "%hu", 1, &image[0].NY); 53 53 } 54 54 if (!haveNx && !haveNy) { 55 haveNx = gfits_scan (&header, "ZNAXIS1", "%h d", 1, &image[0].NX);56 haveNy = gfits_scan (&header, "ZNAXIS2", "%h d", 1, &image[0].NY);55 haveNx = gfits_scan (&header, "ZNAXIS1", "%hu", 1, &image[0].NX); 56 haveNy = gfits_scan (&header, "ZNAXIS2", "%hu", 1, &image[0].NY); 57 57 } 58 58 if (!haveNx || !haveNy) {
Note:
See TracChangeset
for help on using the changeset viewer.
