home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 450458650

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/2636#issuecomment-450458650 https://api.github.com/repos/pydata/xarray/issues/2636 450458650 MDEyOklzc3VlQ29tbWVudDQ1MDQ1ODY1MA== 30388627 2018-12-29T02:38:00Z 2018-12-29T02:39:41Z NONE

@dcherian It works by netCDF4, but not for xarray: ``` file = Dataset('ds1.nc') print (file.variables['time'],'\n')

with xr.open_dataset('ds1.nc') as f: print (f.time.attrs) Output: <class 'netCDF4._netCDF4.Variable'> int64 time(time) units: hours since 2015-01-01 unlimited dimensions: current shape = (3,) filling on, default _FillValue of -9223372036854775806 used

OrderedDict() ```

What's the difference between units and attrs?

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