IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2008, 3:22:14 PM (18 years ago)
Author:
bills
Message:

support astrometry supplied on the command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/ppstampParseCamera.c

    r16593 r17270  
    3434    }
    3535
     36    // XXX: create a filerule for PPSTAMP.ASTROM
     37    pmFPAfile *astrom = pmFPAfileDefineFromArgs(&status, config, "PSWARP.ASTROM", "ASTROM");
     38    if (!status) {
     39        psError(PS_ERR_UNKNOWN, false, "failed to find astrom definitiion");
     40        return NULL;
     41    }
     42    if (astrom) {
     43        psLogMsg ("ppstamp", 3, "using supplied astrometry\n");
     44    } else {
     45        psLogMsg ("ppstamp", 3, "using header astrometry\n");
     46    }
     47
    3648#ifdef notyet
    3749    // add recipe options supplied on command line
     
    5567    }
    5668
    57     // TODO: only do the workaround if the file level is chip, skycells should be fine
     69    // XXX: TODO: only do the workaround if the file level is chip, skycells should be fine
    5870    if (!strcmp(config->cameraName, "MEGACAM")) {
    5971        // workaround bug 986 and related
Note: See TracChangeset for help on using the changeset viewer.