Changeset 29567 for trunk/ppTranslate/src/ppMopsArguments.c
- Timestamp:
- Oct 26, 2010, 12:58:00 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppTranslate/src/ppMopsArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppTranslate/src/ppMopsArguments.c
r29565 r29567 17 17 fprintf(stderr, "Usage: %s INPUT_LIST OUTPUT_NAME\n", program); 18 18 fprintf(stderr, "\n"); 19 fprintf(stderr, "Description: Merge detections from INPUT_LIST into the single OUTPUT_NAME file\n"); 20 fprintf(stderr, "\n"); 21 fprintf(stderr, "\tIf the CMF input files have different versions, \n\ 22 \tmerging cannot be performed.\n"); 23 fprintf(stderr, "\n"); 24 fprintf(stderr, "\tIf -version option is not given, the output version is\n\ 25 \tthe version of the input file(s) otherwise the output version is (possibly forced to)\n\ 26 \tthe version option.\n"); 27 fprintf(stderr, "\n"); 28 fprintf(stderr, "\tIf the input file(s) version is equals to the version option:\n\ 29 \t No change in version (neither data creation nor data loss)\n\ 30 \tIf the input file(s) version is strictly less than the version option:\n\ 31 \t Data for version option are set to default values: 0, NaN, NULL\n\ 32 \tIf the input file(s) version is strictly greater than the version option:\n\ 33 \t Data are those of the lower version.\n"); 34 fprintf(stderr, "\n"); 19 35 psArgumentHelp(arguments); 36 fprintf(stderr, "\t\tCMF file version can be set to either 1 for PS1_DV1 or 2 for PS1_DV1\n"); 37 fprintf(stderr, "\t\tSee IPP-MOPS ICD for details\n"); 20 38 psLibFinalize(); 21 39 exit(PS_EXIT_CONFIG_ERROR); … … 74 92 psMetadataAddF32(arguments, PS_LIST_TAIL, "-zp_error", 0, "Error in magnitude zero point", NAN); 75 93 psMetadataAddF32(arguments, PS_LIST_TAIL, "-astrom_rms", 0, "Astrometric solution RMS", NAN); 76 psMetadataAddU16(arguments, PS_LIST_TAIL, "-version", 0, "Parameters version (see ICD)", 0); 77 94 psMetadataAddU16(arguments, PS_LIST_TAIL, "-version", 0, "CMF file version", 0); 78 95 if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 3) { 79 96 usage(argv[0], arguments);
Note:
See TracChangeset
for help on using the changeset viewer.
