What is the replacement for `LookupArrays`?
Hi, just trying to update to 0.30. I saw in the new changelog that
- Removed deprecated LookupArrays and LookupArray
However I am not sure what their replacement is. So far in my code I am doing:
```
using DimensionalData.Dimensions, DimensionalData.LookupArrays
```
and adding a custom indexing method for an array that extends DD, like so:
```
# This modifies what happens on A[Coord(Lat(x..y))]
function DimensionalData.selectindices(c::Coord,
sel::Tuple{<:Lat{ <: DimensionalData.LookupArrays.IntervalSets.AbstractInterval}})
l1 = sel[1].val.left; l2 = sel[1].val.right
return coord_latitudes_between(gnv(c), l1, l2) # this is Vector{Int}
end
```
关闭于 2026-02-20 2 条评论