- Timestamp:
- Jun 23, 2016, 10:36:04 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libdvo/src/mosaic_astrom.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/src/mosaic_astrom.c
r39457 r39607 49 49 SortDISindex (DIStzero, DISentry, Ndis); 50 50 51 int NfailMatch = 0; 52 int NgoodMatch = 0; 53 51 54 /* find all matched WRP images */ 52 55 for (i = 0; i < Nimages; i++) { … … 57 60 j = getDISentry (images[i].tzero, images[i].tzero + (int) images[i].exptime, DIStzero, DISentry, Ndis); 58 61 if (j == -1) { 59 fprintf (stderr, "WARNING: can't find matching mosaic \n"); 62 if (NfailMatch < 100) fprintf (stderr, "WARNING: can't find matching mosaic \n"); 63 NfailMatch ++; 60 64 continue; 61 65 } … … 63 67 images[i].parent = &images[j]; 64 68 images[i].coords.mosaic = &images[j].coords; 69 NgoodMatch ++; 65 70 } 71 72 fprintf (stderr, "matched chips for %d images, %d failed (%d total)\n", NgoodMatch, NfailMatch, (int) Nimages); 66 73 67 74 free (DISentry);
Note:
See TracChangeset
for help on using the changeset viewer.
