home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 212029772

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/827#issuecomment-212029772 https://api.github.com/repos/pydata/xarray/issues/827 212029772 MDEyOklzc3VlQ29tbWVudDIxMjAyOTc3Mg== 2443309 2016-04-19T17:32:45Z 2016-04-19T17:32:45Z MEMBER

Unfortunately, pandas interprets dates like '1-1-1' or '01-JAN-0001' as January 1, 2001

this is too bad.

use netCDF4's reference time decoding (if available) before trying to use pandas in decode_cf_datetime. Note that it is important to only decode only the one reference time if possible using netCDF4, because it's a lot faster to parse dates with vectorized operations with pandas/numpy.

This seems easy enough. It would be nice if we always had netcdftime available.

I can try to take a hack at this later this week (unless someone gets there first).

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