Rafael Schouten

Results 1133 comments of Rafael Schouten

I've just looked into this more and the main problem is if we make a `NamedTuple` of `DimArray`. Currently everything goes through the `DimStack` constructor for `NamedTuple{

`map` also goes through `NamedTuple`, but we can skip around that too and `map` over tuples, wrapping the result as `NamedTuple`. But I do find it odd that `NamedTuple` is...

You can fully construct a `Categorical` or `Sampled` lookup yourself if you know the values. Rasters.jl does this. Autodection is for end users - strings and symbols are always categorical,...

I guess we could make Between work on `Unordered` ? It just needs a `between` function for that using `findfirst`. Its in the selectors.jl file in the LookupArrays module. (This...

@kdheepak there is just a mistake in your code - you have `Tech` twice: ```julia DimArray(zeros(2,2), (Enduse = ["hello", "world"], Tech = Tech(DD.Categorical(["hello", "world"], order=DimensionalData.ForwardOrdered())))) ``` You need to either...

@pmodv do notice that your Y dimension is broken - it isn't `ForwardOrdered`. You will get the wrong results with `At` because it will try to use `searchsortedfirst`. If the...

Instead of forcing `ForwardOrdered` the real question is from above: > I guess we could make Between work on Unordered ?

Yeah - the `Dim{:Tech}` thing is kinda confusing. Thats the default object when there is no available type, and you cant make it inherit from anything. (You can do `@dim...

Why force Unordered? `At` works fine ether way as long as the type matches the state of the lookup. (Or youre saying you dont know if its ordered?) `Between` or...

Yourv At example is just `..` but not implemented. It wont need the At parts. You _can_ pit a vector inside At if you want that, but you have to...