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

Behavior when bounds are missing when selecting avg #311

Open
James-Crean opened this issue Jun 21, 2018 · 0 comments
Open

Behavior when bounds are missing when selecting avg #311

James-Crean opened this issue Jun 21, 2018 · 0 comments

Comments

@James-Crean
Copy link
Contributor

Averages can not be taken across an axis that has no bounds. This currently throws as error, but the error message come out garbled. We need to fix the error message, and possibly apply a check for missing bounds.
If the bounds are missing, we should disable the ability to select an average at all since it wont work.

Steps to reproduce:

  1. Select a variable such as clt from 'clt.nc'
  2. When the dimensions are shown, avg the time axis and load the variable.
  3. Plot clt. A garbled message will appear like the following:
    "('B', 'o', 'u', 'n', 'd', 's', ' ', 'n', 'o', 't', ' ', 'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', ' ', 't', 'o',...
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