From 07280994450a8f0d704cdd4081881e95a2d80fda Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Tue, 28 Aug 2012 13:24:56 +0000
Subject: [PATCH] gridToCurvilinear: GRID_LAEA added coordinate units check

---
 src/grid.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/grid.c b/src/grid.c
index 0aab57ca7..9309dd2ec 100644
--- a/src/grid.c
+++ b/src/grid.c
@@ -627,9 +627,9 @@ int gridToCurvilinear(int gridID1, int lbounds)
 	    if ( len == 1 && memcmp(yunits, "km", 2) == 0 ) lvalid_yunits = TRUE;
 
 	    if ( lvalid_xunits == FALSE )
-	      cdoWarning("Possibly wrong result! Invalid units for the x-coordinate: \"%s\" (expected \"m\" or \"km\")", xunits);
+	      cdoWarning("Possibly wrong result! Invalid x-coordinate units: \"%s\" (expected \"m\" or \"km\")", xunits);
 	    if ( lvalid_yunits == FALSE )
-	      cdoWarning("Possibly wrong result! Invalid units for the y-coordinate: \"%s\" (expected \"m\" or \"km\")", yunits);
+	      cdoWarning("Possibly wrong result! Invalid y-coordinate units: \"%s\" (expected \"m\" or \"km\")", yunits);
 	  }
 
 	if ( memcmp(xunits, "km", 2) == 0 ) xscale = 1000;
-- 
GitLab