-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error in find_10thetas() in pyOWC #96
Comments
Hi Matt, could you provide the list of float WMO, datasets and configurations setups you used to run the code? gmaze Do you think this could be something with the packages or more like a bug in the code? |
very hard to tell, we did not pinned dependencies versions but it is very likely that it is related to the environnement, otherwise, the error would have pop up before 1st thing is to try to reproduce the error @matdever beyond the OWC setup data asked by @kamwal , would be good to have your environment versions (you can have this easily: install argopy in the same environment you're having the pyowc error, and then give us the output of the |
I can also take a look from the code side. I would agree that this is likely a non-pinned dependencies issues. thought it would be useful to know from @matdever if you still have your old environment? as a compared between the two would be really useful. You also mention that it did work. Can you remember the last time it worked? Again, that would help to see if a new version of a package came out around the same time. Cheers |
I run few example floats which were working some time ago(I didn't run this code since a while): ["3902398"], ["1901914"], ["3901960"] using the CTD_for_DMQC_2024V01 and ARGO_for_DMQC_2023V03 reference data. I am not sure why it is like that. There have not been made any changes to this code from a long time I have found the same error message: Using precalculated data: L:\users\argo\kamwal\OWC_Python_Test_2\argodmqc_owc\data\float_mapped\map_6901933.mat TOTAL TIME ELAPSED: 27.102484703063965 Process finished with exit code 1 |
thank you so much for the feedback. Here are the requested info: My env versions:
My code to run the OWC analysis:
|
any progress on this issue? Can I help in any way? Thank you! |
I put this on my plate this morning 🥐 |
@kamwal @thogar-computer did you managed to reproduce the error ? |
Yes, I found the same error when I ran the code on my side a few weeks ago. |
I just thought I would check on this issue as @kamwal told me in Trieste that it was getting solved. Any progress? Sorry to bother - I rely on this to develop some of the DMQC corrections for biases due to CTD's compressibility. |
Hi Matt, |
I have been trying to use the pyOWC package, which used to work for me, but I now encounter the same consistent error that prevents me from completing the analysis. I tried to troubleshoot by making a new environment, re-install the packages anew, no success. The error persists over several floats and several datasources. Is it an error with my setup?
The error relates to the find_10thetas() function within owc.calibration.calc_piecewisefit(), and seem to relate to the dimensions of the arrays. Here is the full error:
The text was updated successfully, but these errors were encountered: