home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 129059364

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/521#issuecomment-129059364 https://api.github.com/repos/pydata/xarray/issues/521 129059364 MDEyOklzc3VlQ29tbWVudDEyOTA1OTM2NA== 2443309 2015-08-08T22:43:05Z 2015-08-08T22:43:05Z MEMBER

@rabernat -

Yes - this is all coming from the netCDF4.netcdftime module.

The work around with xray is to use ds = xray.open_dataset(filename, decode_times=False) then to fix up the time variable "manually". You can use xray.decode_cf() or simply assign a new pandas time index to your time variable.

As an aside, I also work with CESM output and this is a common problem with its netCDF output.

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