IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 18, 2012, 5:56:48 AM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121130/ppStack/src/ppStackPrepare.c

    r34095 r34838  
    132132    psVectorInit(options->inputMask, 0);
    133133    options->exposures = psVectorAlloc(options->num, PS_TYPE_F32);
     134
    134135    psVectorInit(options->exposures, NAN);
    135136
     
    150151
    151152        options->exposures->data.F32[i] = psMetadataLookupF32(NULL, cell->concepts, "CELL.EXPOSURE");
     153        if ((options->exposures->data.F32[i] == 0)||
     154            (!(isfinite(options->exposures->data.F32[i])))){
     155          options->exposures->data.F32[i] = psMetadataLookupF32(NULL,recipe,"DEFAULT.EXPTIME");
     156        }
    152157        options->sumExposure += options->exposures->data.F32[i];
    153158
Note: See TracChangeset for help on using the changeset viewer.