Commit 5f5b0228 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

removed check of result from streamOpenWrite

parent 6e70972f
......@@ -133,7 +133,6 @@ void *Gridcell(void *argument)
vlistDefTaxis(vlistID2, taxisID);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -90,7 +90,6 @@ void *Harmonic(void *argument)
sprintf(filename+nchars+1, "%s", filesuffix);
streamID2 = streamOpenWrite(filename, cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamIDs[j] = streamID2;
......
......@@ -145,7 +145,6 @@ void *Hi(void *argument)
vlistDefVarUnits(vlistID4, varID4, HI_UNITS);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
if ( streamID4 < 0 ) cdiError(streamID4, "Open failed on %s", cdoStreamName(3));
streamDefVlist(streamID4, vlistID4);
......
......@@ -105,7 +105,6 @@ void *Histogram(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
......
......@@ -299,7 +299,6 @@ void *IFS2ICON(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -204,7 +204,6 @@ void *Importamsr(void *argument)
if ( vdate <= 999999 ) vdate = vdate*100 + 1;
streamID = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID < 0 ) cdiError(streamID, "Open failed on %s", cdoStreamName(1));
/*
Longitude is 0.25*xdim-0.125 degrees east
......
......@@ -324,7 +324,6 @@ void *Importbinary(void *argument)
vlistDefTaxis(vlistID, taxisID);
streamID = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID < 0 ) cdiError(streamID, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID, vlistID);
......
......@@ -1596,7 +1596,6 @@ void *Importcmsaf(void *argument)
if ( vdate == 0 ) vdate = 10101;
streamID = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID < 0 ) cdiError(streamID, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID, vlistID);
......
......@@ -168,7 +168,6 @@ void *Importobs(void *argument)
if ( vdate <= 999999 ) vdate = vdate*100 + 1;
streamID = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID < 0 ) cdiError(streamID, "Open failed on %s", cdoStreamName(1));
zaxisID = zaxisCreate(ZAXIS_SURFACE, 1);
......
......@@ -244,7 +244,6 @@ void *Input(void *argument)
vlistDefTaxis(vlistID, taxisID);
streamID = streamOpenWrite(cdoStreamName(0), output_filetype);
if ( streamID < 0 ) cdiError(streamID, "Open failed on %s", cdoStreamName(0));
streamDefVlist(streamID, vlistID);
}
......
......@@ -405,7 +405,6 @@ void *Intgrid(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -139,7 +139,6 @@ void *Intgridtraj(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -302,7 +302,6 @@ void *Intlevel(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -99,7 +99,6 @@ void *Intntime(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -145,7 +145,6 @@ void *Inttime(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -102,7 +102,6 @@ void *Intyear(void *argument)
sprintf(filename+nchars+4, "%s", filesuffix);
/* printf("filename %s\n", filename); */
streamIDs[iy] = streamOpenWrite(filename, cdoFiletype());
if ( streamIDs[iy] < 0 ) cdiError(streamIDs[iy], "Open failed on %s", filename);
streamDefVlist(streamIDs[iy], vlistID3);
}
......
......@@ -30,7 +30,6 @@
#include "cdo.h"
#include "cdo_int.h"
#include "pstream.h"
#include "functs.h"
#include "error.h"
......@@ -335,7 +334,6 @@ void *Invert(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -25,7 +25,6 @@
#include "cdo.h"
#include "cdo_int.h"
#include "pstream.h"
#include "functs.h"
#include "error.h"
......@@ -146,7 +145,6 @@ void *Invertlev(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -424,7 +424,6 @@ void *Maskbox(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -22,8 +22,6 @@
*/
#include <math.h>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
......@@ -139,7 +137,6 @@ void *Mastrfu(void *argument)
vlistDefVarUnits(vlistID2, 0, "kg/s");
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
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