Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cftime units natively in xr_linregress, linear_trend and xr_detrend #69

Open
jbusecke opened this issue Apr 12, 2020 · 0 comments

Comments

@jbusecke
Copy link
Owner

Currently these fail if a coordinate containing cfdatetime is passed. Is there a way to deal with this natively? This would be very interesting for irregularly spaced data.

linear_trend for instance is just assuming that the data is regularly spaced and will work on logical indicies of the dim that is passed. But it would be nice if xr_linregress could deal with these more complicated cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant