Add config param validation for 'disaggregation' jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
High
|
Lars Butler |
Bug Description
With the introduction of the disaggregation hazard calculator, we need to properly validate the job config parameters.
The disaggregation calculator introduces several new config parameters:
LATITUDE_BIN_LIMITS = list of latitude values representing bin limits used for disaggregation, values must be in increasing order
LONGITUDE_
MAGNITUDE_
EPSILON_BIN_LIMITS = list of epsilon values representing bin limits for disaggregation, values must be in increasing order
DISTANCE_BIN_LIMITS = list of distance values representing bin limits for disaggregation, values must be in increasing order
POES = list of probabilities of exceedence to disaggregate
The following parameters, which are used in existing calculators, are also relevant to the disaggregation calculator:
OUTPUT_DIR
GMPE_LOGIC_
GMPE_LT_RANDOM_SEED
SOURCE_
SOURCE_
NUMBER_
MINIMUM_MAGNITUDE
INVESTIGATION_TIME
MAXIMUM_DISTANCE
WIDTH_OF_MFD_BIN
COMPONENT
INTENSITY_
PERIOD
DAMPING
INTENSITY_
GMPE_TRUNCATION
TRUNCATION_LEVEL
STANDARD_
REFERENCE_
REFERENCE_
SADIGH_SITE_TYPE
INCLUDE_
TREAT_AREA_
AREA_SOURCE_
AREA_SOURCE_
INCLUDE_
TREAT_GRID_
GRID_SOURCE_
INCLUDE_
FAULT_RUPTURE_
FAULT_SURFACE_
FAULT_MAGNITUDE
FAULT_MAGNITUDE
RUPTURE_
RUPTURE_
INCLUDE_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
description: | updated |
tags: | added: disaggregation hazard |
Changed in openquake: | |
milestone: | none → 0.4.4 |
description: | updated |
Changed in openquake: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Lars Butler (lars-butler) |
Changed in openquake: | |
status: | Confirmed → In Progress |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
Regarding the job configuration, we need for sure to check that the parameters specific to the calculator are specified:
LATITUDE_BIN_LIMITS BIN_LIMITS BIN_LIMITS DISAGGREGATE
LONGITUDE_
MAGNITUDE_
EPSILON_BIN_LIMITS
DISTANCE_BIN_LIMITS
POES_TO_
and also the parameters for GMPE and general calculation parameters:
MINIMUM_MAGNITUDE
INVESTIGATION_TIME
MAXIMUM_DISTANCE
WIDTH_OF_MFD_BIN
COMPONENT MEASURE_ TYPE MEASURE_ LEVELS _TYPE DEVIATION_ TYPE VS30_VALUE DEPTH_TO_ 2PT5KM_ PER_SEC_ PARAM
INTENSITY_
PERIOD
DAMPING
INTENSITY_
GMPE_TRUNCATION
TRUNCATION_LEVEL
STANDARD_
REFERENCE_
REFERENCE_
the parameter /bugs.launchpad .net/openquake/ +bug/856204)
SADIGH_SITE_TYPE will be probably removed (see bug: https:/
The parameters regarding the seismic sources: AREA_SOURCES SOURCE_ AS DISCRETIZATION MAGNITUDE_ SCALING_ RELATIONSHIP
INCLUDE_
TREAT_AREA_
AREA_SOURCE_
AREA_SOURCE_
INCLUDE_ GRID_SOURCES SOURCE_ AS MAGNITUDE_ SCALING_ RELATIONSHIP
TREAT_GRID_
GRID_SOURCE_
INCLUDE_ FAULT_SOURCE OFFSET DISCRETIZATION _SCALING_ RELATIONSHIP _SCALING_ SIGMA ASPECT_ RATIO FLOATING_ TYPE
FAULT_RUPTURE_
FAULT_SURFACE_
FAULT_MAGNITUDE
FAULT_MAGNITUDE
RUPTURE_
RUPTURE_
INCLUDE_ SUBDUCTION_ FAULT_SOURCE FAULT_RUPTURE_ OFFSET FAULT_SURFACE_ DISCRETIZATION FAULT_MAGNITUDE _SCALING_ RELATIONSHIP FAULT_MAGNITUDE _SCALING_ SIGMA RUPTURE_ ASPECT_ RATIO RUPTURE_ FLOATING_ TYPE
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
SUBDUCTION_
may not be all needed. This depends on the source models contained in the logic tree definition. If for instance the source models considered contain only area sources, then only the parameters for area sources should be defined.
For the time being we can require all of them, but in the future we should be more flexible.