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

removed check of result from streamOpenWrite

parent 6e70972f
......@@ -79,7 +79,6 @@ void *Ymonarith(void *argument)
vlistDefTaxis(vlistID3, taxisID3);
streamID3 = streamOpenWrite(cdoStreamName(2), cdoFiletype());
if ( streamID3 < 0 ) cdiError(streamID3, "Open failed on %s", cdoStreamName(2));
streamDefVlist(streamID3, vlistID3);
......
......@@ -21,15 +21,10 @@
Ymonpctl ymonpctl Multi-year monthly percentiles
*/
#include <stdio.h>
#include <math.h>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
#include "pstream.h"
#include "field.h"
#include "percentiles.h"
#define NMONTH 17
......@@ -97,7 +92,6 @@ void *Ymonpctl(void *argument)
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
if ( streamID4 < 0 ) cdiError(streamID4, "Open failed on %s", cdoStreamName(3));
streamDefVlist(streamID4, vlistID4);
......
......@@ -32,7 +32,6 @@
#include "cdo.h"
#include "cdo_int.h"
#include "pstream.h"
#include "field.h"
#define NMONTH 17
......@@ -111,7 +110,6 @@ void *Ymonstat(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -21,15 +21,10 @@
Yseaspctl yseaspctl Multi-year seasonally percentiles
*/
#include <stdio.h>
#include <math.h>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
#include "pstream.h"
#include "field.h"
#include "percentiles.h"
#include "util.h"
......@@ -100,7 +95,6 @@ void *Yseaspctl(void *argument)
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
if ( streamID4 < 0 ) cdiError(streamID4, "Open failed on %s", cdoStreamName(3));
streamDefVlist(streamID4, vlistID4);
......
......@@ -27,15 +27,10 @@
Yseasstat yseasstd Multi-year seasonally standard deviation
*/
#include <stdio.h>
#include <math.h>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
#include "pstream.h"
#include "field.h"
#include "util.h"
......@@ -100,7 +95,6 @@ void *Yseasstat(void *argument)
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
......@@ -34,7 +34,6 @@
#include "cdo_int.h"
#include "grid.h"
#include "pstream.h"
#include "functs.h"
void *Zonstat(void *argument)
......@@ -118,7 +117,6 @@ void *Zonstat(void *argument)
vlistChangeGridIndex(vlistID2, index, gridID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
streamDefVlist(streamID2, vlistID2);
......
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