IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 29, 2006, 11:08:05 AM (20 years ago)
Author:
eugene
Message:

more cleanups, more work on files and views

File:
1 edited

Legend:

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

    r6715 r6727  
    6262
    6363    pmFPAfileDefine (config->files, format, input, "PSPHOT.OUTPUT");
     64    pmFPAfileDefine (config->files, format, input, "PSPHOT.RESID");
    6465
    65     // pmFPAfileDefine (config->files, format, input, "PSPHOT.RESID");
    6666    // pmFPAfileDefine (config->files, format, input, "PSPHOT.PSF_INPUT");
    6767    // pmFPAfileDefine (config->files, format, input, "PSPHOT.PSF_OUTPUT");
     
    7676
    7777    // psphot is supplied with the output name
     78    // this needs to be better: supply to all output (WRITE) files?
    7879    char *output = psMetadataLookupPtr(&status, config->arguments, "OUTPUT");
     80
    7981    file = psMetadataLookupPtr (&status, config->files, "PSPHOT.OUTPUT");
     82    if (!status) psAbort (__func__, "missing OUTPUT entry");
     83    psMetadataAddStr (file->names, PS_LIST_TAIL, "OUTPUT", 0, "", output);
     84
     85    file = psMetadataLookupPtr (&status, config->files, "PSPHOT.RESID");
    8086    if (!status) psAbort (__func__, "missing OUTPUT entry");
    8187    psMetadataAddStr (file->names, PS_LIST_TAIL, "OUTPUT", 0, "", output);
     
    95101    psMetadataAddStr (recipe, PS_LIST_TAIL, "PHOTCODE", PS_META_NO_REPLACE, "default photcode", "NONE");
    96102    psMetadataAddStr (recipe, PS_LIST_TAIL, "BREAK_POINT", PS_META_NO_REPLACE, "default break point", "NONE");
     103    psMetadataAddF32 (recipe, PS_LIST_TAIL, "ZERO_PT", PS_META_NO_REPLACE, "default zero point", 25.00);
    97104
    98105    // Chip selection: if we are using a single chip, select it for each FPA
Note: See TracChangeset for help on using the changeset viewer.