« BatchMode » : différence entre les versions

De Opera
Aller à la navigation Aller à la recherche
Ligne 36 : Ligne 36 :
== Mandatory if there is a <font color=#FF8C00 title="Extensible Markup Language">XML</font> file as option ==
== Mandatory if there is a <font color=#FF8C00 title="Extensible Markup Language">XML</font> file as option ==


Warning: this possibility is only available since the 10th July version ...
<font color=#FF0000>Warning: this possibility is only available since the 10th July version ...</font>


* '''-x''' or '''--xml''': opera <font color=#FF8C00 title="Extensible Markup Language">XML</font> context file [Mandatory][1 Arg(s)]
* '''-x''' or '''--xml''': opera <font color=#FF8C00 title="Extensible Markup Language">XML</font> context file [Mandatory][1 Arg(s)]

Version du 10 juillet 2019 à 08:44

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 listed below ...

Not mandatory options

  • -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

  • -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 a XML file as option

Warning: this possibility is only available since the 10th July version ...

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

Such a XML file may be obtained using the GUI (Save Context ...).

Here is an example of such a call:

 >> java -jar opera-xxx-jar-with-dependencies.jar --xml data/OPE_test.xml