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

Transposing dimensions in the construction of EventSeries objects #240

Open
Lucy967 opened this issue Oct 3, 2024 · 0 comments
Open

Transposing dimensions in the construction of EventSeries objects #240

Lucy967 opened this issue Oct 3, 2024 · 0 comments

Comments

@Lucy967
Copy link

Lucy967 commented Oct 3, 2024

Code
We're currently trying to use pyunicorn and found a small potential bug in the EventSeries init function. In the case that input data isn't already preprocessed, we go into the else clause shown in the screenshot. Inside the else clause, the dimensions are transposed if there are fewer time steps than spatial grid points - which is the case for us. We don't know if or why this transposition is necessary and think it's counterintuitive given the doc strings in the functions.

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

1 participant