Commit 980b851d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

printinfo.h: update for np

parent a1fc8f40
...@@ -166,9 +166,14 @@ void printGridInfo(int vlistID) ...@@ -166,9 +166,14 @@ void printGridInfo(int vlistID)
yinc = gridInqYinc(gridID); yinc = gridInqYinc(gridID);
if ( gridtype == GRID_GAUSSIAN_REDUCED ) if ( gridtype == GRID_GAUSSIAN_REDUCED )
fprintf(stdout, "size : dim = %d nlat = %d\n", gridsize, ysize); fprintf(stdout, "size : dim = %d nlat = %d", gridsize, ysize);
else else
fprintf(stdout, "size : dim = %d nlon = %d nlat = %d\n", gridsize, xsize, ysize); fprintf(stdout, "size : dim = %d nlon = %d nlat = %d", gridsize, xsize, ysize);
if ( gridtype == GRID_GAUSSIAN || gridtype == GRID_GAUSSIAN_REDUCED )
fprintf(stdout, " np = %d", gridInqNP(gridID));
fprintf(stdout, "\n");
if ( xsize > 0 ) if ( xsize > 0 )
{ {
......
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