issue_comments
8 rows where issue = 569806418 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Dataset problem with chunk DataArray. · 8 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
591709959 | https://github.com/pydata/xarray/issues/3795#issuecomment-591709959 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MTcwOTk1OQ== | keewis 14808389 | 2020-02-27T00:13:12Z | 2020-02-27T00:13:12Z | MEMBER | Is there a reason you need to have exactly one chunk? The chunks are used to reduce the memory needed when computing the final results and you should only need to care about them if you are trying to optimize the speed / memory footprint of your operations. If you really need to have exactly one chunk (and you have enough memory), it might be better to use I'm not really experienced with the backends / |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590375940 | https://github.com/pydata/xarray/issues/3795#issuecomment-590375940 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDM3NTk0MA== | JavierRuano 34353851 | 2020-02-24T15:21:42Z | 2020-02-24T15:26:57Z | NONE | df1=xarray.open_mfdataset plus parallel=True df1=df1.rename({'xarray_dataarray_variable':'v'}) The chunksize changes to 365 and the dataset creates inside a Datarray of 365, not the global size which is 14610. [xarray.Dataset('u':df1,'v'df2)] df2 same operation Pseudo Solution for me. xarray.Dataset({'u':df1.u.chunk(14610),'v':df2.v.chunk(14610)},coords={'time':time_Index,'latitude':latitude_Index,'longitude':longitude_Index,'level':level_Index}) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590369650 | https://github.com/pydata/xarray/issues/3795#issuecomment-590369650 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDM2OTY1MA== | keewis 14808389 | 2020-02-24T15:10:40Z | 2020-02-24T15:10:40Z | MEMBER | I don't think Sorry, I should have been clear on what I requested. You don't have to dive into the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590351872 | https://github.com/pydata/xarray/issues/3795#issuecomment-590351872 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDM1MTg3Mg== | JavierRuano 34353851 | 2020-02-24T14:39:11Z | 2020-02-24T15:06:16Z | NONE | backends\api.py DATAARRAY_NAME = "xarray_dataarray_name" DATAARRAY_VARIABLE = "xarray_dataarray_variable" The name is auto when i open the file ,xarrray.open_dataset( parallel=True) core\dataarray.py def rename( self, new_name_or_name_dict: Union[Hashable, Mapping[Hashable, Hashable]] = None, **names: Hashable, ) -> "DataArray":
I think an operation changing the previous chunksize or something with xarrray.open_dataset parallel=True, (core\parallel.py) because the chunksize changes to 365 based on days of the year Sorry i cannot help more. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590316603 | https://github.com/pydata/xarray/issues/3795#issuecomment-590316603 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDMxNjYwMw== | keewis 14808389 | 2020-02-24T13:21:08Z | 2020-02-24T13:21:08Z | MEMBER | that looks fine to me.
modify how? I can't find anything about
again, showing how you modify (in code) would help a lot To really be able to help you and to exclude misunderstandings, I need a bit more information. To be clear, what I would like to know is:
* the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590297372 | https://github.com/pydata/xarray/issues/3795#issuecomment-590297372 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDI5NzM3Mg== | JavierRuano 34353851 | 2020-02-24T12:30:34Z | 2020-02-24T12:30:34Z | NONE | After i modify again the chunksize to 365 to avoid the Memory Error <xarray.Dataset> Dimensions: (latitude: 68, level: 47, longitude: 81, time: 14610) Data variables: u (time, level, latitude, longitude) float32 dask.array<shape=(14610, 47, 68, 81), chunksize=(365, 47, 68, 81)> v (time, level, latitude, longitude) float32 dask.array<shape=(14610, 47, 68, 81), chunksize=(365, 47, 68, 81)> |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590294555 | https://github.com/pydata/xarray/issues/3795#issuecomment-590294555 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDI5NDU1NQ== | JavierRuano 34353851 | 2020-02-24T12:21:39Z | 2020-02-24T12:21:39Z | NONE | The strange is the DataArray chunksize changes after i modify the name 'xarray_dataarray_variable' to use another to the Dataset. <xarray.Dataset> Dimensions: (latitude: 68, level: 47, longitude: 81, time: 14610) Data variables: u (time, level, latitude, longitude) float32 dask.array<shape=(14610, 47, 68, 81), chunksize=(14610, 47, 68, 81)> v (time, level, latitude, longitude) float32 dask.array<shape=(14610, 47, 68, 81), chunksize=(14610, 47, 68, 81)> |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 | |
590290745 | https://github.com/pydata/xarray/issues/3795#issuecomment-590290745 | https://api.github.com/repos/pydata/xarray/issues/3795 | MDEyOklzc3VlQ29tbWVudDU5MDI5MDc0NQ== | keewis 14808389 | 2020-02-24T12:10:03Z | 2020-02-24T12:10:03Z | MEMBER | Could you show a code example demonstrating how you created your dataset / dataarrays and what you are trying to get? For example, something like this: ```python In [1]: import xarray as xr ...: import dask.array as da In [2]: a = da.zeros((14610, 47, 68, 81), chunks=(365, 47, 68, 81)) ...: b = da.zeros((10950, 47, 68, 81), chunks=(365, 47, 68, 81)) ...: ds = xr.Dataset({"a": (("u", "x", "y", "z"), a), "b": (("v", "x", "y", "z"), b)}) ...: ds Out[2]: <xarray.Dataset> Dimensions: (u: 14610, v: 10950, x: 47, y: 68, z: 81) Dimensions without coordinates: u, v, x, y, z Data variables: a (u, x, y, z) float64 dask.array<chunksize=(365, 47, 68, 81), meta=np.ndarray> b (v, x, y, z) float64 dask.array<chunksize=(365, 47, 68, 81), meta=np.ndarray> ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dataset problem with chunk DataArray. 569806418 |
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