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

removed check of result from streamOpenWrite

parent 6e70972f
......@@ -72,7 +72,6 @@ void *Seascount(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -89,7 +89,6 @@ void *Seaspctl(void *argument)
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
if ( streamID4 < 0 ) cdiError(streamID4, "Open failed on %s", cdoStreamName(3));
streamDefVlist(streamID4, vlistID4);
......
......@@ -89,7 +89,6 @@ void *Seasstat(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -845,7 +845,6 @@ void *Selbox(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -27,7 +27,6 @@
#include "pstream.h"
#include "error.h"
#include "util.h"
#include "functs.h"
#include "list.h"
#include "namelist.h"
......@@ -672,7 +671,6 @@ void *Select(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(nfiles), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(nfiles));
streamDefVlist(streamID2, vlistID2);
......
......@@ -101,7 +101,6 @@ void *Seloperator(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -27,7 +27,6 @@
#include "pstream.h"
#include "error.h"
#include "util.h"
#include "functs.h"
#include "list.h"
......@@ -76,7 +75,6 @@ void *Selrec(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -37,7 +37,6 @@
#include "pstream.h"
#include "error.h"
#include "util.h"
#include "functs.h"
#include "list.h"
......@@ -430,7 +429,6 @@ void *Seltime(void *argument)
if ( tsID2 == 0 )
{
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
}
......
......@@ -41,7 +41,6 @@
#include "pstream.h"
#include "error.h"
#include "util.h"
#include "functs.h"
#include "list.h"
......@@ -397,7 +396,6 @@ void *Selvar(void *argument)
nrecs = vlistNrecs(vlistID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -309,7 +309,6 @@ void *Set(void *argument)
/* vlistPrint(vlistID2);*/
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -247,7 +247,6 @@ void *Setbox(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -72,7 +72,6 @@ void *Setgatt(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
if ( operatorID == SETGATT )
{
......
......@@ -130,7 +130,6 @@ void *Setgrid(void *argument)
maskfile = operatorArgv()[0];
streamID = streamOpenRead(maskfile);
if ( streamID < 0 ) cdiError(streamID, "Open failed on %s", maskfile);
vlistID = streamInqVlist(streamID);
......@@ -151,7 +150,6 @@ void *Setgrid(void *argument)
}
streamID1 = streamOpenRead(cdoStreamName(0));
if ( streamID1 < 0 ) cdiError(streamID1, "Open failed on %s", cdoStreamName(0));
vlistID1 = streamInqVlist(streamID1);
vlistID2 = vlistDuplicate(vlistID1);
......@@ -161,7 +159,6 @@ void *Setgrid(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
if ( operatorID == SETGRID )
{
......
......@@ -557,7 +557,6 @@ void *Sethalo(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -123,7 +123,6 @@ void *Setmiss(void *argument)
}
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -115,7 +115,6 @@ void *Setrcaname(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -317,7 +317,6 @@ void *Settime(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -66,7 +66,6 @@ void *Setzaxis(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
if ( operatorID == SETZAXIS )
{
......
......@@ -92,7 +92,6 @@ void *Smooth9(void *argument)
mask = ( int *) malloc(gridsize *sizeof(int));
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -136,7 +136,6 @@ void *Sort(void *argument)
*/
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