Changeset 13517
- Timestamp:
- May 24, 2007, 2:31:19 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackArguments.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackArguments.c
r13515 r13517 122 122 VALUE_ARG_RECIPE_INT("-mask-blank", "MASK.BLANK", U8, 0); 123 123 124 const char *seeingName = psMetadataLookupStr(NULL, arguments, "-seeing"); // Name of seeing file125 if (seeingName && strlen(seeingName) > 0) {126 psArray *seeing = psVectorsReadFromFile(seeingName, "%f"); // Array with seeing vector only127 if (!seeing || seeing->n != 1) {128 psError(PS_ERR_UNKNOWN, false, "Unable to read file with seeing FWHMs.");129 psFree(seeing);130 goto ERROR;131 }132 psMetadataAddVector(config->arguments, PS_LIST_TAIL, "SEEING", 0, "Seeing in each image",133 seeing->data[0]);134 psFree(seeing);135 }136 137 124 psTrace("ppStack", 1, "Done reading command-line arguments\n"); 138 125 psFree(arguments);
Note:
See TracChangeset
for help on using the changeset viewer.
