From 0c0ef6955ba9e1460e404665e81a0639597bff62 Mon Sep 17 00:00:00 2001 From: Carles Tena Date: Fri, 26 Apr 2019 17:32:14 +0200 Subject: [PATCH] Solved error to create shapefile on regular lat lon domains --- hermesv3_gr/modules/grids/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermesv3_gr/modules/grids/grid.py b/hermesv3_gr/modules/grids/grid.py index 86b503b..81c4dfd 100644 --- a/hermesv3_gr/modules/grids/grid.py +++ b/hermesv3_gr/modules/grids/grid.py @@ -433,7 +433,7 @@ class Grid(object): x = self.boundary_longitudes # sys.exit() - if self.grid_type == 'global': + if self.grid_type in ['global', 'regular']: x = x.reshape((x.shape[1], x.shape[2])) y = y.reshape((y.shape[1], y.shape[2])) -- GitLab