Skip to content

Commit

Permalink
edited Jans kriging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
elimh committed Sep 6, 2019
1 parent befe3dc commit 96f4122
Show file tree
Hide file tree
Showing 2 changed files with 347 additions and 151 deletions.
6 changes: 3 additions & 3 deletions gempy/assets/kriging.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ def set_domain(self, domain):
self.domain = domain

# mask by array of input surfaces (by id, can be from different series)
mask = np.isin(self.sol.lith_block, self.domain)
self.mask = np.isin(self.sol.lith_block, self.domain)

# Apply mask to lith_block and grid
self.krig_lith = self.sol.lith_block[mask]
self.krig_grid = self.sol.grid.values[mask]
self.krig_lith = self.sol.lith_block[self.mask]
self.krig_grid = self.sol.grid.values[self.mask]

def set_data(self, data):
"""
Expand Down
Loading

0 comments on commit 96f4122

Please sign in to comment.