« BatchMode » : différence entre les versions

De Opera
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 12 : Ligne 12 :


The following options are available:
The following options are available:
Not mandatory:


* '''-h''' or '''--help''': opera app configuration help[No Args]
* '''-h''' or '''--help''': opera app configuration help[No Args]
* '''-v''' or '''--verbose''': verbose[No Args]
* '''-v''' or '''--verbose''': verbose[No Args]
* '''-p''' or '''--progress''' : progress mode to activate gui progress bar[No Args]
* '''-p''' or '''--progress''' : progress mode to activate gui progress bar[No Args]
Mandatory if no XML context file as option (see below):
* '''-c''' or '''--config''': opera app configuration properties [Mandatory][1 Arg(s)] (see [[Parameters|here]] for more explanation about this kind of file)
* '''-c''' or '''--config''': opera app configuration properties [Mandatory][1 Arg(s)] (see [[Parameters|here]] for more explanation about this kind of file)
* '''-t''' or '''--result''': result type : REENTRY/SM_ESTIMATION/MANOEUVERS/REPORT [Mandatory][ 1 Arg(s)]
* '''-t''' or '''--result''': result type : REENTRY/SM_ESTIMATION/MANOEUVERS/REPORT [Mandatory][ 1 Arg(s)]
Ligne 28 : Ligne 33 :


   >> java -jar opera-xxx-jar-with-dependencies.jar --config OPERA_DATA/work/operaappworkingcopy.properties --result REENTRY --endcjd 22607.00039351852 --duration 100 --ids 10479 10582 --mergeMethod END_OF_REAL_FILE --verbose --output --progress
   >> java -jar opera-xxx-jar-with-dependencies.jar --config OPERA_DATA/work/operaappworkingcopy.properties --result REENTRY --endcjd 22607.00039351852 --duration 100 --ids 10479 10582 --mergeMethod END_OF_REAL_FILE --verbose --output --progress
Mandatory if there is an XML file as ption (since the 10th July version ...):
* '''-x''' or '''--xml''': opera app context file [Mandatory][1 Arg(s)]

Version du 10 juillet 2019 à 08:25

To run OPERA in "Batch mode" or "Command Line Interface Mode" you need to type the following commands in the command prompt:

>> java -jar opera-xxx-jar-with-dependencies.jar + arguments...

If you want some help about all these arguments, you may type:

>> java -jar opera-xxx-jar-with-dependencies.jar -h

or

>> java -jar opera-xxx-jar-with-dependencies.jar --help

The following options are available:

Not mandatory:

  • -h or --help: opera app configuration help[No Args]
  • -v or --verbose: verbose[No Args]
  • -p or --progress : progress mode to activate gui progress bar[No Args]

Mandatory if no XML context file as option (see below):

  • -c or --config: opera app configuration properties [Mandatory][1 Arg(s)] (see here for more explanation about this kind of file)
  • -t or --result: result type : REENTRY/SM_ESTIMATION/MANOEUVERS/REPORT [Mandatory][ 1 Arg(s)]
  • -d or --duration: duration of process in days [Mandatory][1 Arg(s)]
  • -e or --endcjd: end of History in CNES Julian date [Mandatory][1 Arg(s)]
  • -m or --mergeMethod:solar activity merge method (END_OF_REAL_FILE or MERGE_DATE) [Mandatory][1 Arg(s)]
  • -a or --mergeDate:solar activity merge date CJD [1 Arg(s)] (needed if the previous arguments is set to MERGE_DATE)
  • -o or --output: save outputs in file[No Args]
  • -i or --ids: Norad Id List [Mandatory] [No args number limit]

Here is an example of such a call:

 >> java -jar opera-xxx-jar-with-dependencies.jar --config OPERA_DATA/work/operaappworkingcopy.properties --result REENTRY --endcjd 22607.00039351852 --duration 100 --ids 10479 10582 --mergeMethod END_OF_REAL_FILE --verbose --output --progress

Mandatory if there is an XML file as ption (since the 10th July version ...):

  • -x or --xml: opera app context file [Mandatory][1 Arg(s)]