IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19950


Ignore:
Timestamp:
Oct 7, 2008, 10:07:02 AM (18 years ago)
Author:
eugene
Message:

assign MD values even if not run (NAN)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotApResid.c

    r19910 r19950  
    2222    bool measureAptrend = psMetadataLookupBool (&status, recipe, "MEASURE.APTREND");
    2323    if (!measureAptrend) {
    24       return true;
     24        // save nan values since these were not calculated
     25        psMetadataAdd (recipe, PS_LIST_TAIL, "SKYBIAS",  PS_DATA_F32 | PS_META_REPLACE, "aperture sky bias",   NAN);
     26        psMetadataAdd (recipe, PS_LIST_TAIL, "SKYSAT",   PS_DATA_F32 | PS_META_REPLACE, "aperture-determined saturation",   NAN);
     27        psMetadataAdd (recipe, PS_LIST_TAIL, "APMIFIT",  PS_DATA_F32 | PS_META_REPLACE, "aperture residual",   NAN);
     28        psMetadataAdd (recipe, PS_LIST_TAIL, "DAPMIFIT", PS_DATA_F32 | PS_META_REPLACE, "ap residual scatter", NAN);
     29        psMetadataAdd (recipe, PS_LIST_TAIL, "APLOSS",   PS_DATA_F32 | PS_META_REPLACE, "aperture loss (mag)", NAN);
     30        psMetadataAdd (recipe, PS_LIST_TAIL, "NAPMIFIT", PS_DATA_S32 | PS_META_REPLACE, "number of apresid stars", 0);
     31        return true;
    2532    }
    2633
Note: See TracChangeset for help on using the changeset viewer.