Commit 9e14def2 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfDefZaxis: changed hybrid level type from int to float

parent 81921308
2010-10-28 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cdfDefZaxis: changed hybrid level type from int to float
* taxisCopyTimestep: added mutex_lock
2010-10-26 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
......
......@@ -2236,7 +2236,7 @@ void cdfDefZaxis(int streamID, int zaxisID)
if ( streamptr->ncmode == 2 ) cdf_redef(fileID);
cdf_def_dim(fileID, axisname, dimlen, &dimID);
cdf_def_var(fileID, axisname, NC_INT, 1, &dimID, &ncvarid);
cdf_def_var(fileID, axisname, (nc_type) xtype, 1, &dimID, &ncvarid);
strcpy(tmpname, "hybrid level at layer midpoints");
cdf_put_att_text(fileID, ncvarid, "long_name", strlen(tmpname), tmpname);
......@@ -2265,7 +2265,7 @@ void cdfDefZaxis(int streamID, int zaxisID)
if ( streamptr->ncmode == 2 ) cdf_redef(fileID);
cdf_def_dim(fileID, axisname, dimlen, &dimID);
cdf_def_var(fileID, axisname, NC_INT, 1, &dimID, &ncvarid);
cdf_def_var(fileID, axisname, (nc_type) xtype, 1, &dimID, &ncvarid);
strcpy(tmpname, "hybrid level at layer interfaces");
cdf_put_att_text(fileID, ncvarid, "long_name", strlen(tmpname), tmpname);
......
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