IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2009, 11:13:29 AM (17 years ago)
Author:
beaumont
Message:

Finished ppStack visualization. Unified the way in which visualizations are invoked, plotting windows are closed, etc

Location:
branches/cnb_branches/cnb_branch_20090215
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branches/cnb_branch_20090215

  • branches/cnb_branches/cnb_branch_20090215/psModules/src/concepts/pmConceptsAverage.c

    r20597 r23197  
    6161
    6262        psTime *fpaTime = psMetadataLookupPtr(NULL, fpa->concepts, "FPA.TIME");
     63        psTimeConvert(fpaTime, PS_TIME_TAI);
    6364        time       += psTimeToMJD(fpaTime);
    6465        if (num == 1) {
     
    9697        psMetadataItem *timeItem = psMetadataLookup(target->concepts, "FPA.TIME");
    9798        psFree(timeItem->data.V);
    98         timeItem->data.V = psTimeFromMJD(time);
     99        psTime *new = psTimeFromMJD(time);
     100        psTimeConvert(new, timeSys);
     101        timeItem->data.V = new;
    99102    }
    100103
     
    115118        }
    116119
    117         float value = psMetadataLookupF32(&status, cell->concepts, name);
    118         if (!status) continue;
    119         if (!isfinite(value)) continue;
     120        float value = psMetadataLookupF32(&status, cell->concepts, name);
     121        if (!status) continue;
     122        if (!isfinite(value)) continue;
    120123
    121124        sum += value;
     
    246249        psMetadataItem *timeItem = psMetadataLookup(target->concepts, "CELL.TIME");
    247250        psFree(timeItem->data.V);
    248         timeItem->data.V = psTimeFromMJD(time);
     251        psTime *new = psTimeFromMJD(time);
     252        psTimeConvert(new, timeSys);
     253        timeItem->data.V = new;
    249254    }
    250255
Note: See TracChangeset for help on using the changeset viewer.