Changeset 27098
- Timestamp:
- Feb 25, 2010, 5:31:28 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarp.c
r27096 r27098 20 20 fprintf(stderr, " [-variance variance.fits] : provide a corresponding variance image\n"); 21 21 psErrorStackPrint(stderr, "\n"); 22 exit (2);22 exit(PS_EXIT_CONFIG_ERROR); 23 23 } 24 24 … … 38 38 // load identify the data sources 39 39 if (!pswarpParseCamera(config)) { 40 psErrorStackPrint(stderr, "error setting up the camera\n"); 41 exit(PS_EXIT_CONFIG_ERROR); 40 goto DIE; 42 41 } 43 42 44 43 if (!pswarpOptions(config)) { 45 psErrorStackPrint(stderr, "error parsing options\n"); 46 exit(PS_EXIT_SYS_ERROR); 44 goto DIE; 47 45 } 48 46 49 47 // load the skycell layout information 50 48 if (!pswarpDefine(config)) { 51 psErrorStackPrint(stderr, "error loading output definition\n"); 52 exit(PS_EXIT_CONFIG_ERROR); 49 goto DIE; 53 50 } 54 51 55 52 // load and warp 56 53 if (!pswarpLoop(config)) { 57 psErrorStackPrint(stderr, "error warping data\n"); 58 exit(PS_EXIT_DATA_ERROR); 54 goto DIE; 59 55 } 60 56 61 57 psLogMsg("pswarp", PS_LOG_INFO, "complete pswarp run: %f sec\n", psTimerMark("pswarp")); 62 58 63 psExit exitValue = pswarpCleanup(config); 64 exit(exitValue);59 DIE: 60 return pswarpCleanup(config); 65 61 }
Note:
See TracChangeset
for help on using the changeset viewer.
