From 9a0419eed9925f2d398928926818ae527e242c20 Mon Sep 17 00:00:00 2001 From: Parallel Works app-run user Date: Thu, 21 Sep 2023 20:35:21 +0000 Subject: [PATCH] Bugfix for tile interpolation without vertical crs info --- ocsmesh/mesh/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocsmesh/mesh/mesh.py b/ocsmesh/mesh/mesh.py index ebb953f4..ec8110b1 100644 --- a/ocsmesh/mesh/mesh.py +++ b/ocsmesh/mesh/mesh.py @@ -417,7 +417,7 @@ def interpolate( vert_cs = rast_crs.source_crs - vert_cs_name = vert_cs.name + vert_cs_name = vert_cs.name if vert_cs else None idxs = np.argwhere(mask).ravel() interp_info_map.update({ idx: (rast.path, vert_cs_name)