IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2007, 3:09:20 PM (19 years ago)
Author:
eugene
Message:

updating all changes from from eam_branch_20071023

File:
1 edited

Legend:

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

    r12992 r15562  
    3636        psMetadataAddStr (config->arguments, PS_LIST_TAIL, "CHIP_SELECTIONS", PS_META_REPLACE, "", argv[N]);
    3737        psArgumentRemove (N, &argc, argv);
     38    }
     39   
     40    // apply the chip correction based on the reference astrometry?
     41    if ((N = psArgumentGet (argc, argv, "-fixchips"))) {
     42        psArgumentRemove (N, &argc, argv);
     43        psMetadataAddBool (config->arguments, PS_LIST_TAIL, "PSASTRO.FIX.CHIPS", PS_META_REPLACE, "", true);
     44    }
     45    // define the reference astrometry file
     46    status = pmConfigFileSetsMD (config->arguments, &argc, argv, "REF.ASTROM", "-refastrom", "-refastromlist");
     47    if (status) {
     48        // if supplied, assume -fixchips is desired
     49        psMetadataAddBool (config->arguments, PS_LIST_TAIL, "PSASTRO.FIX.CHIPS", PS_META_REPLACE, "", true);
    3850    }
    3951
Note: See TracChangeset for help on using the changeset viewer.