IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10833


Ignore:
Timestamp:
Dec 26, 2006, 6:26:37 PM (20 years ago)
Author:
eugene
Message:

updates and notes

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/doc/notes.txt

    r6176 r10833  
     1
     22006.12.26
     3
     4 work still to be done for psastro:
     5
     6 - test suite
     7   - create a DVO database from a fake population
     8   - create fake images with range of errors drawn from DVO
     9
     10 -
     11
    112
    213we have a few different astrometry circumstances for our complete
  • trunk/psastro/src/psastro.c

    r10782 r10833  
    5353    }
    5454
    55     char *mosastro = psMetadataLookupStr (NULL, config->arguments, "MOSASTRO");
    56     if (mosastro == NULL) {
    57         if (!psastroChipAstrom (config, refs)) {
    58             psErrorStackPrint(stderr, "failed to perform single chip astrometry\n");
    59             exit (1);
    60         }
    61     } else {
     55    if (!psastroChipAstrom (config, refs)) {
     56      psErrorStackPrint(stderr, "failed to perform single chip astrometry\n");
     57      exit (1);
     58    }
     59
     60    bool mosastro = psMetadataLookupBool (NULL, config->arguments, "MOSAIC.MODE");
     61    if (!mosastro) {
    6262        if (!psastroMosaicAstrom (config, refs)) {
    6363            psErrorStackPrint(stderr, "failed to perform mosaic camera astrometry\n");
  • trunk/psastro/src/psastroArguments.c

    r10438 r10833  
    1212    }
    1313
    14     // basic pslib options
    15     psLogSetFormat ("M");
    16 
    1714    // load config data from default locations
    1815    pmConfig *config = pmConfigRead(&argc, argv, PSASTRO_RECIPE);
     
    2320
    2421    // save the following additional recipe values based on command-line options
    25     // these options override the PSPHOT recipe values loaded from recipe files
     22    // these options override the PSASTRO recipe values loaded from recipe files
    2623    psMetadata *options = pmConfigRecipeOptions (config, PSASTRO_RECIPE);
    2724
     
    4340    if ((N = psArgumentGet (argc, argv, "-mosastro"))) {
    4441        psArgumentRemove (N, &argc, argv);
    45         psMetadataAddStr (config->arguments, PS_LIST_TAIL, "MOSASTRO", PS_DATA_STRING, "", psStringCopy(argv[N]));
     42        psMetadataAddStr (config->arguments, PS_LIST_TAIL, "MOSAIC.MODE", PS_DATA_BOOL, "", psStringCopy(argv[N]));
    4643        psArgumentRemove (N, &argc, argv);
    4744    }
Note: See TracChangeset for help on using the changeset viewer.