GitHub user MJJoyce opened a pull request:
https://github.com/apache/climate/pull/85
CLIMATE-483 - Add basic PatternCorrelation metric
- Rename old PatternCorrelation metric to TemporalPatternCorrelation
since it does an annual reshaping of the datasets before doing a
comparison and that isn't adequately reflected in the metric's name.
The new name also falls in line with the functionality of the
TemporalStdDevRatio metric which also does such a rebin.
- Add basic PatternCorrelation metric that uses
scipy.stats.mstats.linregress to return the r_value for the reference
and target datasets. Note, the metric no longer returns a tuple of
values. It now only returns the r_value. This falls much more in line
with the metrics name in my opinion.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MJJoyce/climate CLIMATE-483
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/climate/pull/85.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #85
----
commit 73e05e3598a29ab29c11c830a04c20464c467020
Author: Michael Joyce <[email protected]>
Date: 2014-07-02T15:10:40Z
CLIMATE-483 - Add basic PatternCorrelation metric
- Rename old PatternCorrelation metric to TemporalPatternCorrelation
since it does an annual reshaping of the datasets before doing a
comparison and that isn't adequately reflected in the metric's name.
The new name also falls in line with the functionality of the
TemporalStdDevRatio metric which also does such a rebin.
- Add basic PatternCorrelation metric that uses
scipy.stats.mstats.linregress to return the r_value for the reference
and target datasets. Note, the metric no longer returns a tuple of
values. It now only returns the r_value. This falls much more in line
with the metrics name in my opinion.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---