Closed cerodell closed 1 year ago
I found the source of the issue. On line 419 in uk.py
self.external_Z_drift = np.array(external_drift.T)
is incorrectly defined. it should be self. external_Z_array = np.array(external_drift.T)
and it works.
Or I just need to transpose my external_drift array prior.
Hi there! Thanks for this bug report. It will be fixed in the next release.
Cheers, Sebastian
Hello! I am trying to krig with external drift. I am using the following setup.
I thought this was the correct way to set up to krig with external drift, but I received the following error.
Im currently using pykrig version 1.6.1
I'm not sure what I'm doing wrong. Any help is greatly appreciated :)
PS I also posted this here but thought I should open a new issue. https://github.com/GeoStat-Framework/PyKrige/issues/155#issue-623903614