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

Timstat: added time bounds

parent c3163101
......@@ -3,6 +3,10 @@
* using CDI library version 1.6.6
* Version 1.6.6 released
2014-11-24 Uwe Schulzweida
* Timstat: added time bounds
2014-11-21 Uwe Schulzweida
* outputtab: added key nohead and docu
......
......@@ -260,6 +260,14 @@ void *Timstat(void *argument)
vtime_lb = time_lb;
}
}
else
{
if ( nsets == 0 )
{
vdate_lb = vdate;
vtime_lb = vtime;
}
}
if ( nsets == 0 ) SET_DATE(indate2, vdate, vtime);
SET_DATE(indate1, vdate, vtime);
......@@ -271,6 +279,11 @@ void *Timstat(void *argument)
vdate_ub = date_ub;
vtime_ub = time_ub;
}
else
{
vdate_ub = vdate;
vtime_ub = vtime;
}
for ( recID = 0; recID < nrecs; recID++ )
{
......@@ -430,7 +443,7 @@ void *Timstat(void *argument)
taxisDefVdate(taxisID2, vdate0);
taxisDefVtime(taxisID2, vtime0);
if ( taxis_has_bounds )
// if ( taxis_has_bounds )
{
taxisDefVdateBounds(taxisID2, vdate_lb, vdate_ub);
taxisDefVtimeBounds(taxisID2, vtime_lb, vtime_ub);
......@@ -441,7 +454,7 @@ void *Timstat(void *argument)
{
taxisDefVdate(taxisID3, vdate0);
taxisDefVtime(taxisID3, vtime0);
if ( taxis_has_bounds )
// if ( taxis_has_bounds )
{
taxisDefVdateBounds(taxisID3, vdate_lb, vdate_ub);
taxisDefVtimeBounds(taxisID3, vtime_lb, vtime_ub);
......
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