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

added more resolutions for gaussgrid check

parent 9d2f06e1
......@@ -1719,8 +1719,10 @@ void cgribexDefGrid(int *isec1, int *isec2, int *isec4, int gridID)
xsize = gridInqXsize(gridID);
ysize = gridInqYsize(gridID);
if ( (ysize == 32 || ysize == 48 || ysize == 64 ||
ysize == 96 || ysize == 160) &&
if ( (ysize == 32 || ysize == 48 || ysize == 64 ||
ysize == 96 || ysize == 160 || ysize == 192 ||
ysize == 240 || ysize == 320 || ysize == 384 ||
ysize == 480 || ysize == 768 ) &&
(xsize == 2*ysize || xsize == 1) )
{
gridtype = GRID_GAUSSIAN;
......
......@@ -1947,8 +1947,10 @@ void gribapiDefGrid(grib_handle *gh, int gridID, int ljpeg)
xsize = gridInqXsize(gridID);
ysize = gridInqYsize(gridID);
if ( (ysize == 32 || ysize == 48 || ysize == 64 ||
ysize == 96 || ysize == 160) &&
if ( (ysize == 32 || ysize == 48 || ysize == 64 ||
ysize == 96 || ysize == 160 || ysize == 192 ||
ysize == 240 || ysize == 320 || ysize == 384 ||
ysize == 480 || ysize == 768 ) &&
(xsize == 2*ysize || xsize == 1) )
{
gridtype = GRID_GAUSSIAN;
......
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