Commit f903c72d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Check grid type.

parent 4f8b46eb
......@@ -348,7 +348,7 @@ void printGridInfoKernel(int gridID, int index, bool lproj)
print_xvals(gridID, dig);
print_yvals(gridID, dig);
if ( gridIsRotated(gridID) )
if ( gridtype == GRID_LONLAT && gridIsRotated(gridID) )
{
double lonpole = gridInqXpole(gridID);
double latpole = gridInqYpole(gridID);
......
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