IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2007, 2:58:54 PM (20 years ago)
Author:
eugene
Message:

adding pswarp code

File:
1 edited

Legend:

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

    r10832 r10946  
    1919
    2020    // load identify the data sources
    21     if (!psastroParseCamera (config)) {
     21    if (!pswarpParseCamera (config)) {
    2222        psErrorStackPrint(stderr, "error setting up the camera\n");
    2323        exit (1);
     
    2525
    2626    // load the skycell layout information
    27     pswarpDefine ();
     27    if (!pswarpDefine (config)) {
     28        psErrorStackPrint(stderr, "error loading output definition\n");
     29        exit (1);
     30    }
    2831
    29     // warp loop
    30     pswarpProcess ();
     32    // load and warp
     33    if (!pswarpDataLoad (config)) {
     34        psErrorStackPrint(stderr, "error reading input data\n");
     35        exit (1);
     36    }
    3137   
    3238    // write out result image
    33     pswarpDataSave ();
     39    if (!pswarpDataSave (config)) {
     40        psErrorStackPrint(stderr, "error writing output data\n");
     41        exit (1);
     42    }
    3443
    3544    psLogMsg ("pswarp", 3, "complete pswarp run: %f sec\n", psTimerMark ("complete"));
    36     pswarpCleanup (config, refs);
     45    pswarpCleanup (config);
    3746    exit (EXIT_SUCCESS);
    3847}
Note: See TracChangeset for help on using the changeset viewer.