pyrocko / kite

InSAR unwrapped surface displacement processing for earthquake modelling.
https://pyrocko.org/kite/
GNU General Public License v3.0
78 stars 34 forks source link

Calculate Weight matrix hangs indefinitely #119

Closed hvasbath closed 4 months ago

hvasbath commented 6 months ago

The calculation of the Covariance matrix for a fairly small scene hangs indefinitely, for similar sized other scenes this is a matter of 2 seconds.... Where can I start debugging?

hvasbath commented 6 months ago

When quadtree leafs are small and when adaptive subsampling is enabled, the subsampling variable https://github.com/pyrocko/kite/blob/master/kite/ext/covariance.c#L130 becomes zero and the c-code enters an infinite loop as it iterates rows and columns with a zero increment ... https://github.com/pyrocko/kite/blob/master/kite/ext/covariance.c#L177