JuliaDataCubes / YAXArrays.jl

Yet Another XArray-like Julia package
https://juliadatacubes.github.io/YAXArrays.jl/
Other
99 stars 16 forks source link

CategoricalAxis() not exported #288

Closed dpabon closed 1 year ago

dpabon commented 1 year ago

In v0.5

CategoricalAxis() is not defined (maybe not exported?)

felixcremer commented 1 year ago

This is part of the change to DimensionalData.jl. We don't have our own Axis types like RangeAxis and CategoricalAxis anymore. Everything is now a DimensionalData.Dim and you should replace your previous CategoricalAxis("AxisName", ["Val1", "Val2"]) by the Dimension Dim{:AxisName}(["Val1", "Val2"]).

dpabon commented 1 year ago

Hi Felix,

Thanks for the clarification. As this version YAXArrays break previous code. I will suggest mentioning it in the release notes. Maybe also to include which functions are not exported anymore and the equivalent.

felixcremer commented 1 year ago

Yes, that is a good idea. Would you like to start a PR for that?

dpabon commented 1 year ago

I don't have time this week, but I can do it after my holidays in mid-August.

dpabon commented 1 year ago

I saw this is now included in the documentation, then I will close this issue.