- Timestamp:
- Mar 15, 2009, 4:56:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/eam_branch_20090312/psastro/src/psastroExtractArguments.c
r23322 r23335 37 37 // psMetadata *options = pmConfigRecipeOptions (config, PSASTRO_RECIPE); 38 38 39 // define the image pixel data 39 40 if (!pmConfigFileSetsMD (config->arguments, &argc, argv, "INPUT", "-file", "-list")) { 40 41 psError(PSASTRO_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)"); … … 43 44 } 44 45 45 // XXX require this? 46 pmConfigFileSetsMD(config->arguments, &argc, argv, "ASTROM", "-astrom", "-astromlist"); 46 // define the astrometry data (XXX make this optional and use the image header?) 47 if (!pmConfigFileSetsMD(config->arguments, &argc, argv, "ASTROM", "-astrom", "-astromlist")) { 48 psError(PSASTRO_ERR_ARGUMENTS, true, "Missing -astrom (smf) or -astromlist (smf)"); 49 psErrorStackPrint(stderr, "%s", usage); 50 exit (1); 51 } 47 52 48 53 // define the output filename
Note:
See TracChangeset
for help on using the changeset viewer.
