IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26850


Ignore:
Timestamp:
Feb 10, 2010, 3:38:21 PM (16 years ago)
Author:
eugene
Message:

modified rejection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ppTranslate/src/ppMopsRead.c

    r25430 r26850  
    8383            psU32 flags = psMetadataLookupU32(NULL, row, "FLAGS");
    8484            if (flags & SOURCE_MASK) {
     85                psTrace("ppMops.read", 10, "Discarding row %ld from input %d because of flags: %ud", j, i, flags);
    8586                continue;
    8687            }
     
    111112                !isfinite(det->ra->data.F64[numGood]) || !isfinite(det->dec->data.F64[numGood]) ||
    112113                !isfinite(det->mag->data.F32[numGood]) || !isfinite(det->magErr->data.F32[numGood]) ||
    113                 !isfinite(xErr) || !isfinite(yErr) || !isfinite(scale) || !isfinite(angle) ||
    114                 (det->flags->data.U32[numGood] & SOURCE_MASK)) {
     114                !isfinite(xErr) || !isfinite(yErr) || !isfinite(scale) || !isfinite(angle)) {
     115                psTrace("ppMops.read", 10,
     116                        "Discarding row %ld from input %d because of non-finite values: "
     117                        "%f %f %lf %lf %f %f %f %f %f %f",
     118                        j, i,
     119                        det->x->data.F32[numGood], det->y->data.F32[numGood],
     120                        det->ra->data.F64[numGood], det->dec->data.F64[numGood],
     121                        det->mag->data.F32[numGood], det->magErr->data.F32[numGood],
     122                        xErr, yErr, scale, angle);
    115123                continue;
    116124            }
Note: See TracChangeset for help on using the changeset viewer.