-
Hello! I am trying to find the correlation coefficients of single grid point of (time, lat, lon) data in relation to the entire data field.
I was hoping to output a spatial map showing all the correlation coefficients of the spatial field based on that single grid point. What might be wrong with the function? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Does Assuming not, I'm guessing the issue is that |
Beta Was this translation helpful? Give feedback.
-
You could also take a look at https://xskillscore.readthedocs.io/en/stable/api/xskillscore.pearson_r.html#xskillscore.pearson_r |
Beta Was this translation helpful? Give feedback.
Does
xr.corr
suffice?Assuming not, I'm guessing the issue is that
ma.masked_invalid
is no longer a DataArray. What happens if you do the coercion in thepearson_r
function?