Commit 14ad5c33 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

set_gridtype: ignore attribute CDI_grid_type for curvilinear and unstructured grids.

parent 47a58ce5
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
* using CGRIBEX library version 1.9.1 * using CGRIBEX library version 1.9.1
* Version 1.9.5 released * Version 1.9.5 released
2018-07-06 Uwe Schulzweida
* set_gridtype: ignore attribute CDI_grid_type for curvilinear and unstructured grids
2018-07-03 Uwe Schulzweida 2018-07-03 Uwe Schulzweida
* gridCompare: bug fix comparing uuid of unstructured grid * gridCompare: bug fix comparing uuid of unstructured grid
......
...@@ -268,11 +268,11 @@ void set_gridtype(const char *attstring, int *gridtype) ...@@ -268,11 +268,11 @@ void set_gridtype(const char *attstring, int *gridtype)
else if ( strcmp(attstring, "generic") == 0 ) else if ( strcmp(attstring, "generic") == 0 )
*gridtype = GRID_GENERIC; *gridtype = GRID_GENERIC;
else if ( strcmp(attstring, "cell") == 0 ) else if ( strcmp(attstring, "cell") == 0 )
*gridtype = GRID_UNSTRUCTURED; ;
else if ( strcmp(attstring, "unstructured") == 0 ) else if ( strcmp(attstring, "unstructured") == 0 )
*gridtype = GRID_UNSTRUCTURED; ;
else if ( strcmp(attstring, "curvilinear") == 0 ) else if ( strcmp(attstring, "curvilinear") == 0 )
*gridtype = GRID_CURVILINEAR; ;
else if ( strcmp(attstring, "characterxy") == 0 ) else if ( strcmp(attstring, "characterxy") == 0 )
*gridtype = GRID_CHARXY; *gridtype = GRID_CHARXY;
else if ( strcmp(attstring, "sinusoidal") == 0 ) else if ( strcmp(attstring, "sinusoidal") == 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