Closed hassaniqbal209 closed 1 year ago
Hi @hassaniqbal209, thanks for the bug report.
Can I check what NumPy and Numba versions you are using? The default for the localisation_weighting_func
attribute of the LocalEnsembleTransformKalmanFilter
which seems to be where the error is getting raised from the (first) traceback is a JIT-compiled Numba function defined in dapy/utils/localisation.py
. From a bit of searching, it seems like this specific error may be due to an incompatibility between the installed NumPy and Numba versions (https://stackoverflow.com/q/67016356). Running the notebook locally in a clean Python 3.8 environment with Numba v0.56.4 and Numpy v1.23.5, the cell with the letkf.filter
call runs to completion without any errors.
Hi @matt-graham ,
Thank you for your guidance. You are correct the error is due to incompatibility of numpy and numpa, and running it in clean python 3.8 worked! The issue is resolved from my end. Thank you so much for your time.
@hassaniqbal209 thanks for the quick response. Good to know this resolved the issue. I'll update the setup script / instructions to make try to avoid this problem happening for others.
Hi,
I am running the Navier-Stokes notebook and getting the following error after 33% filtering steps of LETKF:
For LETPF, I get the same error in the very first filtering time step.
In the above cases, I have not changed localization radius, number of particles and kept everything the same as in example notebook. Moreover, I tried increasing number of particles and localization radius, and received the same error at the same time steps for both filters respectively. Do you have any suggestions on what might be causing this and how to resolve ? Thank you.