Open bjarthur opened 10 months ago
most likely is because currently there is not a @dim
definition as in DimensionalData.@dim D1
. I agree that is annoying, suggestions [PRs] are welcome.
The construction of the DimArray or Yaxarray in yaxcreate in YAXArrayBase is using the Dim Constructor explicitely. There might be a smarter way to get the Dimension from a dimension name.
why the change from D1, D2 here to Dim{:D1}, Dim{:D2} when converting a dimarray to a yaxarray?
same thing happens in the other direction, yax to dd:
there is a workaround, but why doesn't yaxconvert operate like this?
i ask because indexing with D1 is more succinct and easier to read and type than Dim{:D1}.