IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39583 for trunk


Ignore:
Timestamp:
May 27, 2016, 12:09:24 PM (10 years ago)
Author:
watersc1
Message:

Change to force objName and objPSOName to use the stack position only if that position is not nan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/dvopsps/src/insert_objects_dvopsps_catalog.c

    r39564 r39583  
    293293  double tmp_ra,tmp_dec;
    294294
    295   if (secfilt->NstackDet != 0) {
     295  if ((secfilt->NstackDet != 0)&&(isfinite(average->Rstk))&&(isfinite(average->Dstk))) {
    296296    tmp_ra = average->Rstk;
    297297    tmp_dec = average->Dstk;
     
    343343
    344344  // PSO NAME
    345   if (secfilt->NstackDet != 0) {
     345  if ((secfilt->NstackDet != 0)&&(isfinite(average->Rstk))&&(isfinite(average->Dstk))) {
    346346    tmp_ra = average->Rstk;
    347347    tmp_dec = average->Dstk;
Note: See TracChangeset for help on using the changeset viewer.