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 evaluating the BRF and there is no Patm in the wl dataset #171

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

Comments

@jnsebgosselin
Copy link
Owner

What steps will reproduce the problem?

  1. Try to evaluate the BRF with a wl dataset with no Patm data

Traceback

Traceback (most recent call last):
  File "C:\Users\jsgosselin\GWHAT\gwhat\brf_mod\kgs_gui.py", line 345, in calc_b
rf
    bp = np.interp(tc, time[indx], bp[indx])
  File "C:\Python36\lib\site-packages\numpy\lib\function_base.py", line 2039, in
 interp
    return interp_func(x, xp, fp, left, right)
ValueError: array of sample points is empty
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