Commit 0bf75fe8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

revert previous commit

parent bf727261
...@@ -1219,8 +1219,7 @@ void cdfDefXaxis(stream_t *streamptr, int gridID, int ndims) ...@@ -1219,8 +1219,7 @@ void cdfDefXaxis(stream_t *streamptr, int gridID, int ndims)
int gridindex = vlistGridIndex(vlistID, gridID); int gridindex = vlistGridIndex(vlistID, gridID);
gridInqXname(gridID, axisname); gridInqXname(gridID, axisname);
// if ( axisname[0] == 0 ) Error("axis name undefined!"); if ( axisname[0] == 0 ) Error("axis name undefined!");
if ( axisname[0] == 0 ) return;
gridInqXlongname(gridID, longname); gridInqXlongname(gridID, longname);
gridInqXstdname(gridID, stdname); gridInqXstdname(gridID, stdname);
...@@ -1362,8 +1361,7 @@ void cdfDefYaxis(stream_t *streamptr, int gridID, int ndims) ...@@ -1362,8 +1361,7 @@ void cdfDefYaxis(stream_t *streamptr, int gridID, int ndims)
int gridindex = vlistGridIndex(vlistID, gridID); int gridindex = vlistGridIndex(vlistID, gridID);
gridInqYname(gridID, axisname); gridInqYname(gridID, axisname);
// if ( axisname[0] == 0 ) Error("axis name undefined!"); if ( axisname[0] == 0 ) Error("axis name undefined!");
if ( axisname[0] == 0 ) return;
gridInqYlongname(gridID, longname); gridInqYlongname(gridID, longname);
gridInqYstdname(gridID, stdname); gridInqYstdname(gridID, stdname);
......
Supports Markdown
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