pyIncore is a component of IN-CORE. It is a python package consisting of two primary components: 1) a set of service classes to interact with the IN-CORE web services, and 2) IN-CORE analyses . The pyIncore allows users to apply various hazards to infrastructure in selected areas, propagating the effect of physical infrastructure damage and loss of functionality to social and economic impacts.
Mozilla Public License 2.0
25
stars
7
forks
source link
Update get allowed demands method to return fixed information if offline #455
We still have at least a few place that talks to the remote service to get the demand units and demand types. Anywhere that uses def get_allowed_demands(self, hazard_type, timeout=(30, 600), **kwargs)
Analysis being affected by are:
pipelinedamage.py
buildingdamage.py
nonstructbuildingdamage.py
We still have at least a few place that talks to the remote service to get the demand units and demand types. Anywhere that uses def get_allowed_demands(self, hazard_type, timeout=(30, 600), **kwargs)
Analysis being affected by are: pipelinedamage.py buildingdamage.py nonstructbuildingdamage.py
Originally posted by @longshuicy in https://github.com/IN-CORE/pyincore/issues/451#issuecomment-1830769684
This task is related to #451