IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 29, 2006, 8:36:33 AM (20 years ago)
Author:
eugene
Message:

extensive work to catch errors and clear leaks; implement mosaics

File:
1 edited

Legend:

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

    r10833 r10855  
    5353    }
    5454
    55     if (!psastroChipAstrom (config, refs)) {
    56       psErrorStackPrint(stderr, "failed to perform single chip astrometry\n");
    57       exit (1);
     55    bool chipastro = psMetadataLookupBool (NULL, config->arguments, "PSASTRO.CHIP.MODE");
     56    if (chipastro) {
     57        if (!psastroChipAstrom (config, refs)) {
     58            psErrorStackPrint(stderr, "failed to perform single chip astrometry\n");
     59            exit (1);
     60        }
    5861    }
    5962
    60     bool mosastro = psMetadataLookupBool (NULL, config->arguments, "MOSAIC.MODE");
    61     if (!mosastro) {
     63    bool mosastro = psMetadataLookupBool (NULL, config->arguments, "PSASTRO.MOSAIC.MODE");
     64    if (mosastro) {
    6265        if (!psastroMosaicAstrom (config, refs)) {
    6366            psErrorStackPrint(stderr, "failed to perform mosaic camera astrometry\n");
Note: See TracChangeset for help on using the changeset viewer.