Commit e6217921 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

module Monarith: remove limitation to non spectral fields

parent 488f403c
......@@ -72,9 +72,6 @@ void *Arithdays(void *argument)
calendar = taxisInqCalendar(taxisID1);
if ( operfunc == func_mul || operfunc == func_div )
nospec(vlistID1);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
......
......@@ -2,7 +2,7 @@
This file is part of CDO. CDO is a collection of Operators to
manipulate and analyse Climate model Data.
Copyright (C) 2003-2006 Uwe Schulzweida, Uwe.Schulzweida@zmaw.de
Copyright (C) 2003-2010 Uwe Schulzweida, Uwe.Schulzweida@zmaw.de
See COPYING file for copying and redistribution conditions.
This program is free software; you can redistribute it and/or modify
......@@ -74,9 +74,6 @@ void *Arithlat(void *argument)
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
if ( operfunc == func_mul || operfunc == func_div )
nospec(vlistID1);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
if ( streamID2 < 0 ) cdiError(streamID2, "Open failed on %s", cdoStreamName(1));
......
......@@ -127,8 +127,6 @@ void *Hi(void *argument)
vlistCompare(vlistID1, vlistID2, func_sft);
vlistCompare(vlistID1, vlistID3, func_sft);
nospec(vlistID1);
gridsize = vlistGridsizeMax(vlistID1);
field1.ptr = (double *) malloc(gridsize*sizeof(double));
......
......@@ -73,9 +73,6 @@ void *Monarith(void *argument)
vlistCompare(vlistID1, vlistID2, func_sft);
if ( operfunc == func_mul || operfunc == func_div )
nospec(vlistID1);
gridsize = vlistGridsizeMax(vlistID1);
field1.ptr = (double *) malloc(gridsize*sizeof(double));
......
......@@ -88,8 +88,6 @@ void *Smooth9(void *argument)
}
}
/* nospec(vlistID1); */
gridsize = vlistGridsizeMax(vlistID1);
array1 = (double *) malloc(gridsize*sizeof(double));
array2 = (double *) malloc(gridsize *sizeof(double));
......
......@@ -115,8 +115,6 @@ void *Wct(void *argument)
vlistCompare(vlistID1, vlistID2, func_sft);
nospec(vlistID1);
gridsize = vlistGridsizeMax(vlistID1);
field1.ptr = (double *) malloc(gridsize*sizeof(double));
......
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