home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 706766842

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/4495#issuecomment-706766842 https://api.github.com/repos/pydata/xarray/issues/4495 706766842 MDEyOklzc3VlQ29tbWVudDcwNjc2Njg0Mg== 10194086 2020-10-11T20:54:41Z 2020-10-11T20:54:41Z MEMBER

Following the data through combine_by_coords to _infer_concat_order_from_coords the following happens

https://github.com/pydata/xarray/blob/080caf4246fe2f4d6aa0c5dcb65a99b376fa669b/xarray/core/combine.py#L49

```python import pandas as pd

indexes = [da1.indexes["time"], da2.indexes["time"]]

first_items = pd.Index([index[0] for index in indexes]) series = first_items.to_series() series.rank(method="dense", ascending=ascending) which returnspython Series([], dtype: float64) thus it tries to iterate through an empty list. We probably need to setpython series.rank(method="dense", ascending=True, numeric_only=False) which raisespython <array_function internals> in lexsort(args, *kwargs)

cftime/_cftime.pyx in cftime._cftime.datetime.richcmp()

TypeError: cannot compare cftime.DatetimeGregorian(2000, 1, 1, 0, 0, 0, 0) and cftime.DatetimeProlepticGregorian(2001, 1, 1, 0, 0, 0, 0) (different calendars) ``` but I wonder what test failures this brings...

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