IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28996


Ignore:
Timestamp:
Aug 20, 2010, 11:37:22 AM (16 years ago)
Author:
eugene
Message:

do not abort on errors, just warn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/Ohana/src/relastro/src/ImageOps.c

    r28720 r28996  
    393393      fprintf (stderr, "measurement is far from average location (R): %f %f (%f %f)\n", catalog[c].average[n].R, catalog[c].average[n].D, dR, dD);
    394394      dump_measures (&catalog[c].average[n], catalog[c].measure);
    395       abort ();
     395      // abort ();
    396396    }
    397397    if (fabs(dD) > 1.5*ADDSTAR_RADIUS) {
    398398      fprintf (stderr, "measurement is far from average location (D): %f %f (%f %f)\n", catalog[c].average[n].R, catalog[c].average[n].D, dR, dD);
    399399      dump_measures (&catalog[c].average[n], catalog[c].measure);
    400       abort ();
     400      // abort ();
    401401    }
    402402
     
    405405      fprintf (stderr, "measurement is far from original location (R): %f %f (%f %f)\n", catalog[c].average[n].R, catalog[c].average[n].D, dR, dD);
    406406      dump_measures (&catalog[c].average[n], catalog[c].measure);
    407       abort();
     407      // abort();
    408408    }
    409409    if (fabs(catalog[c].measure[m].dD - dD) > DPOS_MAX_ASEC) {
    410410      fprintf (stderr, "measurement is far from original location (D): %f %f (%f %f)\n", catalog[c].average[n].R, catalog[c].average[n].D, dR, dD);
    411411      dump_measures (&catalog[c].average[n], catalog[c].measure);
    412       abort();
     412      // abort();
    413413    }
    414414
Note: See TracChangeset for help on using the changeset viewer.