From 624ebcf3e6da262ef683def879c22fcda07d2222 Mon Sep 17 00:00:00 2001 From: lezhan Date: Wed, 30 Nov 2022 09:41:34 +0100 Subject: [PATCH] Switch the Col and Row in sgdis.py to fix the coordinate mismatch --- pysgems/dis/sgdis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysgems/dis/sgdis.py b/pysgems/dis/sgdis.py index 05ecc42..138a3cc 100644 --- a/pysgems/dis/sgdis.py +++ b/pysgems/dis/sgdis.py @@ -170,9 +170,9 @@ def __init__( nlay = 1 # Size of each cell along y-dimension - rows - along_r = np.ones(ncol) * self.dx * np.sign(x_lim) + along_c = np.ones(ncol) * self.dx * np.sign(x_lim) # Size of each cell along x-dimension - columns - along_c = np.ones(nrow) * self.dy * np.sign(y_lim) + along_r = np.ones(nrow) * self.dy * np.sign(y_lim) # Size of each cell along x-dimension - columns along_l = np.ones(nlay) * self.dz * np.sign(z_lim)