def __init__(self): super(VolcanoPointBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) # A set of volcano names self.volcano_names = set() self._affected_categories_volcano = [] self.hazard_zone_attribute = 'radius'
def __init__(self): super(ClassifiedPolygonHazardBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) # Hazard zones are all unique values from the hazard zone attribute self.hazard_zones = [] # Set the question of the IF (as the hazard data is not an event) self.question = tr( 'In each of the hazard zones how many buildings might be ' 'affected?')
def __init__(self): super(ClassifiedPolygonHazardBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) # Hazard zones are all unique values from the hazard zone attribute self.hazard_zones = [] # Set the question of the IF (as the hazard data is not an event) self.question = tr( 'In each of the hazard zones how many buildings might be ' 'affected?')
def __init__(self): """Constructor (calls ctor of base class).""" super(TsunamiRasterBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self._target_field = 'depth' self.hazard_classes = [ tr('Dry Zone'), tr('Low Hazard Zone'), tr('Medium Hazard Zone'), tr('High Hazard Zone'), tr('Very High Hazard Zone'), ]
def __init__(self): """Constructor (calls ctor of base class).""" super(TsunamiRasterBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self._target_field = 'depth' self.hazard_classes = [ tr('Dry Zone'), tr('Low Hazard Zone'), tr('Medium Hazard Zone'), tr('High Hazard Zone'), tr('Very High Hazard Zone'), ]
def __init__(self): """Constructor (calls ctor of base class).""" super(FloodRasterBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self)
def __init__(self): super(EarthquakeBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self.is_nexis = False self.structure_class_field = None
def __init__(self): """Constructor (calls ctor of base class).""" super(FloodRasterBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self)
def __init__(self): super(ClassifiedRasterHazardBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self.affected_field = "affected" self.target_field = "hazard"
def __init__(self): super(VolcanoPolygonBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self.volcano_names = tr('Not specified in data') self._target_field = 'Hazard'
def __init__(self): super(FloodPolygonBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) # The 'wet' variable self.wet = 'wet'
def __init__(self): super(ClassifiedRasterHazardBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self.affected_field = 'affected' self.target_field = 'hazard'
def __init__(self): super(FloodPolygonBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) # The 'wet' variable self.wet = 'wet'
def __init__(self): super(EarthquakeBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) self.is_nexis = False self.structure_class_field = None
def __init__(self): super(VolcanoPolygonBuildingFunction, self).__init__() BuildingExposureReportMixin.__init__(self) # A set of volcano names self.volcano_names = set() self._target_field = 'Hazard'