Esempio n. 1
0
    def __init__(self, nrml_path, oq_job_id):
        super(GmfDBWriter, self).__init__(nrml_path, oq_job_id)

        self.bulk_inserter = writer.BulkInserter(models.GmfData)
Esempio n. 2
0
 def __init__(self, nrml_path, oq_job_id):
     super(HazardCurveDBWriter, self).__init__(nrml_path, oq_job_id)
     self.bulk_inserter = writer.BulkInserter(models.HazardCurveData)
     self.hazard_curve = None
Esempio n. 3
0
    def __init__(self, nrml_path, oq_job_id):
        super(LossMapDBWriter, self).__init__(nrml_path, oq_job_id)

        self.metadata = None
        self.bulk_inserter = writer.BulkInserter(models.LossMapData)
Esempio n. 4
0
    def __init__(self, nrml_path, oq_job_id):
        super(LossCurveDBWriter, self).__init__(nrml_path, oq_job_id)

        self.curve = None
        self.bulk_inserter = writer.BulkInserter(models.LossCurveData)
Esempio n. 5
0
    def __init__(self, nrml_path, oq_job_id):
        super(GmfDBWriter, self).__init__(nrml_path, oq_job_id)

        self.curves_per_branch_label = {}
        self.bulk_inserter = writer.BulkInserter(models.GmfData)