IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 26, 2013, 9:07:23 AM (13 years ago)
Author:
eugene
Message:

major mods to allow multichip output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarp.c

    r35424 r35434  
    3939    }
    4040
    41 # if (0)
     41# if (1)
    4242    // XXX I'm going to add the new code before removing the old code.
    4343    // load the input & output astrometry, find the output overlaps, generate the output pixels
     
    4646    }
    4747
     48# if (0)
    4849    pswarpDumpOutput (config);
    4950    exit (0);
    5051# endif
    5152
     53    // load and warp
     54    if (!pswarpLoop(config, statsFile->md)) {
     55        pswarpCleanup(config, statsFile);
     56    }
     57    pswarpDumpOutput (config);
     58    exit (0);
     59
     60# else
    5261    // load the skycell layout information:
    5362    //   read the output astrometry description
     
    6069        pswarpCleanup(config, statsFile);
    6170    }
    62 
    6371    // load and warp
    64     if (!pswarpLoop(config, statsFile->md)) {
     72    if (!pswarpLoopSkycell(config, statsFile->md)) {
    6573        pswarpCleanup(config, statsFile);
    6674    }
     
    6977        pswarpCleanup(config, statsFile);
    7078    }
    71 
     79# endif
    7280    psLogMsg("pswarp", PS_LOG_INFO, "complete pswarp run: %f sec\n", psTimerMark("pswarp"));
    7381    pswarpCleanup(config, statsFile);
Note: See TracChangeset for help on using the changeset viewer.