You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ample1d trunc_dummy2.dat -gx300s -T2018-09-21T09:55:00/2018-09-21T10:45:00/300s -Fa -V > dummy3.dat
sample1d [INFORMATION]: Processing input table data
sample1d [INFORMATION]: Reading Data Table from File trunc_dummy2.dat
sample1d [INFORMATION]: Data gap detected via -g; Segment header inserted near/at line # 13
we can see a small other issue, which is that the reported line number is in the input file but it reports it as if it was in the output. But the worse is the result where we can see that all interpolated points inside the gap, from 2018-09-21T10:06:00 to 2018-09-21T10:38:00, were printed as NaN instead of simply being skipped.
>
2018-09-21T09:55:00 -0.152129855223
2018-09-21T10:00:00 -0.153091013436
2018-09-21T10:05:00 -0.153
2018-09-21T10:10:00 NaN
2018-09-21T10:15:00 NaN
2018-09-21T10:20:00 NaN
2018-09-21T10:25:00 NaN
2018-09-21T10:30:00 NaN
2018-09-21T10:35:00 NaN
2018-09-21T10:40:00 NaN
2018-09-21T10:45:00 NaN
> Data gap detected via -g; Segment header inserted
2018-09-21T09:55:00 NaN
2018-09-21T10:00:00 NaN
2018-09-21T10:05:00 NaN
2018-09-21T10:10:00 NaN
2018-09-21T10:15:00 NaN
2018-09-21T10:20:00 NaN
2018-09-21T10:25:00 NaN
2018-09-21T10:30:00 NaN
2018-09-21T10:35:00 NaN
2018-09-21T10:40:00 -0.185091013436
2018-09-21T10:45:00 -0.186129855223
A workaround for now seems to be adding the option -s1 to skip the NaNs.
Issue raised in Forum post
If we reduce the input to this short chunk, we can see the gap at
2018-09-21T10:06:00
Now running the command
we can see a small other issue, which is that the reported line number is in the input file but it reports it as if it was in the output. But the worse is the result where we can see that all interpolated points inside the gap, from
2018-09-21T10:06:00
to2018-09-21T10:38:00
, were printed as NaN instead of simply being skipped.A workaround for now seems to be adding the option -s1 to skip the NaNs.
trunc_dummy2.zip
The text was updated successfully, but these errors were encountered: