DimensionMismatch for a Raster

This is a bug in DimensionalData.jl. But a very subtle one.

For broadcast we need to compare that the dimensions are the same (DD promises not to broadcast different dimensions together or the returned dimensions are ambiguous), but we need to relax the comparison a little.

Basically we will need to allow mismatches where the length of one dimension is 1, and make sure to keep the longer dimension.

1 Like