home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 243253510

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/992#issuecomment-243253510 https://api.github.com/repos/pydata/xarray/issues/992 243253510 MDEyOklzc3VlQ29tbWVudDI0MzI1MzUxMA== 3404817 2016-08-29T20:56:55Z 2016-08-29T20:56:55Z CONTRIBUTOR

OK, I'd be up for taking a shot at it.

Since it is per-variable and specific to netCDF, I guess the perfect place to add this is in the encoding dictionary that you can pass to to_netcdf, right? Maybe as key unlimited? E.g.

ds.to_netcdf(encoding={'time': dict(unlimited=True)})

I need to look up whether netCDF allows for defining more than one unlimited dimension, otherwise that must throw an error.

And then it is just about passing None as length to CreateDimension, at least in netCDF4 and scipy.io.netcdf. But I did not look into how xarray handles that under the hood.

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