Commit 739955d0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Outputgmt: update

parent a3997f04
......@@ -137,7 +137,7 @@ void *Outputgmt(void *argument)
nlat = gridInqYsize(gridID);
nlev = zaxisInqSize(zaxisID);
if ( gridInqType(gridID) == GRID_CELL )
if ( gridInqType(gridID) != GRID_CELL )
{
if ( nlon == 1 && nlat > 1 && nlev > 1 ) lzon = TRUE;
if ( nlon > 1 && nlat == 1 && nlev > 1 ) lmer = TRUE;
......@@ -227,7 +227,7 @@ void *Outputgmt(void *argument)
{
for ( i = 0; i < gridsize; i++ )
{
if ( !DBL_IS_EQUAL(array[i], missval) )
/* if ( !DBL_IS_EQUAL(array[i], missval) ) */
{
if ( lzon )
fprintf(stdout, " %g %g %g\n", grid_center_lat[i], level, array[i]);
......
Supports Markdown
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