UHS config param validation
Bug #888181 reported by
Lars Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
High
|
Lars Butler |
Bug Description
The UHS calculator only really adds 1 new config param:
UHS_PERIODS (ordered list of floats, >= 0.0, no duplicates)
However, we need to some additional parameter checking:
1) The INTENSITY_
2) PERIOD is typically a required param for calculations with IMT=SA. For UHS calculations PERIOD (which is a single float value) shall NOT be defined. Instead, UHS_PERIODS (a list of float values) is required instead. (Note: PERIOD and UHS_PERIODS are used in a similar as parameters for GMPEs.)
description: | updated |
Changed in openquake: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Lars Butler (lars-butler) |
milestone: | none → 0.4.6 |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Pull request: https:/ /github. com/gem/ openquake/ pull/575