issue_comments: 1362562275
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/7397#issuecomment-1362562275 | https://api.github.com/repos/pydata/xarray/issues/7397 | 1362562275 | IC_kwDOAMm_X85RNwzj | 720460 | 2022-12-22T08:41:21Z | 2022-12-22T08:41:21Z | NONE | Just tested with to_zarr and it goes through:
I did an extra run using a memory profiler as such: ``` import xarray as xr import zarr from memory_profiler import profile @profile def main(): path = './data/data_*.nc' # files are: data_1.nc data_2.nc data_3.nc data_4.nc data_5.nc data = xr.open_mfdataset(path)
if name=='main':
main()
Here is the outcome for the memory profiling: ``` Line # Mem usage Increment Occurrences Line Contents ============================================================= 5 156.9 MiB 156.9 MiB 1 @profile 6 def main(): 7 156.9 MiB 0.0 MiB 1 path = './data/data_*.nc' # files are: data_1.nc data_2.nc data_3.nc data_4.nc data_5.nc
``` PS: in this test I just realized I loaded 8 files instead of 5. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
1506437087 |