home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 598466232

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/2416#issuecomment-598466232 https://api.github.com/repos/pydata/xarray/issues/2416 598466232 MDEyOklzc3VlQ29tbWVudDU5ODQ2NjIzMg== 6628425 2020-03-12T22:49:46Z 2020-03-12T22:49:46Z MEMBER

Thanks @aaronspring -- I agree, it would be useful for CFTimeIndex to have a calendar type string attribute. I think you could probably leverage coding.times.infer_calendar_name within CFTimeIndex to determine its value. We'd be happy to take a PR.

You may also be aware that CFTimeIndex already has a date_type property, which can be useful on occasion. It returns the type of date used in the index, e.g. cftime.DatetimeNoLeap.

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