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

GWHAT crash when estimating recharge if deltaT is not zero #167

Closed
jnsebgosselin opened this issue Mar 8, 2018 · 0 comments
Closed

GWHAT crash when estimating recharge if deltaT is not zero #167

jnsebgosselin opened this issue Mar 8, 2018 · 0 comments

Comments

@jnsebgosselin
Copy link
Owner

GWHAT version 0.2.4
Windows 7 64bits

What steps will reproduce the problem?

  1. Set a value greater than zero in deltaT
  2. Compute recharge
  3. GWHAT crash when producing the graphs.

Traceback

Traceback (most recent call last):
  File "C:\Users\jsgosselin\GWHAT\gwhat\gwrecharge\gwrecharge_gui.py", line 298,
 in receive_glue_calcul
    fig_rechg_glue.plot_recharge(glue_data)
  File "C:\Users\jsgosselin\GWHAT\gwhat\gwrecharge\gwrecharge_plot_results.py",
line 108, in plot_recharge
    self.figure.plot_recharge(data, Ymin0, Ymax0, yrs_range)
  File "C:\Users\jsgosselin\GWHAT\gwhat\gwrecharge\gwrecharge_plot_results.py",
line 291, in plot_recharge
    ax0.plot(yrs2plot, prob_rechg_yrly, ls='--', color='0.35', zorder=100)
  File "C:\Python36\lib\site-packages\matplotlib\__init__.py", line 1898, in inn
er
    return func(ax, *args, **kwargs)
  File "C:\Python36\lib\site-packages\matplotlib\axes\_axes.py", line 1406, in p
lot
    for line in self._get_lines(*args, **kwargs):
  File "C:\Python36\lib\site-packages\matplotlib\axes\_base.py", line 407, in _g
rab_next_args
    for seg in self._plot_args(remaining, kwargs):
  File "C:\Python36\lib\site-packages\matplotlib\axes\_base.py", line 385, in _p
lot_args
    x, y = self._xy_from_xy(x, y)
  File "C:\Python36\lib\site-packages\matplotlib\axes\_base.py", line 244, in _x
y_from_xy
    "have shapes {} and {}".format(x.shape, y.shape))
ValueError: x and y must have same first dimension, but have shapes (25,) and (2
6,)

Please provide any additional information below

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant