-
Notifications
You must be signed in to change notification settings - Fork 5
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
Problem with notebook STNSRP_test.ipynb #23
Comments
Issue #22 seems to be solved in branch issue_22. Most of the problems there were related to how we treat Pandas DataFrames, how we make assignments to them, etc. The problem here seems to be the same, but worse, because we are using tuples to index columns in DataFrames, and that may generating part of the issues. Jupyter kernels are dying on the example notebook. I think this may be due to some change in behavior in the last Pandas versions. I will look further into the problem and keep you posted. |
Sorry for the big delay, but @navass11 should have solved the issues in the last release of the code. Please, check and let us know if it is the case or not. |
Hi, thanks for the reply. I've tried the new STNSRP notebook and that's what I get. Working with your data i get the error: TypeError: init() takes 3 positional arguments but 4 were given" I'm using Python 3.7.16 in both cases. Thanks |
Hi Nino: Which OS are you using? Also, the last update uses Python 3.11. May you please check with that version just to see if that makes part of the problem? We will include some more detailed installation instructions on the repo, but in the meantime, it would be nice to see why the tool is not working for you. |
Windows 11 |
Using Python 3.11 I get the following error: The above exception was the direct cause of the following exception: TypeError Traceback (most recent call last) TypeError: loop of ufunc does not support argument 0 of type int which has no callable rint method During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) The above exception was the direct cause of the following exception: TypeError: loop of ufunc does not support argument 0 of type int which has no callable rint method" relative at the row: Input statistics calculated from several Rainfall series Input statistics from file |
Thanks for the support. I can ask you if you could write the operations to properly install NEOPRENE? In the README file there are only three rows dedicated to it but I think that I am missing some passages that maybe are necessary. |
Hmmmm, ok. We just updated the pip version of NEOPRENE. I was assuming that you were installing on your own. Please, update the library or just follow the three lines to install it. It should now install a working version of the library. I look forward to hearing back from you. |
All right, thanks. I will let you know as soon as possible if it works. |
Hi, I still get this error. At this point I will try to run it on Ubuntu. |
May you please upload the output of the command We have the code working on Linux and Windows, in independent computers run by different people. Windows 11 is the only difference so far, and we have no access to that for the moment. Still, I fear the problem is elsewhere. |
Hi, I'm trying to use your notebook STNSRP_test.ipynb with the data given by you and also with my data but when I reach the calibration section, this error occurs:
Exception has occurred: ValueError
data type <class 'numpy.object_'> not inexact
If I try to convert the data in a float type, then this other error appears:
Exception has occurred: Exception
Lenght/name/order of time series and attributes does not match
Thank you for the support.
Best regards
Nino
The text was updated successfully, but these errors were encountered: