Skip to content

how to group cftime coordinate by week? #6375

Answered by spencerkclark
aaronspring asked this question in Q&A
Discussion options

You must be logged in to vote

The primary reason is that cftime.datetime objects do not implement an isocalendar method (see datetime.date.isocalendar for more details). You could consider raising an issue in the cftime repo. If they did, it would make it pretty easy to enable in xarray.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aaronspring
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants