GNS-Science / toshi-hazard-post

Hazard post-processing pipeline as serverless AWS infrastructure.
MIT License
0 stars 1 forks source link

Performance: reduce conversions to rate #9

Closed chrisdicaprio closed 1 year ago

chrisdicaprio commented 1 year ago

In order to reduce the amount of times prob_to_rate() and rate_to_prob() are called and the amount of points they convert, convert to rate when loading data and convert to prob only at the end