The version of numpy in ParaView 5.11.1 is 1.21.1, which is older than the one used by PyKrige, so you will get a Warning, but if you use the Anaconda environment on Windows, you can achieve this as follows.
Backup the numpy folder in ParaView
In C:\Program Files\ParaView 5.11.1\bin\Lib\site-packages, rename the numpy folder name to numpy_bak.
Copy the folders
Copy the folders under C:\Users\aaa\anaconda3\envs\pykrige\Lib\site-packages:
・numpy
・pykrige
・scipy
・scipy.libs
to C:\Program Files\ParaView 5.11.1\bin\Lib\site-packages
(I used anaconda3 powershell prompt and created environment from the start.
But I didn’t rename the numpy folder and copy the scipy.libs folder.
So I did those 2 in this try.)
Your error message states that it is an MKL error with respect to numpy.
Are you installing using the pip command? If you are installing with pip, NumPy should be installed as built with OpenBLAS. On the other hand, if you install with the conda command from conda-forge, it will be built with Intel MKL, which seems to be difficult to integrate into ParaView.
Was pykrige installed with the conda command? This also seems to be hard to integrate into ParaView. Is it possible to install pykrige (and scipy) with the pip command?
I think this error means that the imported library dosen’t have the function which is in the code.
But I know your code worked well the other cases.
So I have no idea what was wrong.
Adding a header line to borehole_data.csv seems to work. Also, the Kriging method requires a very large amount of memory, as can be seen in the semi-variogram definition. Hence, it is difficult to treat many observation points as input.
Attached below is the State file when Kriging is applied when the number of observation points and the points to be predicted are reduced. pykrige_small.7z (23.8 KB)
Of course, to use Kriging properly, an empirical variogram must be created from the observation point data and fitted to the appropriate variogram model to determine the sill, range, and nugget.
I thought this error occured because of the version of numpy.
So I updated numpy at anaconda powershell prompt and copied the numpy folder.
But this error occured again.