openquake.engine.export package¶
openquake.engine.export.core module¶
Functions for getting information about completed jobs and calculation outputs, as well as exporting outputs from the database to various file formats.
-
openquake.engine.export.core.
LT_PATH_JOIN_TOKEN
= '_'¶ Used to separate node labels in a logic tree path
-
openquake.engine.export.core.
export_from_db
(output_key, calc_id, datadir, target)[source]¶ Parameters: - output_key – a pair (ds_key, fmt)
- calc_id – calculation ID
- datadir – directory containing the datastore
- target – directory, temporary when called from the engine server
-
openquake.engine.export.core.
export_output
(dskey, calc_id, datadir, target_dir, export_types)[source]¶ Simple UI wrapper around
openquake.engine.export.core.export_from_db()
yielding a summary of files exported, if any.
-
openquake.engine.export.core.
get_outkey
(dskey, export_types)[source]¶ Extract the first pair (dskey, exptype) found in export
Module contents¶
This package contains functionality for querying and exporting calculation results