Commit 39963e65 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

import_binary: check for gauss grids only when flag linear=0

parent d46a1209
2010-12-16 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* import_binary: check for gauss grids only when flag linear=0
2010-12-14 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* readline: filter carrage return '\r' [report: Christian Steger]
* readline: filter carriage return '\r' [report: Christian Steger]
2010-12-13 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
......
......@@ -104,7 +104,7 @@ int define_grid(dsets_t *pfi)
int gridID, gridtype;
int nx, ny;
double *xvals, *yvals;
int lgauss;
int lgauss = FALSE;
nx = pfi->dnum[0];
ny = pfi->dnum[1];
......@@ -117,7 +117,7 @@ int define_grid(dsets_t *pfi)
if ( pfi->yrflg ) rev_yvals(yvals, ny);
lgauss = y_is_gauss(yvals, ny);
if ( pfi->linear[1] == 0 ) lgauss = y_is_gauss(yvals, ny);
if ( lgauss ) gridtype = GRID_GAUSSIAN;
else gridtype = GRID_LONLAT;
......
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