Supported data formats are listed below.
| Extension | Implied format | Details |
|---|---|---|
| .csv | Comma separated values. | see below… |
| .pxt + .pxb | Pixie fast lightweight binary format. | see below… |
Rules for CSV files are as follows:
2022-03-21 for daily data.2019-06-28T22:00:00 for sub-daily data. Note that the Python formatter for this is “%Y-%m-%dT%H:%M:%S”.The Pixie binary format stores one or more timeseries efficiently using a compression algorithm inspired by Gorilla. It always uses two paired files that share the same base name. Both files are required.
.pxt — index file. A plain-text CSV with one row per series, listing the series name, byte offset into the .pxb file, start/end times, timestep, and length. This file is human-readable and can be useful for inspecting the contents of the dataset..pxb — binary file. Contains the actual compressed timeseries data. Each series is written as a single block. Binary offsets recorded in the .pxt file allow individual series to be read without decompressing the whole file.Advantages
| Commandline output flag | Files written | Total size |
|---|---|---|
| -o results.csv | results.csv | 263 MB (72 MB if zipped using aggressive zip compression) |
| -o results.pxb | results.pxt + results.pxb | 39 MB |
| -o results.pxt | results.pxt + results.pxb | 39 MB |
.pxt/.pxb returns the original values exactly, including special values like NaN.Disadvantages