Skip to content

Commit 20ac2db

Browse files
committed
fix dropped 1D nodes for 3D sim
1 parent ba009ae commit 20ac2db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

warmth/build.py

+1
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@ def _create_nodes(self, all_sediments_grid: List[List[List]]):
716716
for sed_grid in all_sediments_grid:
717717
node_sed.append(sed_grid[index[0]][index[1]])
718718
if all(node_sed) is False:
719+
self.nodes[index[0]][index[1]] = False
719720
logger.warning(f"dropping node {index}. One of the layer has no depth value")
720721
else:
721722
top = np.empty(0)

0 commit comments

Comments
 (0)