home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 686065726

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/4401#issuecomment-686065726 https://api.github.com/repos/pydata/xarray/issues/4401 686065726 MDEyOklzc3VlQ29tbWVudDY4NjA2NTcyNg== 6628425 2020-09-02T22:40:55Z 2020-09-02T22:40:55Z MEMBER

Thanks for raising this @klindsay28; very clean example. This looks like an nc_time_axis issue, since I can reproduce it outside of xarray: ```python import cftime import matplotlib.pyplot as plt import nc_time_axis

time_vals = [cftime.DatetimeNoLeap(1+year, 1+month, 15) for year in range(3) for month in range(12)]

x_vals = [time_val.year + time_val.dayofyr / 365.0 for time_val in time_vals]

fig, ax = plt.subplots(1, 1) ax.plot(time_vals, x_vals, "-o") ```

I'll do some further work to try and diagnose what the issue is there.

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