Commit 43ff5095 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix merge confict.

parents 33a2ed22 92ab0858
......@@ -3,6 +3,10 @@
* using EXSE library version 1.4.1
* Version 1.9.6 released
2018-10-08 Uwe Schulzweida
* NetCDF: Fix xyz dim order for unstructured grids without coordinates
2018-09-30 Uwe Schulzweida
* cgribex: make section2 length dynamic (bug fix for large Gaussian reduced grids)
......
......@@ -3188,7 +3188,7 @@ void cdf_define_all_vars(stream_t *streamptr, int vlistID, int instID, int model
const int *dimids = ncvars[ncvarid].dimids;
if ( gridInqType(gridID) == GRID_UNSTRUCTURED && ndims-iodim <= 2 && ydimid == xdimid )
if ( gridInqType(gridID) == GRID_UNSTRUCTURED && ndims-iodim <= 2 && (ydimid == xdimid || ydimid == CDI_UNDEFID) )
{
ixyz = (xdimid == dimids[ndims-1]) ? 321 : 213;
}
......
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