IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10946


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

adding pswarp code

Location:
trunk/pswarp/src
Files:
9 added
1 deleted
2 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}
  • trunk/pswarp/src/pswarpDefine.c

    r10832 r10946  
    1818    }
    1919
    20     // XXX drop? de-activate all files except PSWARP.INPUT
    21     // pmFPAfileActivate (config->files, false, NULL);
    22     // pmFPAfileActivate (config->files, true, "PSWARP.INPUT");
    23 
    2420    // open the full skycell file; no need to defer different depths
    2521    pmFPAview *view = pmFPAviewAlloc (0);
Note: See TracChangeset for help on using the changeset viewer.