Changeset 29001 for trunk/Ohana/src/uniphot/src/find_image_sgroups.c
- Timestamp:
- Aug 20, 2010, 12:05:07 PM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/uniphot/src/find_image_sgroups.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo deleted
-
trunk/Ohana/src/uniphot/src/find_image_sgroups.c
r27435 r29001 13 13 imlink = *Imlink; 14 14 image = gfits_table_get_Image (&db[0].ftable, &Nimage, &db[0].swapped); 15 if (!image) { 16 fprintf (stderr, "ERROR: failed to read images\n"); 17 exit (2); 18 } 15 19 16 20 coords.crpix1 = coords.crpix2 = 0.0; … … 28 32 for (i = 0; i < Nimage; i++) { 29 33 if (imlink[i].sgroup != NULL) continue; 30 if (image[i].flags & ID_IMAGE_ NOCAL) continue;34 if (image[i].flags & ID_IMAGE_PHOTOM_NOCAL) continue; 31 35 32 36 /* new sgroup, set ref coords */ … … 53 57 54 58 for (j = 0; j < Nimage; j++) { 55 if (image[j].flags & ID_IMAGE_ NOCAL) continue;59 if (image[j].flags & ID_IMAGE_PHOTOM_NOCAL) continue; 56 60 if (imlink[j].sgroup != NULL) continue; 57 61
Note:
See TracChangeset
for help on using the changeset viewer.
