We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Calling plot_profile() with specified times=..., for which any of the specified times does not exist throws a cryptic message:
plot_profile()
times=...
ValueError: x and y must have same first dimension, but have shapes (0, 200) and (200,)
where 200 is the number of height levels. This backtraces to https://github.com/a2e-mmc/mmctools/blob/master/plotting.py#L819.
This should instead say something along the lines of "The requested time does not exist in the dataset" and then skip that particular profile.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Calling
plot_profile()
with specifiedtimes=...
, for which any of the specified times does not exist throws a cryptic message:where 200 is the number of height levels. This backtraces to https://github.com/a2e-mmc/mmctools/blob/master/plotting.py#L819.
This should instead say something along the lines of "The requested time does not exist in the dataset" and then skip that particular profile.
The text was updated successfully, but these errors were encountered: