IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12758


Ignore:
Timestamp:
Apr 5, 2007, 2:05:36 PM (19 years ago)
Author:
Paul Price
Message:

Calling psLibInit so that memory checking may be performed at the end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarp.c

    r12505 r12758  
    1111}
    1212
    13 int main (int argc, char **argv) {
     13int main (int argc, char **argv)
     14{
     15    psTimerStart ("complete");
    1416
    15     psTimerStart ("complete");
     17    psLibInit(NULL);
    1618
    1719    // model inits are needed in pmSourceIO
     
    2426    // load identify the data sources
    2527    if (!pswarpParseCamera (config)) {
    26         psErrorStackPrint(stderr, "error setting up the camera\n");
    27         exit (1);
     28        psErrorStackPrint(stderr, "error setting up the camera\n");
     29        exit (1);
    2830    }
    2931
    3032    // load the skycell layout information
    3133    if (!pswarpDefine (config)) {
    32         psErrorStackPrint(stderr, "error loading output definition\n");
    33         exit (1);
     34        psErrorStackPrint(stderr, "error loading output definition\n");
     35        exit (1);
    3436    }
    3537
    3638    // load and warp
    3739    if (!pswarpDataLoad (config)) {
    38         psErrorStackPrint(stderr, "error reading input data\n");
    39         exit (1);
     40        psErrorStackPrint(stderr, "error reading input data\n");
     41        exit (1);
    4042    }
    41    
     43
    4244    // write out result image
    4345    if (!pswarpDataSave (config)) {
    44         psErrorStackPrint(stderr, "error writing output data\n");
    45         exit (1);
     46        psErrorStackPrint(stderr, "error writing output data\n");
     47        exit (1);
    4648    }
    4749
Note: See TracChangeset for help on using the changeset viewer.