IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2010, 12:58:00 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Documentation / PS1_DV is now #define'd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMopsArguments.c

    r29565 r29567  
    1717    fprintf(stderr, "Usage: %s INPUT_LIST OUTPUT_NAME\n", program);
    1818    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");
    1935    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");
    2038    psLibFinalize();
    2139    exit(PS_EXIT_CONFIG_ERROR);
     
    7492    psMetadataAddF32(arguments, PS_LIST_TAIL, "-zp_error", 0, "Error in magnitude zero point", NAN);
    7593    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);
    7895    if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 3) {
    7996        usage(argv[0], arguments);
Note: See TracChangeset for help on using the changeset viewer.