-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug in aggregation 'dailyPrecipitationFreeEventDistribution'
- old version of aggregation ‘dailyPrecipitationFreeEventDistribution’ only increased index ‘nv’ of result object ‘resMeans’ if there was at least one precipitation free spell; if it rained on every day, then ‘nv’ wasn’t increased appropriately, and following aggregation results were written to incorrect positions - old version of aggregation ‘dailyPrecipitationEventSizeDistribution’ failed if there was no precipitation at all - aggregations ‘dailyPrecipitationFreeEventDistribution’ and ‘dailyPrecipitationEventSizeDistribution’ performed similar tasks, but used independent code; this code is now unified in a new function ‘tabulate_values_in_bins’
- Loading branch information
dschlaep
committed
Sep 14, 2016
1 parent
ba4c169
commit 2829718
Showing
2 changed files
with
63 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters