IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2014, 9:27:56 AM (12 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20140423: add Koppehoefer correction; make sure psastro failures are noted clearl in the output header; do not load the model if we choose skipastro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDataLoad.c

    r21409 r36837  
    5353    pmFPAfileActivate (config->files, true, "PSASTRO.INPUT");
    5454
     55    // if we request KH Correction, activate that file as well
     56    bool applyKH = psMetadataLookupBool (NULL, recipe, "KH.CORRECT.APPLY.EXP");
     57    if (applyKH) {
     58        pmFPAfileActivate (config->files, true, "PSASTRO.KH.CORRECT");
     59    }
     60
    5561    pmFPAview *view = pmFPAviewAlloc (0);
    5662
     
    7379                if (!readout->data_exists) { continue; }
    7480
    75                 if (!psastroConvertReadout (readout, recipe)) ESCAPE;
     81                if (!psastroConvertReadout (config, view, readout, recipe)) ESCAPE;
    7682
    7783                if (!pmFPAfileIOChecks (config, view, PM_FPA_AFTER)) ESCAPE;
Note: See TracChangeset for help on using the changeset viewer.