issues
1 row where type = "issue" and user = 305196 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date), closed_at (date)
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at ▲ | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
125386091 | MDU6SXNzdWUxMjUzODYwOTE= | 709 | Dataset.to_netcdf() fails to interpret 'encoding' option | tkanmae 305196 | closed | 0 | 0.7.0 1368762 | 6 | 2016-01-07T12:35:39Z | 2019-02-08T15:11:41Z | 2016-01-08T06:22:47Z | CONTRIBUTOR | Attempting to save a dataset with compression
raises an exception as follows:: ```ValueError Traceback (most recent call last) <ipython-input-7-ec637fd612fd> in <module>() ----> 1 ds.to_netcdf('demo.nc', mode='w', encoding={'data': {'zlib': True}}) /Users/takeshi/Developer/xray/xray/core/dataset.py in to_netcdf(self, path, mode, format, group, engine, encoding) 782 from ..backends.api import to_netcdf 783 return to_netcdf(self, path, mode, format=format, group=group, --> 784 engine=engine, encoding=encoding) 785 786 dump = utils.function_alias(to_netcdf, 'dump') /Users/takeshi/Developer/xray/xray/backends/api.py in to_netcdf(dataset, path, mode, format, group, engine, writer, encoding) 352 store = store_cls(path, mode, format, group, writer) 353 try: --> 354 dataset.dump_to_store(store, sync=sync, encoding=encoding) 355 if isinstance(path, BytesIO): 356 return path.getvalue() /Users/takeshi/Developer/xray/xray/core/dataset.py in dump_to_store(self, store, encoder, sync, encoding) 728 variables, attrs = encoder(variables, attrs) 729 --> 730 store.store(variables, attrs, check_encoding) 731 if sync: 732 store.sync() /Users/takeshi/Developer/xray/xray/backends/common.py in store(self, variables, attributes, check_encoding_set) 226 cf_variables, cf_attrs = cf_encoder(variables, attributes) 227 AbstractWritableDataStore.store(self, cf_variables, cf_attrs, --> 228 check_encoding_set) /Users/takeshi/Developer/xray/xray/backends/common.py in store(self, variables, attributes, check_encoding_set) 201 if not (k in neccesary_dims and 202 is_trivial_index(v))) --> 203 self.set_variables(variables, check_encoding_set) 204 205 def set_attributes(self, attributes): /Users/takeshi/Developer/xray/xray/backends/common.py in set_variables(self, variables, check_encoding_set) 211 name = _encode_variable_name(vn) 212 check = vn in check_encoding_set --> 213 target, source = self.prepare_variable(name, v, check) 214 self.writer.add(source, target) 215 /Users/takeshi/Developer/xray/xray/backends/netCDF4_.py in prepare_variable(self, name, variable, check_encoding) 259 260 encoding = _extract_nc4_encoding(variable, --> 261 raise_on_invalid=check_encoding) 262 nc4_var = self.ds.createVariable( 263 varname=name, /Users/takeshi/Developer/xray/xray/backends/netCDF4_.py in _extract_nc4_encoding(variable, raise_on_invalid, lsd_okay, backend) 160 if invalid: 161 raise ValueError('unexpected encoding parameters for %r backend: ' --> 162 ' %r' % (backend, invalid)) 163 else: 164 for k in list(encoding): ValueError: unexpected encoding parameters for 'netCDF4' backend: ['z', 'l', 'i', 'b'] ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);