issues: 129150619
This data as json
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
129150619 | MDU6SXNzdWUxMjkxNTA2MTk= | 729 | Cannot write dask Dataset to NetCDF file | 16919188 | closed | 0 | 18 | 2016-01-27T13:55:56Z | 2016-10-28T07:25:29Z | 2016-10-28T07:25:29Z | NONE | I have a xarray Dataset created using dask, which i would like to write on my disk. The size of this dataset is 12GB, and my computer has 64GB of memory, but when I run the 'to_netcdf' command, my memory crashes. ``` python type(nc) Out[5]: xray.core.dataset.Dataset nc.chunks Out[6]: Frozen(SortedKeysDict({'Denree': (19,), u'NIsoSource': (10, 10, 10, 10, 10, 6), 'Pop': (6,), u'DimJ0': (20, 17), u'DimK0': (1,), u'time': (50, 50, 50, 50, 3), u'DimI0': (15,), 'TypeDose': (2,)})) nc.nbytes * (2 ** -30) Out[7]: 12.4569926 ``` I don't understand what i'm doing wrong, so thanks for your help. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |