Changeset 20033 for branches/cnb_branch_20080830/psastro/src/psastro.c
- Timestamp:
- Oct 9, 2008, 2:39:01 PM (18 years ago)
- Location:
- branches/cnb_branch_20080830/psastro/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branch_20080830/psastro/src
- Property svn:ignore
-
old new 15 15 psastroModel 16 16 gpcModel 17 psastroModelFit
-
- Property svn:ignore
-
branches/cnb_branch_20080830/psastro/src/psastro.c
r17934 r20033 9 9 10 10 pmConfig *config = NULL; 11 12 11 psTimerStart ("complete"); 13 12 … … 24 23 // load identify the data sources 25 24 if (!psastroParseCamera (config)) { 26 psErrorStackPrint(stderr, "error setting up the camera\n");27 exit (1);25 psErrorStackPrint(stderr, "error setting up the camera\n"); 26 exit (1); 28 27 } 29 28 … … 31 30 // select subset of stars for astrometry 32 31 if (!psastroDataLoad (config)) { 33 psErrorStackPrint(stderr, "error loading input data\n");34 exit (1);32 psErrorStackPrint(stderr, "error loading input data\n"); 33 exit (1); 35 34 } 36 35 37 36 // run the full astrometry analysis (chip and/or mosaic) 38 37 if (!psastroAnalysis (config)) { 39 psErrorStackPrint(stderr, "failure in psastro analysis\n");40 exit (1);38 psErrorStackPrint(stderr, "failure in psastro analysis\n"); 39 exit (1); 41 40 } 42 41 43 42 // write out the results 44 43 if (!psastroDataSave (config)) { 45 psErrorStackPrint(stderr, "failed to write out data\n");46 exit (1);44 psErrorStackPrint(stderr, "failed to write out data\n"); 45 exit (1); 47 46 } 48 47
Note:
See TracChangeset
for help on using the changeset viewer.
