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

Renamed str_to_int() to cstrToNumBytes().

parent 552f6581
...@@ -128,7 +128,7 @@ Ensstat3(void *process) ...@@ -128,7 +128,7 @@ Ensstat3(void *process)
nbins = parameter2int(cdoOperatorArgv(0)); nbins = parameter2int(cdoOperatorArgv(0));
} }
const auto nfiles = cdoStreamCnt() - 1; auto nfiles = cdoStreamCnt() - 1;
const auto nens = nfiles - 1; const auto nens = nfiles - 1;
if (Options::cdoVerbose) cdoPrint("Ensemble over %d files.", nfiles); if (Options::cdoVerbose) cdoPrint("Ensemble over %d files.", nfiles);
......
...@@ -67,8 +67,8 @@ vert_interp_lev(size_t gridsize, double missval, double *vardata1, double *varda ...@@ -67,8 +67,8 @@ vert_interp_lev(size_t gridsize, double missval, double *vardata1, double *varda
{ {
const auto idx1 = lev_idx1[ilev]; const auto idx1 = lev_idx1[ilev];
const auto idx2 = lev_idx2[ilev]; const auto idx2 = lev_idx2[ilev];
const auto wgt1 = lev_wgt1[ilev]; auto wgt1 = lev_wgt1[ilev];
const auto wgt2 = lev_wgt2[ilev]; auto wgt2 = lev_wgt2[ilev];
double *var2 = vardata2 + gridsize * ilev; double *var2 = vardata2 + gridsize * ilev;
// if ( Options::cdoVerbose ) cdoPrint("level %d: idx1=%d idx2=%d wgt1=%g wgt2=%g", ilev, idx1, idx2, wgt1, wgt2); // if ( Options::cdoVerbose ) cdoPrint("level %d: idx1=%d idx2=%d wgt1=%g wgt2=%g", ilev, idx1, idx2, wgt1, wgt2);
......
...@@ -74,7 +74,7 @@ Runstat(void *process) ...@@ -74,7 +74,7 @@ Runstat(void *process)
addOperators(); addOperators();
const auto operatorID = cdoOperatorID(); const auto operatorID = cdoOperatorID();
const auto operfunc = cdoOperatorF1(operatorID); auto operfunc = cdoOperatorF1(operatorID);
const bool lrange = operfunc == func_range; const bool lrange = operfunc == func_range;
const bool lmean = operfunc == func_mean || operfunc == func_avg; const bool lmean = operfunc == func_mean || operfunc == func_avg;
...@@ -85,7 +85,7 @@ Runstat(void *process) ...@@ -85,7 +85,7 @@ Runstat(void *process)
operatorInputArg("number of timesteps"); operatorInputArg("number of timesteps");
operatorCheckArgc(1); operatorCheckArgc(1);
const auto ndates = parameter2int(cdoOperatorArgv(0)); auto ndates = parameter2int(cdoOperatorArgv(0));
const auto streamID1 = cdoOpenRead(0); const auto streamID1 = cdoOpenRead(0);
......
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