From fd3fdddaa8291e58fe024640d36ee72f0480ccd9 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sat, 7 Mar 2020 22:40:40 +0100 Subject: [PATCH] Fix a bug in name of Arctic stereographic meshes This also leads to mapping files with incorrect names. --- pyremap/polar.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyremap/polar.py b/pyremap/polar.py index 4ae2cea..61673b7 100644 --- a/pyremap/polar.py +++ b/pyremap/polar.py @@ -101,7 +101,9 @@ def get_polar_descriptor(Lx, Ly, dx, dy, projection='antarctic'): A descriptor of the Antarctic grid """ - meshName = '{}x{}km_{}km_Antarctic_stereo'.format(Lx, Ly, dx) + upperProj = projection[0].upper() + projection[1:] + + meshName = '{}x{}km_{}km_{}_stereo'.format(Lx, Ly, dx, upperProj) xMax = 0.5 * Lx * 1e3 nx = int(Lx / dx) + 1