Skip to content

Require definition of hazard type for all impact functions #686

Open
@leonie-villiger

Description

@leonie-villiger

In pull request https://github.com/CLIMADA-project/climada_python/pull/675we added haz_typeas a requirement for impact functions generated through from_sigmoid_impfor from_step_imp. In the initialization of the ImpactFunc, however, haz_type is optional. We should make this consistent.

See also the following discussion #675 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions