You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
Unexpected behavior when using AAL.get_summary() with extra parameters #70
However, when manually providing the 3 default depth values the mid aal value changes to $80,647 (although the damages associated with each depth level are consistent with the previous call)
This could still make sense if i) the property 110200183 is below sea-level, ii) the total value of the structure is $80,647, iii) and if the aal mid value actually reports the total damage estimate without probability weighting when the depth is provided. However using location.get_detail I find that the elevation for this property is a high 699. Is there something I am missing?
It looks like the issue is that the database is caching previous results. When you make your second call with extra_param={"depths": [3,15,31]}, it performs a recalculation and provides the correct values.
For now, please use this fix. We'll be looking into making adjustments to the caching to fix this issue
Activity
Lyetenth commentedon Aug 6, 2021
Hi @JoakimWeill,
It looks like the issue is that the database is caching previous results. When you make your second call with
extra_param={"depths": [3,15,31]}, it performs a recalculation and provides the correct values.For now, please use this fix. We'll be looking into making adjustments to the caching to fix this issue
JoakimWeill commentedon Aug 7, 2021
Thanks for letting me know @Lyetenth, I'll add extra params to the requests.