issue_comments
4 rows where issue = 1136315478 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- ds.to_netcdf() changes values of variable · 4 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1039323638 | https://github.com/pydata/xarray/issues/6272#issuecomment-1039323638 | https://api.github.com/repos/pydata/xarray/issues/6272 | IC_kwDOAMm_X8498tH2 | ArcticSnow 2042458 | 2022-02-14T16:59:07Z | 2022-02-14T16:59:07Z | NONE | oh and another strange thing. The timeseries I multiply by 1 and save to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ds.to_netcdf() changes values of variable 1136315478 | |
1039317394 | https://github.com/pydata/xarray/issues/6272#issuecomment-1039317394 | https://api.github.com/repos/pydata/xarray/issues/6272 | IC_kwDOAMm_X8498rmS | ArcticSnow 2042458 | 2022-02-14T16:53:06Z | 2022-02-14T16:53:06Z | NONE | and in case I multiply the variable In [79]: d1 = xr.open_dataset('sub1.nc') In [80]: d1.z.encoding Out[80]: {'zlib': False, 'shuffle': False, 'complevel': 0, 'fletcher32': False, 'contiguous': True, 'chunksizes': None, 'source': '/home/simonfi/github/TopoPyScale_examples/ex1_norway_finse/sub1.nc', 'original_shape': (35760, 14, 3, 3), 'dtype': dtype('float32'), '_FillValue': nan} ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ds.to_netcdf() changes values of variable 1136315478 | |
1039303417 | https://github.com/pydata/xarray/issues/6272#issuecomment-1039303417 | https://api.github.com/repos/pydata/xarray/issues/6272 | IC_kwDOAMm_X8498oL5 | ArcticSnow 2042458 | 2022-02-14T16:39:49Z | 2022-02-14T16:41:15Z | NONE | Thank you for your reply @andersy005. So this is the encodiing before writing to netcdf, when loaded with In [63]: ds.z.isel(latitude=[1,2,3], longitude=[3,4,5]).attrs
Out[63]:
{'units': 'm2 s-2',
'long_name': 'Geopotential',
'standard_name': 'geopotential'}
As this offset is not applied constantly in the dimension *sorry for the large data gap in between 1980 and the 2000's. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ds.to_netcdf() changes values of variable 1136315478 | |
1039149253 | https://github.com/pydata/xarray/issues/6272#issuecomment-1039149253 | https://api.github.com/repos/pydata/xarray/issues/6272 | IC_kwDOAMm_X8498CjF | andersy005 13301940 | 2022-02-14T14:26:44Z | 2022-02-14T14:26:44Z | MEMBER | @ArcticSnow,
You may have
There's a chance xarray is discarding the attributes/encoding during the What's the output of
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ds.to_netcdf() changes values of variable 1136315478 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 2