Changeset 23677 for branches/pap/pswarp/src/pswarpLoop.c
- Timestamp:
- Apr 2, 2009, 11:55:52 AM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/pswarp/src/pswarpLoop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/pswarp/src/pswarpLoop.c
r23597 r23677 274 274 } 275 275 276 if (!output->data_exists) { 277 psWarning("No overlap between input and skycell."); 278 if (stats) { 279 psMetadataAddS32(stats, PS_LIST_TAIL, "QUALITY", PS_META_REPLACE, 280 "No overlap between input and skycell", PSWARP_ERR_NO_OVERLAP); 281 } 282 psphotFilesActivate(config, false); 283 psFree(cells); 284 psFree(view); 285 return true; 286 } 287 276 288 pmCell *outCell = output->parent; ///< Output cell 277 289 pmChip *outChip = outCell->parent; ///< Output chip 278 290 pmFPA *outFPA = outChip->parent; ///< Output FP 279 291 280 if (!pswarpPixelFraction(output, stats, config)) { 281 // Don't write output images, and don't bother about anything else 282 output->data_exists = outCell->data_exists = outChip->data_exists = false; 292 if (pswarpPixelFraction(output, stats, config)) { 293 psError(PS_ERR_UNKNOWN, false, "Unable to calculate pixel regions."); 283 294 psFree(cells); 284 295 psFree(view); 285 goto COMPLETED;296 return false; 286 297 } 287 298 … … 457 468 // Now done with the skycell side of things 458 469 459 COMPLETED:460 470 // Write out summary statistics 461 471 if (stats) {
Note:
See TracChangeset
for help on using the changeset viewer.
