home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 870748510

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/5551#issuecomment-870748510 https://api.github.com/repos/pydata/xarray/issues/5551 870748510 MDEyOklzc3VlQ29tbWVudDg3MDc0ODUxMA== 20629530 2021-06-29T16:35:02Z 2021-06-29T16:39:59Z CONTRIBUTOR

EDIT: I hit enter a bit too soon... I think I found the very source of the problem, maybe this could be fixed in cftime:

```python import pickle

ds.time # same No-Leap coordinate as in the MWE above

Items are instances of cftime.DatetimeNoLeap

pickle.loads(pickle.dumps(ds.time))

Items are instances of cftime.datetime, calendar information is now only an attribute, get_clean_interp_index will fail

```

However, as xarray has the possiblity to contain cftime coordinates where the calendar is an attribute, I guess get_clean_interp_index needs to be fixed?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  932898075
Powered by Datasette · Queries took 0.743ms · About: xarray-datasette