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

PlotSpectrum does not work for LAM #126

Open
JPXKQX opened this issue Nov 8, 2024 · 1 comment
Open

PlotSpectrum does not work for LAM #126

JPXKQX opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JPXKQX
Copy link
Member

JPXKQX commented Nov 8, 2024

What happened?

PlotSpectrum callback fails when included in LAM experiments.

What are the steps to reproduce the bug?

Train a limited area model with plot: detailed so PlotSpectrum is used.

Version

develop

Platform (OS and architecture)

x86_64 GNU/Linux

Relevant log output

File ".../anemoi-training/src/anemoi/training/diagnostics/plots.py", line 255, in compute_spectra
    coeffs_field = SHExpandGLQ(field, w=zero_w[1], zero=zero_w[0])
  File ".../conda/envs/anemoi-dev/lib/python3.10/site-packages/pyshtools/backends/shtools.py", line 212, in wrapped_func
    raise SHToolsError(_shtools_status_message(returned_values[0]))
pyshtools.backends.shtools.SHToolsError: Improper dimensions of input array.

Organisation

ECMWF

@JPXKQX JPXKQX added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@JPXKQX and others