Skip to content
Snippets Groups Projects
Commit 07280994 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gridToCurvilinear: GRID_LAEA added coordinate units check

parent 57828ed5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment