IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

-version option vs file version taken into account/Field CMF_VERSION added to FITS file

File:
1 edited

Legend:

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

    r28623 r29565  
    33
    44#include "ppMops.h"
     5
     6/*
     7  Behavior:
     8
     9  If the CMF input files have different versions, merging cannot be
     10  performed.
     11
     12  If -version option is not given:
     13    the output version is the version of the input file(s)
     14  otherwise
     15    the output version is (possibly forced to) the version option
     16
     17  If the input file(s) version is equals to the version option:
     18    no change in version (neither data creation nor data loss)
     19  If the input file(s) version is strictly less than the version option:
     20    Data for version option are set tp default values: 0, NaN, NULL
     21  If the input file(s) version is strictly greater than the version option:
     22    Data are those of the lower version
     23
     24  Example:
     25   -> ppMops dv1_input_files_list output -version 1
     26      is the same as 'ppMops dv1_input_files_list output'
     27   -> ppMops dv1_input_files_list output -version 1
     28      is the same as 'ppMops dv1_input_files_list output'
     29   -> ppMops dv1_input_files_list output -version 2
     30      Aggregate DV1 values and add default DV2 values
     31      Saved as DV2 file
     32   -> ppMops dv2_input_files_list output -version 1
     33      Aggregate DV1 values and truncate DV2 values
     34      Saved as DV1 file
     35 */
    536
    637int main(int argc, char *argv[])
Note: See TracChangeset for help on using the changeset viewer.