monocongo / climate_indices

Climate indices for drought monitoring
https://monocongo.github.io/climate_indices/
Other
335 stars 160 forks source link

Profile Pearson Type III transform/fitting code #100

Open monocongo opened 6 years ago

monocongo commented 6 years ago

The Pearson Type III SPI runs at least a magnitude slower than does the SPI using a Gamma transform/fitting. Profile using the Kern profiler and/or other tools (Understand?) to identify the "hot" functions so these can be rewritten in C or optimized in other ways.

monocongo commented 5 years ago

We previously added code to compute Pearson fitting using a scipy module, this can be revisited to see if it will improve performance while providing equivalent computations.