Commit 76e2d031 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

No commit message

No commit message
parent ac034036
...@@ -1473,7 +1473,7 @@ void cgribexDefParam(int *isec1, int param) ...@@ -1473,7 +1473,7 @@ void cgribexDefParam(int *isec1, int param)
Warning("Can not convert GRIB2 parameter (%s) to GRIB1!", paramstr); Warning("Can not convert GRIB2 parameter (%s) to GRIB1!", paramstr);
lwarn = FALSE; lwarn = FALSE;
} }
if ( pnum < 0 ) pnum = -pnum; if ( pnum < 0 ) pnum = -pnum;
ISEC1_CodeTable = pcat; ISEC1_CodeTable = pcat;
...@@ -1794,10 +1794,10 @@ void cgribexDefGrid(int *isec1, int *isec2, int *isec4, int gridID) ...@@ -1794,10 +1794,10 @@ void cgribexDefGrid(int *isec1, int *isec2, int *isec4, int gridID)
if ( ISEC2_LatIncr < 0 ) ISEC2_LatIncr = -ISEC2_LatIncr; if ( ISEC2_LatIncr < 0 ) ISEC2_LatIncr = -ISEC2_LatIncr;
} }
if ( ISEC2_NumLon > 1 && ISEC2_NumLat == 1 ) if ( ISEC2_NumLon > 1 && ISEC2_NumLat == 1 )
if ( ISEC2_LonIncr != 0 && ISEC2_LatIncr == 0 ) ISEC2_LatIncr = ISEC2_LonIncr; if ( ISEC2_LonIncr != 0 && ISEC2_LatIncr == 0 ) ISEC2_LatIncr = ISEC2_LonIncr;
if ( ISEC2_NumLon == 1 && ISEC2_NumLat > 1 ) if ( ISEC2_NumLon == 1 && ISEC2_NumLat > 1 )
if ( ISEC2_LonIncr == 0 && ISEC2_LatIncr != 0 ) ISEC2_LonIncr = ISEC2_LatIncr; if ( ISEC2_LonIncr == 0 && ISEC2_LatIncr != 0 ) ISEC2_LonIncr = ISEC2_LatIncr;
if ( ISEC2_LatIncr == 0 || ISEC2_LonIncr == 0 ) if ( ISEC2_LatIncr == 0 || ISEC2_LonIncr == 0 )
......
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