Changeset 27497 for branches/eam_branches/relastro.20100326/src/MosaicOps.c
- Timestamp:
- Mar 28, 2010, 4:17:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relastro.20100326/src/MosaicOps.c
r27478 r27497 146 146 147 147 Nmos = getMosaicByTimes (start, stop, startMos, stopMos, indexMos); 148 if (Nmos == -1) continue; 148 if (Nmos == -1) { 149 fprintf (stderr, "cannot match mosaic for %s\n", image[i].name); 150 continue; 151 } 149 152 150 153 // mosaic corresponding to this image … … 185 188 // this function does the reverse-lookup for the mosaic corresponding to this image 186 189 new = getImageRaw (catalog, Ncatalog, im, &Nnew, MODE_MOSAIC); 190 if (!new) { 191 fprintf (stderr, "inconsistent: missing mosaic for image already associated with a mosaic? (1)\n"); 192 abort(); 193 } 187 194 188 195 // merge new and raw … … 217 224 // this function does the reverse-lookup for the mosaic corresponding to this image 218 225 new = getImageRef (catalog, Ncatalog, im, &Nnew, MODE_MOSAIC); 226 if (!new) { 227 fprintf (stderr, "inconsistent: missing mosaic for image already associated with a mosaic? (2)\n"); 228 abort(); 229 } 219 230 220 231 // merge new and ref
Note:
See TracChangeset
for help on using the changeset viewer.
