Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 6 new columns ({'erosion_index', 'segment_id', 'leak_probability_score', 'corrosion_rate_mpy', 'wall_loss_pct_est', 'integrity_state'}) and 6 missing columns ({'discharge_pressure_psi', 'suction_pressure_psi', 'efficiency_pct', 'fuel_gas_mscfd', 'compression_ratio', 'compressor_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xpertsystems/oil024-sample/corrosion_erosion.csv (at revision 0ab4cd17437dfe5ccf804309a9a86d1a32161b4f), [/tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/compressor_operations.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/compressor_operations.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/corrosion_erosion.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/corrosion_erosion.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/flow_assurance.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/flow_assurance.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/hydraulic_profiles.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/hydraulic_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/leak_detection.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/leak_detection.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/optimization_labels.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/optimization_labels.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pipeline_master.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pipeline_master.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pump_station_operations.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pump_station_operations.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/scada_telemetry.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/scada_telemetry.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/thermal_profiles.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/thermal_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/transient_events.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/transient_events.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/valve_operations.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/valve_operations.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              timestamp: string
              pipeline_id: string
              segment_id: string
              corrosion_rate_mpy: double
              erosion_index: double
              wall_loss_pct_est: double
              leak_probability_score: double
              integrity_state: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1297
              to
              {'timestamp': Value('string'), 'pipeline_id': Value('string'), 'compressor_id': Value('string'), 'suction_pressure_psi': Value('float64'), 'discharge_pressure_psi': Value('float64'), 'compression_ratio': Value('float64'), 'efficiency_pct': Value('float64'), 'fuel_gas_mscfd': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 6 new columns ({'erosion_index', 'segment_id', 'leak_probability_score', 'corrosion_rate_mpy', 'wall_loss_pct_est', 'integrity_state'}) and 6 missing columns ({'discharge_pressure_psi', 'suction_pressure_psi', 'efficiency_pct', 'fuel_gas_mscfd', 'compression_ratio', 'compressor_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xpertsystems/oil024-sample/corrosion_erosion.csv (at revision 0ab4cd17437dfe5ccf804309a9a86d1a32161b4f), [/tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/compressor_operations.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/compressor_operations.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/corrosion_erosion.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/corrosion_erosion.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/flow_assurance.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/flow_assurance.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/hydraulic_profiles.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/hydraulic_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/leak_detection.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/leak_detection.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/optimization_labels.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/optimization_labels.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pipeline_master.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pipeline_master.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pump_station_operations.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/pump_station_operations.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/scada_telemetry.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/scada_telemetry.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/thermal_profiles.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/thermal_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/transient_events.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/transient_events.csv), /tmp/hf-datasets-cache/medium/datasets/75229779573373-config-parquet-and-info-xpertsystems-oil024-sampl-f2012b78/hub/datasets--xpertsystems--oil024-sample/snapshots/0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/valve_operations.csv (origin=hf://datasets/xpertsystems/oil024-sample@0ab4cd17437dfe5ccf804309a9a86d1a32161b4f/valve_operations.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

timestamp
string
pipeline_id
string
compressor_id
string
suction_pressure_psi
float64
discharge_pressure_psi
float64
compression_ratio
float64
efficiency_pct
float64
fuel_gas_mscfd
float64
2025-01-01T00:00:00
PL-000002
PL-000002-COMP-01
680.61
1,098.84
1.339
70.7
4.688
2025-01-01T03:00:00
PL-000002
PL-000002-COMP-01
517.78
1,191.28
1.4517
74.37
5.659
2025-01-01T06:00:00
PL-000002
PL-000002-COMP-01
461.51
1,126.45
1.3727
76.37
6.101
2025-01-01T09:00:00
PL-000002
PL-000002-COMP-01
497.67
1,271.95
1.55
74.38
8.615
2025-01-01T12:00:00
PL-000002
PL-000002-COMP-01
486.1
1,177.79
1.4352
74.63
8.527
2025-01-01T15:00:00
PL-000002
PL-000002-COMP-01
488.1
1,276.47
1.5555
73.66
8.773
2025-01-01T18:00:00
PL-000002
PL-000002-COMP-01
640.68
1,228.1
1.4966
69.52
8.356
2025-01-01T21:00:00
PL-000002
PL-000002-COMP-01
612.74
1,049.91
1.2794
73.38
6.011
2025-01-02T00:00:00
PL-000002
PL-000002-COMP-01
532.3
1,185.82
1.445
71.55
5.841
2025-01-02T03:00:00
PL-000002
PL-000002-COMP-01
483.9
1,156.05
1.4088
73.47
5.669
2025-01-02T06:00:00
PL-000002
PL-000002-COMP-01
575.05
1,212.45
1.4775
75.48
7.177
2025-01-02T09:00:00
PL-000002
PL-000002-COMP-01
501.59
1,259.97
1.5354
73.7
8.878
2025-01-02T12:00:00
PL-000002
PL-000002-COMP-01
533.8
1,289.74
1.5717
75.18
10.068
2025-01-02T15:00:00
PL-000002
PL-000002-COMP-01
675.47
1,301.2
1.5856
74.06
9.557
2025-01-02T18:00:00
PL-000002
PL-000002-COMP-01
683.96
1,262.34
1.5383
75.86
8.733
2025-01-02T21:00:00
PL-000002
PL-000002-COMP-01
473.95
1,141.04
1.3905
77.69
6.716
2025-01-03T00:00:00
PL-000002
PL-000002-COMP-01
528.38
1,205.91
1.4695
77.07
6.504
2025-01-03T03:00:00
PL-000002
PL-000002-COMP-01
647.7
1,147.27
1.3981
73.13
5.657
2025-01-03T06:00:00
PL-000002
PL-000002-COMP-01
536.48
1,168.57
1.424
73.58
7.175
2025-01-03T09:00:00
PL-000002
PL-000002-COMP-01
473.22
1,240.57
1.5118
76
8.592
2025-01-03T12:00:00
PL-000002
PL-000002-COMP-01
526.19
1,272.42
1.5506
73.31
9.599
2025-01-03T15:00:00
PL-000002
PL-000002-COMP-01
458.31
1,212.19
1.4772
75.11
8.619
2025-01-03T18:00:00
PL-000002
PL-000002-COMP-01
643.15
1,195.95
1.4574
76.96
7.803
2025-01-03T21:00:00
PL-000002
PL-000002-COMP-01
505.05
1,193.43
1.4543
73.96
6.524
2025-01-04T00:00:00
PL-000002
PL-000002-COMP-01
483.94
1,133.34
1.3811
76.01
5.515
2025-01-04T03:00:00
PL-000002
PL-000002-COMP-01
490.72
1,151.39
1.4031
75.17
5.924
2025-01-04T06:00:00
PL-000002
PL-000002-COMP-01
671.83
1,180.23
1.4382
77.5
6.451
2025-01-04T09:00:00
PL-000002
PL-000002-COMP-01
540.32
1,192.36
1.453
74.27
7.876
2025-01-04T12:00:00
PL-000002
PL-000002-COMP-01
659.31
1,225.33
1.4932
76.96
8.509
2025-01-04T15:00:00
PL-000002
PL-000002-COMP-01
462.91
1,216.92
1.4829
71.78
8.422
2025-01-04T18:00:00
PL-000002
PL-000002-COMP-01
627.22
1,181.86
1.4402
73.86
7.015
2025-01-04T21:00:00
PL-000002
PL-000002-COMP-01
452.75
1,159.68
1.4132
74.17
5.727
2025-01-05T00:00:00
PL-000002
PL-000002-COMP-01
628.66
1,071.29
1.3055
75.49
4.198
2025-01-05T03:00:00
PL-000002
PL-000002-COMP-01
502.54
1,116.96
1.3611
72.77
4.719
2025-01-05T06:00:00
PL-000002
PL-000002-COMP-01
569.78
1,176.51
1.4337
73.53
5.997
2025-01-05T09:00:00
PL-000002
PL-000002-COMP-01
633.38
1,228.38
1.4969
70.81
7.199
2025-01-05T12:00:00
PL-000002
PL-000002-COMP-01
526.91
1,265.11
1.5416
72.81
8.35
2025-01-05T15:00:00
PL-000002
PL-000002-COMP-01
572.19
1,204.56
1.4679
73.27
7.782
2025-01-05T18:00:00
PL-000002
PL-000002-COMP-01
456.74
1,141.35
1.3908
71.06
6.087
2025-01-05T21:00:00
PL-000002
PL-000002-COMP-01
660.79
1,118.28
1.3627
73.65
5.104
2025-01-06T00:00:00
PL-000002
PL-000002-COMP-01
490.86
1,118.23
1.3627
75.86
3.973
2025-01-06T03:00:00
PL-000002
PL-000002-COMP-01
606.32
1,141.36
1.3909
73.87
4.76
2025-01-06T06:00:00
PL-000002
PL-000002-COMP-01
507.6
1,174.16
1.4308
75.55
5.693
2025-01-06T09:00:00
PL-000002
PL-000002-COMP-01
667.68
1,212.58
1.4776
75.49
7.152
2025-01-06T12:00:00
PL-000002
PL-000002-COMP-01
552.98
1,193.92
1.4549
74
7.275
2025-01-06T15:00:00
PL-000002
PL-000002-COMP-01
496.6
1,252.28
1.526
71.95
8.074
2025-01-06T18:00:00
PL-000002
PL-000002-COMP-01
533.94
1,138.17
1.387
74.46
6.231
2025-01-06T21:00:00
PL-000002
PL-000002-COMP-01
463.72
1,120.85
1.3659
71.96
5.295
2025-01-07T00:00:00
PL-000002
PL-000002-COMP-01
606.6
1,077.9
1.3135
76.1
3.884
2025-01-07T03:00:00
PL-000002
PL-000002-COMP-01
696.71
1,158.16
1.4113
74.96
5.085
2025-01-07T06:00:00
PL-000002
PL-000002-COMP-01
600.18
1,208.62
1.4728
72.72
6.41
2025-01-07T09:00:00
PL-000002
PL-000002-COMP-01
642.48
1,188.75
1.4486
76.56
6.784
2025-01-07T12:00:00
PL-000002
PL-000002-COMP-01
501.12
1,258.55
1.5337
73.63
8.556
2025-01-07T15:00:00
PL-000002
PL-000002-COMP-01
525.21
1,220.61
1.4874
71.79
8.176
2025-01-07T18:00:00
PL-000002
PL-000002-COMP-01
659.35
1,191.54
1.452
74.93
6.551
2025-01-07T21:00:00
PL-000002
PL-000002-COMP-01
628.92
1,230.21
1.4991
77.35
6.449
2025-01-01T00:00:00
PL-000004
PL-000004-COMP-01
561.83
1,148.47
1.4147
73.61
7.222
2025-01-01T03:00:00
PL-000004
PL-000004-COMP-01
499.89
1,076.61
1.3262
72.24
6.903
2025-01-01T06:00:00
PL-000004
PL-000004-COMP-01
631.4
1,199.36
1.4774
78.18
10.171
2025-01-01T09:00:00
PL-000004
PL-000004-COMP-01
523.06
1,192.83
1.4693
73.89
10.574
2025-01-01T12:00:00
PL-000004
PL-000004-COMP-01
657.69
1,253.66
1.5443
71.63
12.247
2025-01-01T15:00:00
PL-000004
PL-000004-COMP-01
552.77
1,189.9
1.4657
75.86
11.63
2025-01-01T18:00:00
PL-000004
PL-000004-COMP-01
485.78
1,216.77
1.4988
79.75
10.031
2025-01-01T21:00:00
PL-000004
PL-000004-COMP-01
632.61
1,131.77
1.3941
71.78
8.486
2025-01-02T00:00:00
PL-000004
PL-000004-COMP-01
662.79
1,148.51
1.4147
76.51
7.961
2025-01-02T03:00:00
PL-000004
PL-000004-COMP-01
551.36
1,133.27
1.396
73.14
7.895
2025-01-02T06:00:00
PL-000004
PL-000004-COMP-01
560.83
1,118.14
1.3773
77.09
9.029
2025-01-02T09:00:00
PL-000004
PL-000004-COMP-01
563.65
1,230.85
1.5162
73.83
10.856
2025-01-02T12:00:00
PL-000004
PL-000004-COMP-01
467.93
1,233.06
1.5189
75.52
12.076
2025-01-02T15:00:00
PL-000004
PL-000004-COMP-01
591.3
1,240.18
1.5277
72.55
12.201
2025-01-02T18:00:00
PL-000004
PL-000004-COMP-01
610.02
1,205.95
1.4855
76.68
10.076
2025-01-02T21:00:00
PL-000004
PL-000004-COMP-01
488.68
1,162.21
1.4316
76.03
8.979
2025-01-03T00:00:00
PL-000004
PL-000004-COMP-01
504.52
1,134.34
1.3973
74.94
7.996
2025-01-03T03:00:00
PL-000004
PL-000004-COMP-01
449
1,219
1.5016
71.17
8.798
2025-01-03T06:00:00
PL-000004
PL-000004-COMP-01
654.8
1,227.88
1.5125
72.51
9.929
2025-01-03T09:00:00
PL-000004
PL-000004-COMP-01
682.56
1,160.58
1.4296
70.25
10.245
2025-01-03T12:00:00
PL-000004
PL-000004-COMP-01
504.97
1,239.83
1.5272
70.54
11.782
2025-01-03T15:00:00
PL-000004
PL-000004-COMP-01
638.56
1,198.18
1.4759
70.43
11.947
2025-01-03T18:00:00
PL-000004
PL-000004-COMP-01
491.23
1,200.82
1.4792
72.57
10.275
2025-01-03T21:00:00
PL-000004
PL-000004-COMP-01
450.81
1,133.56
1.3963
74.49
7.792
2025-01-04T00:00:00
PL-000004
PL-000004-COMP-01
630.68
1,172.91
1.4448
77.95
8.28
2025-01-04T03:00:00
PL-000004
PL-000004-COMP-01
652.21
1,120.11
1.3798
72.3
6.773
2025-01-04T06:00:00
PL-000004
PL-000004-COMP-01
549.09
1,199.2
1.4772
75.71
9.127
2025-01-04T09:00:00
PL-000004
PL-000004-COMP-01
625.79
1,220.74
1.5037
72.62
10.227
2025-01-04T12:00:00
PL-000004
PL-000004-COMP-01
483.32
1,247.86
1.5371
75.69
11.774
2025-01-04T15:00:00
PL-000004
PL-000004-COMP-01
558.04
1,212.59
1.4937
76.07
11.449
2025-01-04T18:00:00
PL-000004
PL-000004-COMP-01
640.77
1,147.07
1.413
75.38
8.653
2025-01-04T21:00:00
PL-000004
PL-000004-COMP-01
495.24
1,149.22
1.4156
74.99
7.287
2025-01-05T00:00:00
PL-000004
PL-000004-COMP-01
612.71
1,158.67
1.4272
74.68
7.196
2025-01-05T03:00:00
PL-000004
PL-000004-COMP-01
512.77
1,083.01
1.3341
69.94
6.37
2025-01-05T06:00:00
PL-000004
PL-000004-COMP-01
540.77
1,121.12
1.381
73.71
7.645
2025-01-05T09:00:00
PL-000004
PL-000004-COMP-01
537.99
1,154.4
1.422
72
8.566
2025-01-05T12:00:00
PL-000004
PL-000004-COMP-01
505.48
1,197.8
1.4755
74.5
10.576
2025-01-05T15:00:00
PL-000004
PL-000004-COMP-01
593.14
1,192.82
1.4693
76.23
10.08
2025-01-05T18:00:00
PL-000004
PL-000004-COMP-01
581.59
1,138.36
1.4022
73.84
8.575
2025-01-05T21:00:00
PL-000004
PL-000004-COMP-01
586.53
1,139.89
1.4041
75.25
6.783
2025-01-06T00:00:00
PL-000004
PL-000004-COMP-01
474.33
1,125.14
1.3859
74.73
5.79
2025-01-06T03:00:00
PL-000004
PL-000004-COMP-01
486.05
1,040.13
1.2812
71.54
5.39
2025-01-06T06:00:00
PL-000004
PL-000004-COMP-01
559.97
1,118.45
1.3777
77.59
7.107
2025-01-06T09:00:00
PL-000004
PL-000004-COMP-01
565.22
1,184.17
1.4587
72.53
9.192
End of preview.

OIL-024 — Synthetic Pipeline Flow Dataset (Sample)

SKU: OIL024-SAMPLE · Vertical: Oil & Gas / Midstream Pipeline Operations License: CC-BY-NC-4.0 (sample) · Schema version: oil024.v1 Sample version: 1.0.0 · Default seed: 42

A free, schema-identical preview of XpertSystems.ai's enterprise pipeline flow dataset for hydraulic modeling, leak detection, flow assurance, SCADA telemetry analytics, pump/compressor optimization, and pipeline reliability ML. The sample covers 55 pipelines with 369 segments across 10 pipeline types, 10 fluid families, 10 global regions, and 7 terrain types, with 150,137 rows linked across 12 tables spanning 7 days of 180-minute time- series.

OIL-024 has the strongest hydraulic-physics anchoring of any OIL SKU — full Swamee-Jain (1976) friction factor + Darcy-Weisbach (1857) pressure drop + Newton's cooling thermal model + Sloan-Koh hydrate physics implemented end-to-end through 369-segment hydraulic profiles.


What's in the box

File Rows Cols Description
pipeline_master.csv 369 21 Pipeline + segment catalog: 10 fluid types × 10 regions × 7 terrains × 5 API 5L grades × 6 coatings × MAOP + design flow + pigging/SCADA flags
hydraulic_profiles.csv 20,664 14 Darcy-Weisbach pressure drop + Swamee-Jain friction + Reynolds + flow regime classification (laminar/transition/turbulent) + mass balance error
thermal_profiles.csv 20,664 9 Temperature + ambient + Newton's cooling heat loss + thermal gradient + Joule-Thomson cooling
pump_station_operations.csv 3,752 9 API 610 pump performance: RPM + efficiency + suction/discharge pressure + power + cavitation risk
compressor_operations.csv 1,344 8 API 617 compressor performance: compression ratio + efficiency + fuel gas consumption (gas pipelines only)
valve_operations.csv 20,664 7 Per-segment valve operations: position + throttling state + control response latency
transient_events.csv 21 8 15-class event taxonomy: pump trip, compressor trip, surge, water hammer, slugging, hydrate risk, leak, pigging run, etc.
flow_assurance.csv 20,664 8 Wax / hydrate / slugging risk scores + wax deposition thickness per Sloan-Koh (2008)
leak_detection.csv 3 9 API 1130 + API RP 1175 CPM leak detection: leak rate + pressure signature + detection delay
corrosion_erosion.csv 20,664 8 NACE SP0169 corrosion rate + erosion index + wall loss + leak probability
scada_telemetry.csv 20,664 10 SCADA sensor telemetry: signal value + telemetry latency + quality + drift flag
optimization_labels.csv 20,664 8 FEATURE-COUPLED ML labels: optimization score + failure risk + 4-class efficiency grade (A/B/C/D) + recommended action

Total: 150,137 rows across 12 CSVs, ~14.6 MB on disk.


Calibration: industry-anchored, honestly reported

Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: Swamee & Jain (1976) "Explicit equations for pipe-flow problems", Colebrook-White (1939) turbulent friction factor, Darcy-Weisbach (1857) pressure drop equation, Moody (1944) Moody chart, Reynolds (1883) laminar-turbulent transition, Hagen- Poiseuille (1839) laminar friction (64/Re), API 5L (Line Pipe), ASME B31.4 (Liquid Hydrocarbon Pipelines), ASME B31.8 (Gas Transmission Pipelines), API 1130 (Computational Pipeline Monitoring), API RP 1175 (Pipeline Leak Detection), NACE SP0169 (External Corrosion Control), Sloan & Koh (2008) hydrate thermodynamics, PHMSA pipeline safety statistics, CSA Z662 (Canadian Oil/Gas Pipeline Systems), API 610 (Centrifugal Pumps), API 617 (Axial and Centrifugal Compressors), Newton's law of cooling.

Sample run (seed 42, n_pipelines=55, days=7, interval=180min):

# Metric Observed Target Tolerance Status Source
1 avg diameter in 21.9704 22.0 ±6.0 ✓ PASS API 5L Line Pipe specification + ASME B31.4/B31.8 — mean nominal pipe diameter for mixed transmission portfolio (8-48 inch standard sizes; 22 inch median for mixed crude/gas/refined products mix per PHMSA pipeline inventory)
2 avg maop psi 1501.7934 1480.0 ±250.0 ✓ PASS ASME B31.4 (Liquid Hydrocarbon Pipelines) + ASME B31.8 (Gas Transmission) — typical MAOP for transmission pipelines (1000-2000 psi normal range per PHMSA; 1480 psi reflects mixed portfolio mean)
3 avg reynolds number 1069625.4263 1000000.0 ±600000.0 ✓ PASS Reynolds (1883) laminar-turbulent transition + Moody (1944) — typical operating Reynolds number for transmission pipelines (200K-2M typical for crude/gas; 1M reflects high-flow turbulent regime per Darcy-Weisbach analysis)
4 avg friction factor 0.0156 0.016 ±0.008 ✓ PASS Swamee-Jain (1976) friction factor + Moody (1944) Moody chart — typical Darcy friction factor for turbulent transmission pipeline operation (0.010-0.025 range per ε/D ratios of 0.0001-0.001)
5 avg mass balance error pct 0.1719 0.2 ±0.15 ✓ PASS API 1130 Computational Pipeline Monitoring + API RP 1175 — typical mass balance error for SCADA-instrumented pipelines (0.05-0.5% normal; >1% triggers leak alarm per API standards)
6 avg pump efficiency pct 72.7872 73.0 ±6.0 ✓ PASS API 610 (Centrifugal Pumps for Petroleum) — typical pump efficiency for transmission pipeline pump stations (68-82% at BEP per Hydraulic Institute; demand-modulated operation reduces from peak)
7 thermal heat loss pearson correlation 0.8272 0.75 ±0.15 ✓ PASS Newton's law of cooling (heat_loss ∝ ΔT) — expected strong positive correlation between (pipe_temp - ambient_temp) and heat_loss_btu_hr_ft per fundamental heat transfer physics. Validates generator's thermal model.
8 optimization failure pearson correlation -0.9944 -0.95 ±0.1 ✓ PASS Generator's deterministic formula: failure_risk = (100 - optimization_score) × 0.7 + leak_prob × 0.3. Near-deterministic inverse coupling validates feature-coupled label generation for pipeline reliability ML.
9 corrosion leak pearson correlation 0.9708 0.85 ±0.1 ✓ PASS NACE SP0169 External Corrosion Control + API 1130 + PHMSA pipeline incident data — expected strong positive correlation between corrosion rate and leak probability (generator formula: leak_prob = corrosion/25 × 50 + erosion × 0.12). Validates integrity-leak physics.
10 pipeline type diversity entropy 0.9596 0.92 ±0.04 ✓ PASS 10-class pipeline type taxonomy per ASME B31.4/B31.8 + PHMSA classification (crude oil transmission, natural gas transmission, refined products, offshore subsea flowline, multiphase gathering, water injection, CO2 transport, heavy oil diluent, LNG transfer, hydrogen-ready), normalized Shannon entropy

Overall: 100.0/100 — Grade A+ (10 PASS · 0 MARGINAL · 0 FAIL of 10 metrics)


Schema highlights

pipeline_master.csv — 10-class pipeline type taxonomy per PHMSA / ASME B31.4 / B31.8:

Type Weight Typical Fluid
crude_oil_transmission 20% crude (light/medium/heavy)
natural_gas_transmission 18% dry/wet gas
refined_products 11% gasoline / diesel / jet
offshore_subsea_flowline 10% multiphase
multiphase_gathering 12% mixed wellhead fluids
water_injection 7% brine / produced water
co2_transport 6% CO2 (dense phase)
heavy_oil_diluent 6% bitumen + diluent
lng_transfer 5% LNG (cryogenic)
hydrogen_ready 5% H2 / H2 blends

Material grades: API 5L X42 / X52 / X60 / X65 / X70 — standard transmission- grade pipe per API 5L specification.

hydraulic_profiles.csvSwamee-Jain (1976) friction + Darcy-Weisbach (1857) pressure drop implementation:

Re = ρ × v × D / μ (Reynolds 1883) f_lam = 64 / Re (Hagen-Poiseuille, Re < 2300) f_turb = 0.25 / [log10(ε/(3.7D) + 5.74/Re^0.9)]² (Swamee-Jain) dp_friction = f × (L/D) × (ρ × v² / 2) (Darcy-Weisbach) dp_elev = ρ × g × Δh (Bernoulli) dp_total = (dp_friction + dp_elev) × wax_factor

PVT-aware fluid properties for 10 fluid families with temperature and pressure dependence:

Fluid Density (kg/m³) Viscosity (Pa·s)
Light crude ~790 × (1 - 0.00038·ΔT) 0.004 × exp(-0.022·(T-100))
Medium crude ~850 0.018
Heavy crude ~930 0.12
Dry gas 48 × (P/1000) × (520/T_R) 1.2e-5
LNG 430 × (1 - 0.0006·(T+260)) 1.2e-4
CO2 700 × (P/1500)^0.15 7e-5
Hydrogen blend 18 × (P/1000) × (520/T_R) 9e-6

thermal_profiles.csvNewton's law of cooling:

heat_loss_btu_hr_ft ∝ (pipe_temp - ambient_temp) joule_thomson_cooling ∝ pressure_drop (gas pipelines, ~0.002 multiplier)

The sample's (temp-ambient) ↔ heat_loss Pearson correlation is r ≈ +0.83strong positive coupling validates Newton's cooling physics.

flow_assurance.csvSloan-Koh (2008) hydrate physics:

wax_risk = (118 - temp_f) × 1.8 + viscosity × 0.35 + current_wax × 600 hydrate_risk = (95 - temp_f) × 2.2 + pressure/50 + 20·is_gas slugging_risk = multiphase × N(45, 15) + 20 × |sin(t/7)|

leak_detection.csvAPI 1130 + API RP 1175 computational pipeline monitoring leak detection:

leak_rate_bpd = lognormal(2.8, 0.9) clip 2-850 pressure_signature = 50 + leak_rate/8 + noise detection_delay_sec = lognormal(7.0, 0.8) clip 60-86400

optimization_labels.csvdeterministic feature-coupled labels:

opt_score = 100 - |demand - 0.92| × 60 - max(wax, hydrate) × 0.18 - leak_prob × 0.22 - anomaly × 8 failure_risk = (100 - opt_score) × 0.7 + leak_prob × 0.3 grade = 'A' if opt_score ≥ 85 else 'B' if ≥ 70 else 'C' if ≥ 55 else 'D'

The sample's optimization↔failure Pearson correlation is r ≈ −0.994near-deterministic inverse coupling validates formula-level label generation.


Suggested use cases

  1. Pressure drop prediction — regression on pressure_drop_psi from flow + diameter + roughness + temp features. Strong physics: Darcy-Weisbach signal validated.
  2. Friction factor prediction — predict friction_factor from Reynolds + roughness ratio per Swamee-Jain / Moody chart.
  3. Leak probability scoring — regression on leak_probability_score per NACE SP0169 + API 1130. Strong physics: corrosion-leak r ≈ +0.97.
  4. Flow assurance binary classification — predict flow_assurance_state == 'critical' from temperature + viscosity + pressure features per Sloan-Koh.
  5. Wax deposition forecasting — time-series forecasting of wax_deposition_thickness_mm per coupled accumulation physics.
  6. Pipeline efficiency grade classification — 4-class ordinal classifier on efficiency_grade (A/B/C/D). Strong feature coupling — models WILL learn meaningful patterns.
  7. Pump cavitation prediction — regression on cavitation_risk_score from RPM + demand features per API 610 + Hydraulic Institute.
  8. 15-class transient event classification — multi-class classifier on event_type (rare events at sample scale; see Honest Disclosure §1).
  9. Mass balance anomaly detection — anomaly detection on mass_balance_error_pct per API 1130 CPM leak detection.
  10. Multi-table relational ML — entity-resolution + graph neural- network learning across the 12 joinable tables via pipeline_id, segment_id, timestamp.

Loading

from datasets import load_dataset
ds = load_dataset("xpertsystems/oil024-sample", data_files="hydraulic_profiles.csv")
print(ds["train"][0])

Or with pandas:

import pandas as pd
master = pd.read_csv("hf://datasets/xpertsystems/oil024-sample/pipeline_master.csv")
hyd    = pd.read_csv("hf://datasets/xpertsystems/oil024-sample/hydraulic_profiles.csv")
thm    = pd.read_csv("hf://datasets/xpertsystems/oil024-sample/thermal_profiles.csv")
fa     = pd.read_csv("hf://datasets/xpertsystems/oil024-sample/flow_assurance.csv")
labels = pd.read_csv("hf://datasets/xpertsystems/oil024-sample/optimization_labels.csv")

# Full multi-table feature engineering:
joined = (hyd
    .merge(thm, on=["timestamp", "pipeline_id", "segment_id"])
    .merge(fa,  on=["timestamp", "pipeline_id", "segment_id"])
    .merge(labels, on=["timestamp", "pipeline_id", "segment_id"])
    .merge(master, on=["pipeline_id", "segment_id"]))
# Predict efficiency_grade from hydraulics + thermal + flow assurance features

Reproducibility

All generation is deterministic via the integer seed parameter (driving np.random.default_rng). A seed sweep across [42, 7, 123, 2024, 99, 1] confirms Grade A+ on every seed in this sample.


Honest disclosure of sample-scale limitations

This is a sample product calibrated for pipeline ML research, not for live operational decisions. Several notes:

  1. Flow regime is ~100% turbulent because transmission pipeline Reynolds numbers naturally exceed 4000 (sample mean Re ≈ 1.1M). Laminar regime is essentially absent at sample scale — only pipelines with very viscous fluids (heavy crude) at very low flow rates would produce laminar flow. For laminar-regime ML, filter to primary_fluid == 'heavy_crude' AND flow_bpd < 5000 or wait for the full product which adds explicit low-flow scenarios.

  2. Pump cavitation risk is ~0 because the generator's formula (rpm - 2700)/12 + N(0, 5) clips at 0 for typical 1750 rpm operation. Real cavitation risk requires NPSH-margin physics (OIL-021 implements this correctly). For pump cavitation ML, use OIL-021 instead; OIL-024 cavitation is a placeholder.

  3. Integrity state is 100% 'normal' at 7-day sample horizon because leak_probability > 40 threshold (for 'watch' classification) requires longer-horizon corrosion accumulation. The full product (30-day prod mode) and full-scale simulations show meaningful 'watch' and 'high_risk' populations. For integrity-state classification ML, use the full product or augment with external corrosion-progression simulations.

  4. Transient events are sparse (~20 events per 55 pipelines at sample scale). For 15-class event-type classification ML, use the full product (12000+ pipelines for 30 days) or filter to pipeline-day aggregated event flags rather than per-timestep events.

  5. Leak events are very rare (~3 leak entries across 55 pipelines). Leak ML requires the full product. For leak detection ML at sample scale, use leak_probability_score regression rather than the binary leak flag.

  6. Sensor drift flag rate is ~0.04% because the generator only sets drift_flag = True when event_type == 'sensor_drift', which is one of 15 event types at 0.6% rare event rate. For sensor drift ML, use full product or rely on signal-quality quality_flag instead.

  7. Flow ↔ pressure drop correlation is weak (r ≈ +0.06) because the relationship is dominated by between-segment variance in diameter, length, and fluid type rather than within-segment flow-pressure scaling. For Darcy-Weisbach ML, normalize pressure drop per-segment (dp/L or use friction factor) before fitting. Within a single segment, the relationship is strong (r > 0.85 typically).

  8. Flow assurance critical rate is ~38% — higher than realistic field operation (5-15% typical). The generator's wax_risk formula (118-temp) × 1.8 triggers easily at ambient temperatures; real field operation includes insulation and heat-tracing that reduces wax onset. For realistic flow assurance ML, filter critical classifications by insulation type (insulation_type in ['high', 'subsea_wet_insulated'] for realistic thermal-protected operation).


Cross-references to other XpertSystems OIL SKUs

This SKU is the second midstream SKU in the catalog (after OIL-015 flow assurance):

SKU Layer Focus
OIL-015 Midstream Pipeline flow assurance (wax / hydrate / asphaltene threshold gating)
OIL-024 Midstream Full pipeline hydraulics + SCADA + leak detection + transient events (this SKU)
OIL-018 Upstream Wellbore-to-separator multiphase flow (Beggs-Brill regime classification)

OIL-024 vs OIL-015: OIL-015 specializes in flow-assurance-only threshold-gated wax/hydrate/asphaltene deposition. OIL-024 is the comprehensive midstream pipeline operations dataset — full Swamee-Jain hydraulics + Darcy-Weisbach pressure drop + thermal profiles + SCADA telemetry + leak detection + 15-class transient event taxonomy + 10-fluid- type PVT-aware physics. Use OIL-015 for flow-assurance ML specifically, OIL-024 for general pipeline operations / SCADA / hydraulic ML.

OIL-024 vs OIL-018: OIL-018 simulates wellbore-to-separator multiphase flow with Beggs-Brill regime classification (upstream). OIL-024 simulates midstream transmission pipelines with single-phase or multiphase flow assurance (downstream of separator). Use OIL-018 for upstream production multiphase ML, OIL-024 for midstream transmission pipeline ML.


Full product

The full OIL-024 dataset ships at 12,000 pipelines × 30 days × 60-min interval (prod mode) producing tens of millions of rows with richer event populations (1000+ events for class-balanced 15-class ML), full NPSH-conditioned pump cavitation physics, multi-day leak event populations, realistic flow assurance critical rates (insulation- conditioned), and explicit laminar-flow scenarios (heavy-crude low-flow regimes) — licensed commercially. Contact XpertSystems.ai for licensing terms.

📧 pradeep@xpertsystems.ai 🌐 https://xpertsystems.ai


Citation

@dataset{xpertsystems_oil024_sample_2026,
  title  = {OIL-024: Synthetic Pipeline Flow Dataset (Sample)},
  author = {XpertSystems.ai},
  year   = {2026},
  url    = {https://huggingface.co/datasets/xpertsystems/oil024-sample}
}

Generation details

  • Sample version : 1.0.0
  • Random seed : 42
  • Generated : 2026-05-22 21:05:15 UTC
  • Pipelines : 55
  • Segments : 369 (avg 6.7 per pipeline)
  • Simulation days : 7
  • Time-step interval: 180 minutes
  • Fluid families : 10 (light/medium/heavy crude, dry/wet gas, refined product, water, CO2, LNG, hydrogen blend)
  • Pipeline types : 10 (crude oil / natural gas / refined products / offshore subsea / multiphase gathering / water injection / CO2 transport / heavy oil diluent / LNG / hydrogen-ready)
  • Regions : 10 (Permian Basin, Gulf Coast, North Sea, Middle East, Canadian Oil Sands, Offshore Brazil, West Africa, Alaska Arctic, Rocky Mountains, Appalachia)
  • Terrains : 7 (flat, rolling, mountainous, offshore, subsea, arctic, desert)
  • Event types : 15 (pump trip, compressor trip, valve throttle, emergency shutdown, restart, surge, water hammer, slugging, hydrate risk, wax deposition, SCADA outage, sensor drift, leak, corrosion alarm, pigging run)
  • Calibration basis : Swamee-Jain (1976), Darcy-Weisbach (1857), Moody (1944), Reynolds (1883), Hagen-Poiseuille (1839), Colebrook-White (1939), API 5L, ASME B31.4/B31.8, API 1130, API RP 1175, NACE SP0169, Sloan-Koh (2008), PHMSA, CSA Z662, API 610, API 617
  • Overall validation: 100.0/100 — Grade A+
Downloads last month
-