JuliaDataCubes / JuliaDataCubes/YAXArrays.jl
Computations with mapCube doesn't show ProgressBar
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 132
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
With ESDL we got a nice progress bar for long running computations. This is not showing up for me at the moment. I would really like to have this progress bar to estimate for very heavy computations how much more computing power I would need to get this done in a reasonable amount of time.
I am using this test function at the moment, because it will take a fixed amount of time.
I would be thankful for some pointers as of where I i would have to fix this so that I could have a look myself tomorrow.
function csleep!(xout, xin)
ts = collect(skipmissing(xin))
sleep(0.1)
#@show size(xout)
xout .= mean(ts)
end
arr = rand(10,10,90);
x = RangeAxis(:X, 1:10)
y = RangeAxis(:Y, 1:10)
t = RangeAxis(:time, 1:90)
yax = YAXArray([x,y,t], arr)
@time mapCube(csleep!, yax, indims=InDims("Time"))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the mapCube entry point and compare its progress reporting with the ESDL behavior described in the issue. Run the provided Julia csleep! and mapCube example, then verify that a progress bar appears during the long-running computation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100