Skip to content

Commit

Permalink
Merge pull request giswqs#5 from cclauss/patch-3
Browse files Browse the repository at this point in the history
Fix undefined name: co --> covar
  • Loading branch information
giswqs authored Dec 30, 2019
2 parents 619f1a8 + eedf6d5 commit 8af47d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Array/eigen_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getPrincipalComponents(centered, scale, region):
arrays = centered.toArray()

# Compute the covariance of the bands within the region.
co= arrays.reduceRegion({
covar = arrays.reduceRegion({
'reducer': ee.Reducer.centeredCovariance(),
'geometry': region,
'scale': scale,
Expand Down

0 comments on commit 8af47d9

Please sign in to comment.