home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 129484020

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/523#issuecomment-129484020 https://api.github.com/repos/pydata/xarray/issues/523 129484020 MDEyOklzc3VlQ29tbWVudDEyOTQ4NDAyMA== 950575 2015-08-10T15:06:09Z 2015-08-10T15:15:11Z CONTRIBUTOR

@rabernat here is an example on how to read those dates using cf_units (big download for a small example :wink:):

http://nbviewer.ipython.org/gist/ocefpaf/d14bd8ad24f4e1a47b19

My point with this example is: netCDF4-python should not do that for you! And, of xray wants to go down that road, it must be done with some warnings and good documentation!

By accepting these rules (by rules I mean how UDUNITS interprets the dates and how that interpretation is part of the CF-convention) you are leaving the world of "read my data" and entering a world of "interpret my data."

cf_units interprets your data as CF-compliant and does what you expect from that Common Data Model.

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