IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 25, 2007, 5:34:03 PM (19 years ago)
Author:
Paul Price
Message:

Don't die if you can't do the pixel statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsReadout.c

    r14393 r14394  
    7474                !isfinite(sampleValues->data.F32[i])) {
    7575                if (!warnNonFinite) {
    76                     psWarning("Non-finite value detected at %d,%d", x, y);
     76                    psWarning("Unmasked non-finite value detected at %d,%d", x, y);
    7777                    warnNonFinite = true;
    7878                }
     
    8484        }
    8585        if (!psVectorStats(data->stats, sampleValues, NULL, sampleMask, data->maskVal)) {
    86             psLogMsg(__func__, PS_LOG_WARN, "Unable to perform statistics on readout %s --- "
    87                      "ignored.\n", readoutName);
    88             psFree(sampleValues);
    89             psFree(sampleMask);
    90             goto statsDone;
     86            psWarning("Unable to perform statistics on readout %s.\n", readoutName);
     87            psErrorClear();
    9188        }
    9289        psFree(sampleValues);
Note: See TracChangeset for help on using the changeset viewer.