Closed dpabon closed 1 year ago
Definitely a bug. Can you try to write at the same time as you are computing? I.e.
outdims = OutDims(RangeAxis("time", dates_builder(new_dates)), path="my_output.zarr",backend=:zarr)
Thanks for the prompt reply Fabian, I ran as suggested
outdims = OutDims(RangeAxis("time", dates_builder(new_dates)), path="/Net/Groups/BGI/scratch/dpabon/lst_monthly_high.zarr",backend=:zarr, overwrite=true)
It works like a charm, but I got a new error when using getAxis in the saved cube. I will report it in a new issue.
This issue was solved by https://github.com/JuliaDataCubes/YAXArrays.jl/commit/5aac674d93bcecf4aa6543306ae11f9933df3cf3
You can use the code below while the new version of YAXArrays is released.
using Pkg
Pkg.add("YAXArrays#main")
Hi there,
I'm computing the median per month of the Land Surface Product in the earth system data cube, but when I want to save the result in zarr the progress bar says 12 days. Am I doing something wrong? Below a minimal working example. Thanks in advance for your help.
mapcube is really fast! It does the computation in ~5 min using a single thread.
But savecube... following the progress bar, it will take 12 days.