IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15660


Ignore:
Timestamp:
Nov 20, 2007, 1:38:17 AM (18 years ago)
Author:
eugene
Message:

adding code to allow output astrometry tables

File:
1 edited

Legend:

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

    r15562 r15660  
    2121
    2222    bool fixChips = psMetadataLookupBool (&status, recipe, "PSASTRO.FIX.CHIPS");
    23 
    2423    if (fixChips) {
    2524        if (!psastroDefineFile (config, input->fpa, "PSASTRO.REF.ASTROM", "REF.ASTROM", PM_FPA_FILE_ASTROM, PM_DETREND_TYPE_ASTROM)) {
     25            psError (PS_ERR_IO, false, "Can't find a reference astrometry file");
     26            return NULL;
     27        }
     28    }
     29
     30    bool saveAstrom = psMetadataLookupBool (&status, recipe, "SAVE.REF.ASTROM");
     31    if (saveAstrom) {
     32        if (!pmFPAfileDefineOutputFromFile (config, input, "PSASTRO.OUT.ASTROM")) {
    2633            psError (PS_ERR_IO, false, "Can't find a reference astrometry file");
    2734            return NULL;
Note: See TracChangeset for help on using the changeset viewer.