GNS-Science/nzshm-model

Proposal: TRT Enum

Opened this issue · 0 comments

restrict tectonic region type to an Enum to avoid input errors

  • error check user input

see https://github.com/gem/oq-engine/blob/f524f9032cb97a0665ba8efbdcbd77846967362c/openquake/hazardlib/const.py#L23