Memory optimization
This merge-request replaces the following global variables:
-
dCS
distance matrix between cells (C) and stations (S) -
dS
distance matrix between stations (S) -
dz2S
pairwise squared z-value differences betweens stations
with a new class edk_dist
that calculates these distances on demand to prevent memory issues.
Edited by Friedrich Boeing