Skip to content
This repository was archived by the owner on Sep 22, 2019. It is now read-only.
This repository was archived by the owner on Sep 22, 2019. It is now read-only.

rrdtool.xport difference between rrdtool and python module #4

Description

@fmerges

Hello,
Is there something wrong with the python module? I have inconsistencies between the output of rrdtool xport and the python module. Example:

<row><t>1459948200</t><v>1.0618333333e+01</v><v>1.0032666667e+01</v></row>
<row><t>1459948500</t><v>7.5783333333e+00</v><v>1.3656833333e+01</v></row>
<row><t>1459948800</t><v>7.5783333333e+00</v><v>1.3656833333e+01</v></row>
<row><t>1459949100</t><v>8.4516666667e+00</v><v>1.2316333333e+01</v></row>
<row><t>1459949400</t><v>8.4516666667e+00</v><v>1.2316333333e+01</v></row>
<row><t>1459949700</t><v>NaN</v><v>NaN</v></row>
<row><t>1459950000</t><v>NaN</v><v>NaN</v></row>
<row><t>1459950300</t><v>NaN</v><v>NaN</v></row>

and:

1459947900 (10.618333333333334, 10.032666666666668)
1459948200 (7.578333333333333, 13.656833333333331)
1459948500 (7.578333333333333, 13.656833333333331)
1459948800 (8.451666666666666, 12.316333333333334)
1459949100 (8.451666666666666, 12.316333333333334)
1459949400 (None, None)
1459949700 (None, None)
1459950000 (None, None)
1459950300 (None, None)
1459950600 (None, None)
1459950900 (None, None)
1459951200 (None, None)
1459951500 (0.0, 4.985e-321)

Note: the epoch is calculated based on start, end, step.

There is no one to one match and that should not be the case.

Cheers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions