Skip to content

Specify base period and return distribution parameters#20

Open
heroldn wants to merge 4 commits intoe-baumer:masterfrom
heroldn:CR_additions
Open

Specify base period and return distribution parameters#20
heroldn wants to merge 4 commits intoe-baumer:masterfrom
heroldn:CR_additions

Conversation

@heroldn
Copy link

@heroldn heroldn commented Aug 19, 2022

Hi Eric, thanks for this tool. I was looking for a python package to calculate these metrics. I've added the ability to specify a base period (pretty fundamental for climate projection work). You do this by specifying "startyr" and "endyr" when calling spi.calculate(). Also the distribution parameters are returned for each calendar month. If you like, please review. I have a comment block or two that could be removed now that I see this MR, I can do that too no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant