File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,8 @@ def _chunk_ds(
323
323
token = (None ,)
324
324
name_prefix = None
325
325
326
+ print (f"inside _chunk_ds chunks={ chunks } " )
327
+
326
328
variables = {}
327
329
for name , var in backend_ds .variables .items ():
328
330
var_chunks = _get_chunk (var , chunks )
Original file line number Diff line number Diff line change @@ -282,6 +282,8 @@ def _maybe_chunk(
282
282
if chunks is not None :
283
283
chunks = {dim : chunks [dim ] for dim in var .dims if dim in chunks }
284
284
285
+ print (f"inside _maybe_chunk chunks={ chunks } " )
286
+
285
287
if var .ndim :
286
288
chunked_array_type = guess_chunkmanager_name (chunked_array_type )
287
289
if chunked_array_type == "dask" :
Original file line number Diff line number Diff line change @@ -1241,6 +1241,8 @@ def chunk(
1241
1241
inline_array = inline_array ,
1242
1242
)
1243
1243
1244
+ print (f"inside variable.chunk chunks={ chunks } " )
1245
+
1244
1246
data = chunkmanager .from_array (self ._data , chunks , ** _from_array_kwargs )
1245
1247
1246
1248
return self ._replace (data = data )
You can’t perform that action at this time.
0 commit comments