Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The YAXArray construction with named Axes example fails. #294

Closed
Qfl3x opened this issue Jul 21, 2023 · 2 comments
Closed

The YAXArray construction with named Axes example fails. #294

Qfl3x opened this issue Jul 21, 2023 · 2 comments

Comments

@Qfl3x
Copy link
Contributor

Qfl3x commented Jul 21, 2023

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
Copy link
Member

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
Copy link
Contributor Author

Qfl3x commented Jul 24, 2023

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

@Qfl3x Qfl3x closed this as completed Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants