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

vlistMerge: added support to merge levels

parent 9df36ae3
2010-04-01 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* vlistMerge: added support to merge levels
2010-03-31 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cgribexDefTime: bug fix for timerange=3
* cgribexDefTime: bug fix for timerange=3 [report: Veronika Gayler]
* using CGRIBEX library version 1.4.4
2010-03-30 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
......
......@@ -890,6 +890,11 @@ void vlistMerge(int vlistID2, int vlistID1)
memcpy(vlistptr2->vars[varID].levinfo+nlevs2,
vlistptr1->vars[varID].levinfo, nlevs1*sizeof(levinfo_t));
for ( levID = 0; levID < nlevs1; levID++ )
{
vlistptr1->vars[varID].levinfo[levID].mlevelID = nlevs2 + levID;
}
}
lvar = (int *) malloc(nvars2*sizeof(int));
......
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