We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6813395 commit 99bf9caCopy full SHA for 99bf9ca
src/DAT/xmap.jl
@@ -375,6 +375,9 @@ Computes the YAXArrays dataset `ods` and saves it to a Zarr dataset at `path`.
375
- `overwrite`: Whether to overwrite the dataset at `path` if it already exists.
376
"""
377
function compute_to_zarr(ods, path; max_cache=5e8,overwrite=false)
378
+ if !isa(ods,Dataset)
379
+ throw(ArgumentError("Direct saving of YAXArrays is not supported. Please wrap your array `a` into a Dataset by calling `Dataset(layer=a)`"))
380
+ end
381
g = DAE.MwopGraph()
382
outnodes = Dict()
383
for k in keys(ods.cubes)
0 commit comments