home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 157567446

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/662#issuecomment-157567446 https://api.github.com/repos/pydata/xarray/issues/662 157567446 MDEyOklzc3VlQ29tbWVudDE1NzU2NzQ0Ng== 7799184 2015-11-18T01:26:01Z 2015-11-18T01:26:01Z CONTRIBUTOR

@shoyer I'm sending you by email (was not able to attach here) a stripped version of one of the files I was using. The code below should reproduce the issue:

import xray dset = xray.open_dataset('hycom_example.nc', decode_times=False) ncvar = 'water_u' dset_sliced = xray.Dataset() slice_dict = {u'lat': [-30], u'lon': [0]} dset_sliced[ncvar] = dset[ncvar].sel(method='nearest', **slice_dict) dset_sliced.to_netcdf()

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