Changeset 10833
- Timestamp:
- Dec 26, 2006, 6:26:37 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
doc/design/phase4.txt (added)
-
psastro/doc/notes.txt (modified) (1 diff)
-
psastro/src/psastro.c (modified) (1 diff)
-
psastro/src/psastroArguments.c (modified) (3 diffs)
-
psconfig/TODO (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/doc/notes.txt
r6176 r10833 1 2 2006.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 1 12 2 13 we have a few different astrometry circumstances for our complete -
trunk/psastro/src/psastro.c
r10782 r10833 53 53 } 54 54 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) { 62 62 if (!psastroMosaicAstrom (config, refs)) { 63 63 psErrorStackPrint(stderr, "failed to perform mosaic camera astrometry\n"); -
trunk/psastro/src/psastroArguments.c
r10438 r10833 12 12 } 13 13 14 // basic pslib options15 psLogSetFormat ("M");16 17 14 // load config data from default locations 18 15 pmConfig *config = pmConfigRead(&argc, argv, PSASTRO_RECIPE); … … 23 20 24 21 // save the following additional recipe values based on command-line options 25 // these options override the PS PHOTrecipe values loaded from recipe files22 // these options override the PSASTRO recipe values loaded from recipe files 26 23 psMetadata *options = pmConfigRecipeOptions (config, PSASTRO_RECIPE); 27 24 … … 43 40 if ((N = psArgumentGet (argc, argv, "-mosastro"))) { 44 41 psArgumentRemove (N, &argc, argv); 45 psMetadataAddStr (config->arguments, PS_LIST_TAIL, "MOSA STRO", PS_DATA_STRING, "", psStringCopy(argv[N]));42 psMetadataAddStr (config->arguments, PS_LIST_TAIL, "MOSAIC.MODE", PS_DATA_BOOL, "", psStringCopy(argv[N])); 46 43 psArgumentRemove (N, &argc, argv); 47 44 }
Note:
See TracChangeset
for help on using the changeset viewer.
