IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2009, 3:58:07 PM (17 years ago)
Author:
Paul Price
Message:

Fix streaksremove so that output CMF files have PHU called ext.hdr and table called ext.psf. Turned on -Wall -Werror and fixed a host of little problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streakscompare.c

    r21156 r25082  
    55int main(int argc, char *argv[])
    66{
    7     long i;
    87    bool status;
    98
     
    3534    int numErrors = 0;
    3635    for (int component = 0; component < ncomponents; component++) {
    37         if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 
     36        if (component && !(psFitsMoveExtNum(file1->fits, 1, true)
    3837                           && psFitsMoveExtNum(file2->fits, 1, true))) {
    3938            streaksExit("failed to advance to next extesion\n", PS_EXIT_DATA_ERROR);
     
    4544        psImage *image2 = file2->image;
    4645
    47         // TODO: do more sanity checking. For example check that extname's  (if any) match 
     46        // TODO: do more sanity checking. For example check that extname's  (if any) match
    4847        // check for matching image cubes
    4948        if (image1 && image2) {
     
    6867                        error = ! isnan(value1) && isnan(value2);
    6968                    }
    70                    
     69
    7170                    if (error) {
    7271                        numErrors++;
Note: See TracChangeset for help on using the changeset viewer.