This updates to the xarray v0.16.0 requirement. This allows us to use xr.infer_freq directly. I avoided using xr.corr() since it doesn't really add any value over us using xskillscore.pearson_r. The xarray version does not have an option to return a p value, so we'ld literally only change our code from xs.pearson_r to xr.corr. And we'd need xs.pearson_r_p_value anyways so we wouldn't drop the requirement.
Description
This updates to the
xarray
v0.16.0 requirement. This allows us to usexr.infer_freq
directly. I avoided usingxr.corr()
since it doesn't really add any value over us usingxskillscore.pearson_r
. Thexarray
version does not have an option to return a p value, so we'ld literally only change our code fromxs.pearson_r
toxr.corr
. And we'd needxs.pearson_r_p_value
anyways so we wouldn't drop the requirement.