Comment 0 for bug 934166

Revision history for this message
Lars Butler (lars-butler) wrote :

---------------------------------
Command line interface
---------------------------------

A few new command line options will be added:

--list-calculations:
  List completed calculations for the current user
  This command prints a table of calculation ids and descriptions

 --list-outputs <calculation id>:
  List outputs/output types available for the given calculation id

 --export <result id> --output-dir <output dir>:
  Export a given set of out puts to the specified output dir

--------------------
Example usage
--------------------

$ openquake --list-calculations
7: Disaggregation for Zürich
18: Classical PSHA for my garden
1283: Uniform Hazard Spectra for the state of Iowa

$ openquake --list-outputs 1283
686: uh_spectra

$ openquake --export 686 --output-dir /home/lars/uhs_data/iowa_uhs/
# print some message about which files where created and where