home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 404020492

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/2164#issuecomment-404020492 https://api.github.com/repos/pydata/xarray/issues/2164 404020492 MDEyOklzc3VlQ29tbWVudDQwNDAyMDQ5Mg== 6628425 2018-07-11T02:00:06Z 2018-07-11T02:00:06Z MEMBER

@jbusecke I recently stumbled upon https://github.com/SciTools/nc-time-axis. You can install it through conda-forge: $ conda install -c conda-forge nc-time-axis However, for now you won't be able to use xarray's built in plotting, since xarray will raise an error if you try to plot anything with coordinates that aren't numeric or of type datetime.datetime or np.datetime64 (but nc-time-axis at least gives you matplotlib support). You'll also need to convert your dates to nc_time_axis.CalendarDateTime objects; you can do that with a simple list comprehension (see the example in their README).

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