Commit 63b0df8b authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

a naive attempt to address the change of interface in CDI-PIO

parent fe5f93f6
......@@ -2013,13 +2013,13 @@ void cdfDefCharacter(stream_t *streamptr, int gridID, int gridindex, int xory, i
{
cdf_def_var(fileID, axisname, NC_CHAR, 2, dimIDs, &ncaxisid);
if ( xory == 0 )
cdfPutGridStdAtts(fileID, ncaxisid, gridID, 'X', &gridInqsX);
cdfPutGridStdAtts(fileID, ncaxisid, gridID, &gridInqsX);
else
cdfPutGridStdAtts(fileID, ncaxisid, gridID, 'Y', &gridInqsY);
cdfPutGridStdAtts(fileID, ncaxisid, gridID, &gridInqsY);
}
else
return;
cdf_enddef(fileID);
cdf_enddef(fileID, streamptr->self);
/* Write Var */
......
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