home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 410950987

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/2231#issuecomment-410950987 https://api.github.com/repos/pydata/xarray/issues/2231 410950987 MDEyOklzc3VlQ29tbWVudDQxMDk1MDk4Nw== 6063709 2018-08-07T06:43:26Z 2018-08-07T06:59:22Z CONTRIBUTOR

Sorry, xarray doesn’t handle time bounds directly, nor does it update metadata according to cfconventions. These were intentional design choices to keep xarray simple, but in principle you could layer cf convention handling on top of xarray.

Nor does it bring along bounds variables when extracting variables from a dataset, e.g. double time(time) ; time:long_name = "time" ; time:cartesian_axis = "T" ; time:calendar_type = "NOLEAP" ; time:bounds = "time_bounds" ; time:units = "days since 0001-01-01" ; time:calendar = "NOLEAP" ; When a variable using the time dimension is extracted from a Dataset, the time_bounds variable is missing.

Is this also an intentional choice or something that xarray could/should support? Or does already and I've missed how to invoke this.

Edit: I've just realised, how is xarray supposed to "bring along" another variable in a DataArray object? I'll leave this query as maybe there is a solution? Have a bounds attribute similar to the coords attribute?

Is this just a dupe of https://github.com/pydata/xarray/issues/1475 ?

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