Commit 85dfd646 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

vlistCat: bug fix for attributes

parent 588fbff5
......@@ -769,6 +769,9 @@ void vlistCat(int vlistID2, int vlistID1)
vlistptr2->vars[varID2].levinfo = (LEVINFO *) malloc(nlevs*sizeof(LEVINFO));
memcpy(vlistptr2->vars[varID2].levinfo, vlistptr1->vars[varID].levinfo, nlevs*sizeof(LEVINFO));
vlistptr2->vars[varID2].atts.nelems = 0;
vlistCopyVarAtts(vlistID1, varID, vlistID2, varID2);
gridID = vlistptr1->vars[varID].gridID;
for ( index = 0; index < vlistptr2->ngrids; index++ )
if ( gridID == vlistptr2->gridIDs[index] ) break;
......
......@@ -1265,7 +1265,7 @@ void zaxisPrint(int zaxisID)
fprintf(stdout, "\n");
}
if ( type == ZAXIS_HYBRID )
if ( type == ZAXIS_HYBRID || type == ZAXIS_HYBRID_HALF )
{
int i;
int vctsize;
......
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