Commit e0e515c9 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

removed cdoFileType call from all cdoStreamOpenWrite calls

parent 60bf4b83
......@@ -288,7 +288,7 @@ Adisit(void *process)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
......
......@@ -213,7 +213,7 @@ Arith(void *process)
int taxisID3 = taxisDuplicate(taxisIDx1);
vlistDefTaxis(vlistID3, taxisID3);
int streamID3 = cdoStreamOpenWrite(2, cdoFiletype());
int streamID3 = cdoStreamOpenWrite(2);
pstreamDefVlist(streamID3, vlistID3);
int tsID = 0;
......
......@@ -109,7 +109,7 @@ Arithc(void *process)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
size_t nwpv = (vlistNumber(vlistID1) == CDI_COMP) ? 2 : 1;
......
......@@ -102,7 +102,7 @@ Arithdays(void *process)
int calendar = taxisInqCalendar(taxisID1);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
size_t gridsize = vlistGridsizeMax(vlistID1);
......
......@@ -56,7 +56,7 @@ Arithlat(void *process)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
size_t gridsizemax = vlistGridsizeMax(vlistID1);
......
......@@ -63,7 +63,7 @@ CDItest(void *process)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
size_t gridsize = vlistGridsizeMax(vlistID1);
......
......@@ -170,7 +170,7 @@ CDIwrite(void *process)
data_size = 0;
nvalues = 0;
int streamID = cdoStreamOpenWrite(cdoStreamName(0), cdoFiletype());
int streamID = cdoStreamOpenWrite(cdoStreamName(0));
pstreamDefVlist(streamID, vlistID);
......
......@@ -426,7 +426,7 @@ CMOR_lite(void *process)
vlistDefTaxis(vlistID2, taxisID2);
/* vlistPrint(vlistID2);*/
const int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
const int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
size_t gridsizemax = vlistGridsizeMax(vlistID1);
......
......@@ -96,7 +96,7 @@ Cat(void *process)
{
if (Options::cdoVerbose) cdoPrint("Output file doesn't exist, creating: %s", cdoGetStreamName(nfiles));
streamID2 = cdoStreamOpenWrite(cdoStreamName(nfiles), cdoFiletype());
streamID2 = cdoStreamOpenWrite(cdoStreamName(nfiles));
vlistID2 = vlistDuplicate(vlistID1);
taxisID2 = taxisDuplicate(taxisID1);
......
......@@ -399,7 +399,7 @@ Change(void *process)
taxisCopyTimestep(taxisID2, taxisID1);
if (streamID2 == CDI_UNDEFID)
{
streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
}
pstreamDefTimestep(streamID2, tsID1);
......
......@@ -45,7 +45,7 @@ Change_e5slm(void *process)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
/* get filename of SLM */
......
......@@ -289,7 +289,7 @@ Cloudlayer(void *process)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
int tsID = 0;
......
......@@ -530,7 +530,7 @@ Collgrid(void *process)
}
}
int streamID2 = cdoStreamOpenWrite(cdoStreamName(nfiles), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(nfiles));
pstreamDefVlist(streamID2, vlistID2);
std::vector<double> array2;
......
......@@ -163,7 +163,7 @@ Comp(void *process)
int taxisID3 = taxisDuplicate(taxisIDx1);
vlistDefTaxis(vlistID3, taxisID3);
int streamID3 = cdoStreamOpenWrite(cdoStreamName(2), cdoFiletype());
int streamID3 = cdoStreamOpenWrite(cdoStreamName(2));
pstreamDefVlist(streamID3, vlistID3);
int tsID = 0;
......
......@@ -69,7 +69,7 @@ Compc(void *process)
std::vector<double> array1(gridsizemax);
std::vector<double> array2(gridsizemax);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
int tsID = 0;
......
......@@ -55,8 +55,8 @@ Complextorect(void *process)
vlistDefTaxis(vlistID2, taxisID2);
vlistDefTaxis(vlistID3, taxisID3);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID3 = cdoStreamOpenWrite(cdoStreamName(2), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
int streamID3 = cdoStreamOpenWrite(cdoStreamName(2));
pstreamDefVlist(streamID2, vlistID2);
pstreamDefVlist(streamID3, vlistID3);
......
......@@ -82,7 +82,7 @@ Cond(void *process)
nospec(vlistID1);
nospec(vlistID2);
int streamID3 = cdoStreamOpenWrite(cdoStreamName(2), cdoFiletype());
int streamID3 = cdoStreamOpenWrite(cdoStreamName(2));
pstreamDefVlist(streamID3, vlistID3);
size_t gridsize = vlistGridsizeMax(vlistID2);
......
......@@ -79,7 +79,7 @@ Cond2(void *process)
nospec(vlistID2);
nospec(vlistID3);
int streamID4 = cdoStreamOpenWrite(cdoStreamName(3), cdoFiletype());
int streamID4 = cdoStreamOpenWrite(cdoStreamName(3));
pstreamDefVlist(streamID4, vlistID4);
size_t gridsize = vlistGridsizeMax(vlistID1);
......
......@@ -62,7 +62,7 @@ Condc(void *process)
std::vector<double> array1(gridsizemax);
std::vector<double> array2(gridsizemax);
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int streamID2 = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(streamID2, vlistID2);
int tsID = 0;
......
......@@ -167,7 +167,7 @@ Consecstat(void *process)
vlistDefVarUnits(ovlistID, varID, "steps"); /* TODO */
}
int ostreamID = cdoStreamOpenWrite(cdoStreamName(1), cdoFiletype());
int ostreamID = cdoStreamOpenWrite(cdoStreamName(1));
pstreamDefVlist(ostreamID, ovlistID);
int itsID = 0;
......
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