Commit 80a1fb14 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

grid: define stdname for rotated grid

parent 9b159681
......@@ -1862,6 +1862,9 @@ void gridDefXpole(int gridID, double xpole)
gridptr = grid_to_pointer(gridID);
if ( memcmp(gridptr->xstdname, "grid", 4) != 0 )
strcpy(gridptr->xstdname, "grid_longitude");
gridptr->isRotated = TRUE;
gridptr->xpole = xpole;
}
......@@ -1903,6 +1906,9 @@ void gridDefYpole(int gridID, double ypole)
gridptr = grid_to_pointer(gridID);
if ( memcmp(gridptr->ystdname, "grid", 4) != 0 )
strcpy(gridptr->ystdname, "grid_latitude");
gridptr->isRotated = TRUE;
gridptr->ypole = ypole;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment