JuliaDataCubes / YAXArrays.jl

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

The `YAXArray` construction with named Axes example fails. #294

Closed Qfl3x closed 1 year ago

Qfl3x commented 1 year ago

This example in the wiki fails with error:

ERROR: MethodError: no method matching axsym(::Dim{:time, StepRange{Date, Day}})

Closest candidates are:
  axsym(::CubeAxis{<:Any, S}) where S
   @ YAXArrays ~/.julia/packages/YAXArrays/au5n4/src/Cubes/Axes.jl:164

Tried to make other YAXArrays with Dim and it always fails.

felixcremer commented 1 year ago

Are you on version 0.5? From the method error it seems as if there is still a CubeAxis type. This should not be defined anymore.

Qfl3x commented 1 year ago

It's weird. I've rerun it and it works, should've been the same environment.