Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 271, in _split_generators
                  scan = self._scan_metadata(all_files)
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 318, in _scan_metadata
                  with self._open_reader(file) as reader:
                       ~~~~~~~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 742, in _open_reader
                  return TsFileReader(file)
                File "tsfile/tsfile_reader.pyx", line 364, in tsfile.tsfile_reader.TsFileReaderPy.__init__
                File "tsfile/tsfile_reader.pyx", line 367, in tsfile.tsfile_reader.TsFileReaderPy.init_reader
                File "tsfile/tsfile_py_cpp.pyx", line 789, in tsfile.tsfile_py_cpp.tsfile_reader_new_c
                File "tsfile/tsfile_py_cpp.pyx", line 55, in tsfile.tsfile_py_cpp.check_error
              tsfile.exceptions.FileOpenError: 28: Failed to open file
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

OIL-033 β€” Synthetic Crude & Product Inventory Dataset (Sample) (TsFile)

Apache TsFile version of xpertsystems/oil033-sample.

Overview

A free, schema-identical preview of XpertSystems.ai's enterprise crude oil and refined product inventory dataset for EIA-style weekly inventory forecasting, tank farm utilization optimization, SPR operations modeling, shortage risk classification, seasonal demand pattern ML, disruption event prediction, and PADD-regional inventory analytics. The sample covers 235 storage sites across 5 EIA PADD-aligned regions (USGC, Midwest, East Coast, West Coast, Cushing) and 5 storage types (Tank Farm, SPR, Refinery, Terminal, Floating) over 365 days of daily operations, with 257,936 rows across 6 tables.

  • Tables: 6 TsFile table(s), 257,936 rows in total.
    • crude_inventory_levels: 85,775 rows, 2023-01-01 00:00:00 β†’ 2023-12-31 00:00:00.234000 (UTC)
    • disruption_events: 11 rows, 2023-01-18 00:00:00 β†’ 2023-12-05 00:00:00 (UTC)
    • inventory_labels: 85,775 rows, 2023-01-01 00:00:00 β†’ 2023-12-31 00:00:00.234000 (UTC)
    • inventory_master: 235 rows, 1970-01-01 00:00:00 β†’ 1970-01-01 00:00:00.234000 (UTC)
    • refined_product_inventory: 85,775 rows, 2023-01-01 00:00:00 β†’ 2023-12-31 00:00:00.234000 (UTC)
    • spr_operations: 365 rows, 2023-01-01 00:00:00 β†’ 2023-12-31 00:00:00 (UTC)

Schema (TsFile structure)

crude_inventory_levels.tsfile

  • Time (INT64, milliseconds) β€” the source timestamp column.
  • TAG: none β€” the table is stored as a single device.
  • FIELD (5): inventory_id (string), inventory_bbl (double), inflow_bpd (double), outflow_bpd (double), utilization_pct (double)

disruption_events.tsfile

  • Time (INT64, milliseconds) β€” the source event_date column.
  • TAG: none β€” the table is stored as a single device.
  • FIELD (2): event_type (string), severity_score (double)

inventory_labels.tsfile

  • Time (INT64, milliseconds) β€” the source timestamp column.
  • TAG: none β€” the table is stored as a single device.
  • FIELD (3): inventory_id (string), shortage_risk (int64), optimization_score (double)

inventory_master.tsfile

  • Time (INT64, milliseconds) β€” synthetic row index over the stable source order; this table has no clock column.
  • TAG: none β€” the table is stored as a single device.
  • FIELD (5): inventory_id (string), region (string), storage_type (string), capacity_bbl (int64), working_capacity_pct (double)

refined_product_inventory.tsfile

  • Time (INT64, milliseconds) β€” the source timestamp column.
  • TAG: none β€” the table is stored as a single device.
  • FIELD (4): inventory_id (string), gasoline_bbl (double), diesel_bbl (double), jetfuel_bbl (double)

spr_operations.tsfile

  • Time (INT64, milliseconds) β€” the source timestamp column.
  • TAG: none β€” the table is stored as a single device.
  • FIELD (3): spr_site (string), release_rate_bpd (int64), reserve_level_bbl (int64)

Conversion notes

  • One TsFile per source CSV (6 tables); each table is stored as a single device, so the rig / well / tank / equipment / sensor identifiers stay ordinary FIELDs.
  • Time = the table's own clock column as INT64 milliseconds (event timestamps, sample or inspection dates, and daily record dates). The clock columns used here are event_date, timestamp.
  • Tables with no clock column (inventory_master) use a synthetic row index over their stable source order as Time.
  • No column is dropped. Rows that share a timestamp are ordered by a 1 ms step in stable source order, so daily tables keep their exact calendar day.

Usage

Read this dataset with the Java SDK. It is written with the zstd compressor. The Apache TsFile Java SDK reads every compressor, but the Python SDK (pip install tsfile) implements only UNCOMPRESSED, SNAPPY, GZIP and LZ4; opening this file with it yields no rows.

Read a converted file with the Apache TsFile Java SDK (org.apache.tsfile:tsfile):

import org.apache.tsfile.file.metadata.IDeviceID;
import org.apache.tsfile.read.TsFileReader;
import org.apache.tsfile.read.TsFileSequenceReader;
import org.apache.tsfile.read.common.Path;
import org.apache.tsfile.read.expression.QueryExpression;
import org.apache.tsfile.read.query.dataset.QueryDataSet;
import org.apache.tsfile.write.schema.MeasurementSchema;

import java.util.ArrayList;
import java.util.List;

String path = "crude_inventory_levels.tsfile";
try (TsFileSequenceReader sequenceReader = new TsFileSequenceReader(path);
     TsFileReader reader = new TsFileReader(sequenceReader)) {
    // Devices are enumerated as IDeviceID objects. Tables with TAG columns
    // have multi-segment device ids that cannot be rebuilt from their string
    // form, so always use getAllDevices() rather than getAllDeviceIds().
    for (IDeviceID device : sequenceReader.getAllDevices()) {
        List<Path> paths = new ArrayList<>();
        for (MeasurementSchema schema : reader.getMeasurement(device)) {
            String name = schema.getMeasurementName();
            if (name != null && !name.isEmpty() && !name.equalsIgnoreCase("Time")) {
                paths.add(new Path(device, name, true));
            }
        }
        QueryDataSet dataSet = reader.query(QueryExpression.create(paths, null));
        while (dataSet.hasNext()) {
            System.out.println(dataSet.next());
        }
    }
}

Source & license

  • Original dataset: xpertsystems/oil033-sample
  • Source card title: OIL-033 β€” Synthetic Crude & Product Inventory Dataset (Sample)
  • License: cc-by-nc-4.0 (as declared by the original dataset).
Downloads last month
57