Skip to content
Snippets Groups Projects
Commit eaa21234 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Ydayarith.cc: added missing parameter vdate to cdoAbort().

parent 98f9eef3
No related branches found
No related tags found
No related merge requests found
Pipeline #2723 passed
......@@ -84,7 +84,7 @@ Ydayarith(void *process)
const auto vdate = taxisInqVdate(taxisID2);
const auto dayoy = decodeDayOfYear(vdate);
if (dayoy < 0 || dayoy >= MaxDays) cdoAbort("Day of year %d out of range (date=%d)!", dayoy, vdate);
if (vars2[dayoy].size() > 0) cdoAbort("Day of year index %d already allocated (date=%d)!", dayoy);
if (vars2[dayoy].size() > 0) cdoAbort("Day of year index %d already allocated (date=%d)!", dayoy, vdate);
fieldsFromVlist(vlistID2, vars2[dayoy], FIELD_VEC);
......@@ -105,7 +105,7 @@ Ydayarith(void *process)
const auto vdate = taxisInqVdate(taxisID1);
const auto dayoy = decodeDayOfYear(vdate);
if (dayoy < 0 || dayoy >= MaxDays) cdoAbort("Day of year %d out of range (date=%d)!", dayoy, vdate);
if (vars2[dayoy].size() == 0) cdoAbort("Day of year index %d not found (date=%d)!", dayoy);
if (vars2[dayoy].size() == 0) cdoAbort("Day of year index %d not found (date=%d)!", dayoy, vdate);
taxisCopyTimestep(taxisID3, taxisID1);
cdoDefTimestep(streamID3, tsID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment