IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2009, 5:17:21 PM (17 years ago)
Author:
Paul Price
Message:

Reorganisation to allow the bad data quality flag to be raised when we can't find stamps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppSub/src/ppSubMakePSF.c

    r23599 r23672  
    2222#include "ppSub.h"
    2323
    24 bool ppSubMakePSF(pmConfig *config, psMetadata *stats, const pmFPAview *view)
     24bool ppSubMakePSF(pmConfig *config, ppSubData *data, const pmFPAview *view)
    2525{
    2626    psAssert(config, "Require configuration");
     
    8787        psErrorStackPrint(stderr, "Unable to determine PSF");
    8888        psWarning("Unable to determine PSF --- suspect bad data quality.");
    89         if (stats && psMetadataLookupS32(NULL, stats, "QUALITY") == 0) {
    90             psMetadataAddS32(stats, PS_LIST_TAIL, "QUALITY", PS_META_REPLACE,
    91                              "Unable to determine PSF", psErrorCodeLast());
    92         }
    93         psErrorClear();
    94         psphotFilesActivate(config, false);
     89        ppSubDataQuality(config, data, psErrorCodeLast(), PPSUB_FILES_PHOT);
     90        return true;
    9591    }
    9692
Note: See TracChangeset for help on using the changeset viewer.