gem / openquake-server

DEPRECATED. Please refer to https://github.com/gem/oq-engine
6 stars 1 forks source link

Add serialize_maps_to_db parameter (defaulting to True) for JobConfigWriter #39

Closed larsbutler closed 13 years ago

larsbutler commented 13 years ago

Hi,

This patch adds a serialize_maps_to_db parameter to the JobConfigWriter constructor. This parameter is used to specify the value of SERIALIZE_MAPS_TO_DB in the [general] section of the output config file.

(If SERIALIZE_MAPS_TO_DB is true, this will indicate to the OQ engine that loss/hazard map results should be written to the db instead of XML.)

al-maisan commented 13 years ago

LGTM