Commit 4a02cdd4 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Write dummy data to mapping variable.

parent f0c500fc
......@@ -1949,6 +1949,12 @@ void cdf_def_mapping(stream_t *streamptr, int gridID)
cdfDefineAttributes(gridID, CDI_GLOBAL, fileID, ncvarid);
cdf_enddef(fileID);
if ( ncerrcode == NC_NOERR )
{
int dummy = 1;
cdf_put_var_int(fileID, ncvarid, &dummy);
}
}
}
......
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