Changeset 35535 for branches/eam_branches/ipp-20130419/pswarp/src/pswarp.c
- Timestamp:
- May 8, 2013, 4:41:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarp.c
r35512 r35535 39 39 } 40 40 41 # if (1)42 // XXX I'm going to add the new code before removing the old code.43 41 // load the input & output astrometry, find the output overlaps, generate the output pixels 44 42 if (!pswarpDefineLayout(config)) { 45 43 pswarpCleanup(config, statsFile); 46 44 } 47 // load and warp 45 46 // load input pixels & and warp 48 47 if (!pswarpLoop(config, statsFile->md)) { 49 48 pswarpCleanup(config, statsFile); 50 49 } 51 50 52 # else 53 // load the skycell layout information: 54 // read the output astrometry description 55 // generate the output pixels 56 // convert header astrometry to pmFPA astrometry structures 57 if (!pswarpDefine(config)) { 58 pswarpCleanup(config, statsFile); 51 // load input pixels & and warp 52 if (!pswarpLoopBackground(config, statsFile->md)) { 53 pswarpCleanup(config, statsFile); 59 54 } 60 if (!pswarpDefineBackground(config)) {61 pswarpCleanup(config, statsFile);62 }63 // load and warp64 if (!pswarpLoopSkycell(config, statsFile->md)) {65 pswarpCleanup(config, statsFile);66 }67 if (!pswarpLoopBackground(config, statsFile->md)) {68 fprintf(stderr,"Dying!\n");69 pswarpCleanup(config, statsFile);70 }71 # endif72 55 56 // output and free 57 // NOTE: pswarpCleanup calls exit 73 58 psLogMsg("pswarp", PS_LOG_INFO, "complete pswarp run: %f sec\n", psTimerMark("pswarp")); 74 59 pswarpCleanup(config, statsFile); 75 60 } 76 77 // NOTE: pswarpCleanup calls exit78 79 // pswarpDumpOutput (config);80 // exit (0);
Note:
See TracChangeset
for help on using the changeset viewer.
