home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 457768114

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/pull/2665#issuecomment-457768114 https://api.github.com/repos/pydata/xarray/issues/2665 457768114 MDEyOklzc3VlQ29tbWVudDQ1Nzc2ODExNA== 14314623 2019-01-25T23:18:16Z 2019-01-25T23:21:13Z CONTRIBUTOR

I have quickly looked into the testing and found an oddity that might be important if nc-time-axis is not installed.

So in the definition of plot in plot.py I have changed

if contains_cftime_datetimes(darray): to if any([contains_cftime_datetimes(darray[dim]) for dim in darray.dims]): Because if I understand correctly, the previous statement only checks the dtype of the actual data, not the dimensions. Is this appropriate or am I misunderstanding the syntax? In my example above it doesnt matter, because this only spits out an error message when nc-time-axis is not available.

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