Rafael Schouten

Results 1148 comments of Rafael Schouten

Yeah, there are for and against for this. I think the question isnt about broadcast but if `similar` keeps the name or not. Often the name says something about the...

Yeah, this has been a contentious thing for a while. It initially required `At` - I chose it because its the shortest thing that could mean that to minimise how...

This is the problem, what to do in this case: ```julia mycustomfunction.(sentinel .* 0.0001f0 .* some_other_dim_array.^2) ./ yet_another_dim_array ``` Its a broadcast just like yours, and at the level of...

Broadcasting is a huge use case of `DimArray` and arrays generally in Julia. Its how everything works internally in Rasters.jl - DiskArrays.jl has lazy broadcasting over big data so we...

I'm open to working on a change if this will be blocking to use cases elsewhere. But we have to be careful with the syntax as we're trying to do...

I may have a solution to this. We can use `getproperty` to access `DimStack` layers, instead of `getindex`, like: ```julia julia> st.a 10-element DimArray{Float64,1} a with dimensions: X Categorical Symbol[a,...

This is going to break a LOT of scripts built on Rasters.jl. I will have to check in with people and see what they think, so it might take a...

Probably this is better: https://github.com/andyferris/AcceleratedArrays.jl But there was some reason it didn't "just work" here, that may have changed now. Try a PR? Edit: also no point doing this just...

Ok looks like we are missing methods for `hvncat`. Somehow I didn't even know that existed, looks like it was only added to Base in 2021.

Turns out this is kind of a nightmare to actually implement if we want the dimensions to be guaranteed to make sense afterwards. `hvncat` accepts a pretty complex mosaic of...