The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 16 new columns ({'prod_id', 'gor_scf_bbl', 'anomaly_flag', 'choke_size_64ths', 'cumulative_water_bbl', 'tubing_pressure_psi', 'cumulative_gas_mscf', 'cumulative_oil_bbl', 'anomaly_type', 'oil_rate_bopd', 'water_rate_bwpd', 'water_cut_pct', 'uptime_fraction', 'production_date', 'casing_pressure_psi', 'gas_rate_mscfd'}) and 8 missing columns ({'lift_type', 'vibration_index', 'pump_efficiency', 'runtime_pct', 'motor_temperature_f', 'lift_id', 'record_date', 'esp_frequency_hz'}).
This happened while the csv dataset builder was generating data using
hf://datasets/xpertsystems/oil013-sample/daily_production.csv (at revision 9ca53dcdc8bf6a4fe5435173b03adf80be526fb7), [/tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/artificial_lift.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/artificial_lift.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/daily_production.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/daily_production.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/downtime_events.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/downtime_events.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/facility_constraints.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/facility_constraints.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/flow_assurance_events.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/flow_assurance_events.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/injection_support.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/injection_support.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_allocations.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_allocations.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_labels.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_labels.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/reservoir_pressure.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/reservoir_pressure.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/stimulation_events.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/stimulation_events.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/wells_master.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/wells_master.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
prod_id: string
well_id: string
production_date: string
oil_rate_bopd: double
gas_rate_mscfd: double
water_rate_bwpd: double
water_cut_pct: double
gor_scf_bbl: double
choke_size_64ths: double
tubing_pressure_psi: double
casing_pressure_psi: double
uptime_fraction: double
cumulative_oil_bbl: double
cumulative_gas_mscf: double
cumulative_water_bbl: double
anomaly_flag: int64
anomaly_type: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2462
to
{'lift_id': Value('string'), 'well_id': Value('string'), 'record_date': Value('string'), 'lift_type': Value('string'), 'esp_frequency_hz': Value('float64'), 'pump_efficiency': Value('float64'), 'motor_temperature_f': Value('float64'), 'vibration_index': Value('float64'), 'runtime_pct': 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 16 new columns ({'prod_id', 'gor_scf_bbl', 'anomaly_flag', 'choke_size_64ths', 'cumulative_water_bbl', 'tubing_pressure_psi', 'cumulative_gas_mscf', 'cumulative_oil_bbl', 'anomaly_type', 'oil_rate_bopd', 'water_rate_bwpd', 'water_cut_pct', 'uptime_fraction', 'production_date', 'casing_pressure_psi', 'gas_rate_mscfd'}) and 8 missing columns ({'lift_type', 'vibration_index', 'pump_efficiency', 'runtime_pct', 'motor_temperature_f', 'lift_id', 'record_date', 'esp_frequency_hz'}).
This happened while the csv dataset builder was generating data using
hf://datasets/xpertsystems/oil013-sample/daily_production.csv (at revision 9ca53dcdc8bf6a4fe5435173b03adf80be526fb7), [/tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/artificial_lift.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/artificial_lift.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/daily_production.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/daily_production.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/downtime_events.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/downtime_events.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/facility_constraints.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/facility_constraints.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/flow_assurance_events.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/flow_assurance_events.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/injection_support.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/injection_support.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_allocations.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_allocations.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_labels.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/production_labels.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/reservoir_pressure.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/reservoir_pressure.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/stimulation_events.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/stimulation_events.csv), /tmp/hf-datasets-cache/medium/datasets/39524978281897-config-parquet-and-info-xpertsystems-oil013-sampl-1b200c31/hub/datasets--xpertsystems--oil013-sample/snapshots/9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/wells_master.csv (origin=hf://datasets/xpertsystems/oil013-sample@9ca53dcdc8bf6a4fe5435173b03adf80be526fb7/wells_master.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.
lift_id string | well_id string | record_date string | lift_type string | esp_frequency_hz null | pump_efficiency null | motor_temperature_f null | vibration_index null | runtime_pct float64 |
|---|---|---|---|---|---|---|---|---|
LIFT_0000000001 | WELL_0000000001 | 2021-07-09 | natural_flow | null | null | null | null | 98.937 |
LIFT_0000000002 | WELL_0000000001 | 2021-07-16 | natural_flow | null | null | null | null | 96.437 |
LIFT_0000000003 | WELL_0000000001 | 2021-07-23 | natural_flow | null | null | null | null | 100 |
LIFT_0000000004 | WELL_0000000001 | 2021-07-30 | natural_flow | null | null | null | null | 100 |
LIFT_0000000005 | WELL_0000000001 | 2021-08-06 | natural_flow | null | null | null | null | 100 |
LIFT_0000000006 | WELL_0000000001 | 2021-08-13 | natural_flow | null | null | null | null | 98.404 |
LIFT_0000000007 | WELL_0000000001 | 2021-08-20 | natural_flow | null | null | null | null | 99.707 |
LIFT_0000000008 | WELL_0000000001 | 2021-08-27 | natural_flow | null | null | null | null | 97.102 |
LIFT_0000000009 | WELL_0000000001 | 2021-09-03 | natural_flow | null | null | null | null | 97.883 |
LIFT_0000000010 | WELL_0000000001 | 2021-09-10 | natural_flow | null | null | null | null | 97.347 |
LIFT_0000000011 | WELL_0000000001 | 2021-09-17 | natural_flow | null | null | null | null | 99.01 |
LIFT_0000000012 | WELL_0000000001 | 2021-09-24 | natural_flow | null | null | null | null | 100 |
LIFT_0000000013 | WELL_0000000001 | 2021-10-01 | natural_flow | null | null | null | null | 100 |
LIFT_0000000014 | WELL_0000000001 | 2021-10-08 | natural_flow | null | null | null | null | 100 |
LIFT_0000000015 | WELL_0000000001 | 2021-10-15 | natural_flow | null | null | null | null | 98.255 |
LIFT_0000000016 | WELL_0000000001 | 2021-10-22 | natural_flow | null | null | null | null | 100 |
LIFT_0000000017 | WELL_0000000001 | 2021-10-29 | natural_flow | null | null | null | null | 100 |
LIFT_0000000018 | WELL_0000000001 | 2021-11-05 | natural_flow | null | null | null | null | 98.427 |
LIFT_0000000019 | WELL_0000000001 | 2021-11-12 | natural_flow | null | null | null | null | 97.967 |
LIFT_0000000020 | WELL_0000000001 | 2021-11-19 | natural_flow | null | null | null | null | 100 |
LIFT_0000000021 | WELL_0000000001 | 2021-11-26 | natural_flow | null | null | null | null | 98.92 |
LIFT_0000000022 | WELL_0000000001 | 2021-12-03 | natural_flow | null | null | null | null | 99.728 |
LIFT_0000000023 | WELL_0000000001 | 2021-12-10 | natural_flow | null | null | null | null | 97.197 |
LIFT_0000000024 | WELL_0000000001 | 2021-12-17 | natural_flow | null | null | null | null | 100 |
LIFT_0000000025 | WELL_0000000001 | 2021-12-24 | natural_flow | null | null | null | null | 99.149 |
LIFT_0000000026 | WELL_0000000001 | 2021-12-31 | natural_flow | null | null | null | null | 97.341 |
LIFT_0000000027 | WELL_0000000001 | 2022-01-07 | natural_flow | null | null | null | null | 97.498 |
LIFT_0000000028 | WELL_0000000001 | 2022-01-14 | natural_flow | null | null | null | null | 96.872 |
LIFT_0000000029 | WELL_0000000001 | 2022-01-21 | natural_flow | null | null | null | null | 100 |
LIFT_0000000030 | WELL_0000000001 | 2022-01-28 | natural_flow | null | null | null | null | 100 |
LIFT_0000000031 | WELL_0000000001 | 2022-02-04 | natural_flow | null | null | null | null | 100 |
LIFT_0000000032 | WELL_0000000001 | 2022-02-11 | natural_flow | null | null | null | null | 99.781 |
LIFT_0000000033 | WELL_0000000001 | 2022-02-18 | natural_flow | null | null | null | null | 95.656 |
LIFT_0000000034 | WELL_0000000001 | 2022-02-25 | natural_flow | null | null | null | null | 99.044 |
LIFT_0000000035 | WELL_0000000001 | 2022-03-04 | natural_flow | null | null | null | null | 98.643 |
LIFT_0000000036 | WELL_0000000001 | 2022-03-11 | natural_flow | null | null | null | null | 98.789 |
LIFT_0000000037 | WELL_0000000001 | 2022-03-18 | natural_flow | null | null | null | null | 99.415 |
LIFT_0000000038 | WELL_0000000001 | 2022-03-25 | natural_flow | null | null | null | null | 100 |
LIFT_0000000039 | WELL_0000000001 | 2022-04-01 | natural_flow | null | null | null | null | 100 |
LIFT_0000000040 | WELL_0000000001 | 2022-04-08 | natural_flow | null | null | null | null | 100 |
LIFT_0000000041 | WELL_0000000001 | 2022-04-15 | natural_flow | null | null | null | null | 99.604 |
LIFT_0000000042 | WELL_0000000001 | 2022-04-22 | natural_flow | null | null | null | null | 100 |
LIFT_0000000043 | WELL_0000000001 | 2022-04-29 | natural_flow | null | null | null | null | 100 |
LIFT_0000000044 | WELL_0000000001 | 2022-05-06 | natural_flow | null | null | null | null | 99.58 |
LIFT_0000000045 | WELL_0000000001 | 2022-05-13 | natural_flow | null | null | null | null | 100 |
LIFT_0000000046 | WELL_0000000001 | 2022-05-20 | natural_flow | null | null | null | null | 99.177 |
LIFT_0000000047 | WELL_0000000001 | 2022-05-27 | natural_flow | null | null | null | null | 100 |
LIFT_0000000048 | WELL_0000000001 | 2022-06-03 | natural_flow | null | null | null | null | 100 |
LIFT_0000000049 | WELL_0000000001 | 2022-06-10 | natural_flow | null | null | null | null | 99.394 |
LIFT_0000000050 | WELL_0000000001 | 2022-06-17 | natural_flow | null | null | null | null | 100 |
LIFT_0000000051 | WELL_0000000001 | 2022-06-24 | natural_flow | null | null | null | null | 100 |
LIFT_0000000052 | WELL_0000000001 | 2022-07-01 | natural_flow | null | null | null | null | 100 |
LIFT_0000000053 | WELL_0000000001 | 2022-07-08 | natural_flow | null | null | null | null | 100 |
LIFT_0000000054 | WELL_0000000002 | 2020-12-06 | natural_flow | null | null | null | null | 100 |
LIFT_0000000055 | WELL_0000000002 | 2020-12-13 | natural_flow | null | null | null | null | 98.059 |
LIFT_0000000056 | WELL_0000000002 | 2020-12-20 | natural_flow | null | null | null | null | 98.083 |
LIFT_0000000057 | WELL_0000000002 | 2020-12-27 | natural_flow | null | null | null | null | 98.734 |
LIFT_0000000058 | WELL_0000000002 | 2021-01-03 | natural_flow | null | null | null | null | 99.915 |
LIFT_0000000059 | WELL_0000000002 | 2021-01-10 | natural_flow | null | null | null | null | 99.325 |
LIFT_0000000060 | WELL_0000000002 | 2021-01-17 | natural_flow | null | null | null | null | 100 |
LIFT_0000000061 | WELL_0000000002 | 2021-01-24 | natural_flow | null | null | null | null | 99.051 |
LIFT_0000000062 | WELL_0000000002 | 2021-01-31 | natural_flow | null | null | null | null | 99.75 |
LIFT_0000000063 | WELL_0000000002 | 2021-02-07 | natural_flow | null | null | null | null | 96.874 |
LIFT_0000000064 | WELL_0000000002 | 2021-02-14 | natural_flow | null | null | null | null | 97.351 |
LIFT_0000000065 | WELL_0000000002 | 2021-02-21 | natural_flow | null | null | null | null | 99.634 |
LIFT_0000000066 | WELL_0000000002 | 2021-02-28 | natural_flow | null | null | null | null | 98.34 |
LIFT_0000000067 | WELL_0000000002 | 2021-03-07 | natural_flow | null | null | null | null | 98.552 |
LIFT_0000000068 | WELL_0000000002 | 2021-03-14 | natural_flow | null | null | null | null | 99.057 |
LIFT_0000000069 | WELL_0000000002 | 2021-03-21 | natural_flow | null | null | null | null | 99.899 |
LIFT_0000000070 | WELL_0000000002 | 2021-03-28 | natural_flow | null | null | null | null | 100 |
LIFT_0000000071 | WELL_0000000002 | 2021-04-04 | natural_flow | null | null | null | null | 98.584 |
LIFT_0000000072 | WELL_0000000002 | 2021-04-11 | natural_flow | null | null | null | null | 100 |
LIFT_0000000073 | WELL_0000000002 | 2021-04-18 | natural_flow | null | null | null | null | 98.368 |
LIFT_0000000074 | WELL_0000000002 | 2021-04-25 | natural_flow | null | null | null | null | 100 |
LIFT_0000000075 | WELL_0000000002 | 2021-05-02 | natural_flow | null | null | null | null | 98.881 |
LIFT_0000000076 | WELL_0000000002 | 2021-05-09 | natural_flow | null | null | null | null | 100 |
LIFT_0000000077 | WELL_0000000002 | 2021-05-16 | natural_flow | null | null | null | null | 100 |
LIFT_0000000078 | WELL_0000000002 | 2021-05-23 | natural_flow | null | null | null | null | 98.044 |
LIFT_0000000079 | WELL_0000000002 | 2021-05-30 | natural_flow | null | null | null | null | 100 |
LIFT_0000000080 | WELL_0000000002 | 2021-06-06 | natural_flow | null | null | null | null | 100 |
LIFT_0000000081 | WELL_0000000002 | 2021-06-13 | natural_flow | null | null | null | null | 100 |
LIFT_0000000082 | WELL_0000000002 | 2021-06-20 | natural_flow | null | null | null | null | 97.272 |
LIFT_0000000083 | WELL_0000000002 | 2021-06-27 | natural_flow | null | null | null | null | 100 |
LIFT_0000000084 | WELL_0000000002 | 2021-07-04 | natural_flow | null | null | null | null | 100 |
LIFT_0000000085 | WELL_0000000002 | 2021-07-11 | natural_flow | null | null | null | null | 99.305 |
LIFT_0000000086 | WELL_0000000002 | 2021-07-18 | natural_flow | null | null | null | null | 98.793 |
LIFT_0000000087 | WELL_0000000002 | 2021-07-25 | natural_flow | null | null | null | null | 100 |
LIFT_0000000088 | WELL_0000000002 | 2021-08-01 | natural_flow | null | null | null | null | 94.716 |
LIFT_0000000089 | WELL_0000000002 | 2021-08-08 | natural_flow | null | null | null | null | 100 |
LIFT_0000000090 | WELL_0000000002 | 2021-08-15 | natural_flow | null | null | null | null | 100 |
LIFT_0000000091 | WELL_0000000002 | 2021-08-22 | natural_flow | null | null | null | null | 99.665 |
LIFT_0000000092 | WELL_0000000002 | 2021-08-29 | natural_flow | null | null | null | null | 100 |
LIFT_0000000093 | WELL_0000000002 | 2021-09-05 | natural_flow | null | null | null | null | 100 |
LIFT_0000000094 | WELL_0000000002 | 2021-09-12 | natural_flow | null | null | null | null | 94.25 |
LIFT_0000000095 | WELL_0000000002 | 2021-09-19 | natural_flow | null | null | null | null | 100 |
LIFT_0000000096 | WELL_0000000002 | 2021-09-26 | natural_flow | null | null | null | null | 99.822 |
LIFT_0000000097 | WELL_0000000002 | 2021-10-03 | natural_flow | null | null | null | null | 100 |
LIFT_0000000098 | WELL_0000000002 | 2021-10-10 | natural_flow | null | null | null | null | 100 |
LIFT_0000000099 | WELL_0000000002 | 2021-10-17 | natural_flow | null | null | null | null | 99.45 |
LIFT_0000000100 | WELL_0000000002 | 2021-10-24 | natural_flow | null | null | null | null | 100 |
OIL-013 — Synthetic Production Time-Series Dataset (Sample)
SKU: OIL013-SAMPLE · Vertical: Oil & Gas / Upstream Production Engineering
License: CC-BY-NC-4.0 (sample) · Schema version: oil013.v1
Sample version: 1.0.0 · Default seed: 42
A free, schema-identical preview of XpertSystems.ai's enterprise production time-series dataset for decline curve ML, artificial-lift optimization, workover-candidate prediction, and water-breakthrough forecasting. The sample covers 250 wells across 10 global basins and 8 asset types, simulated over 365 days, with 116,154 rows including 91,250 daily production records linked across 11 tables.
What's in the box
| File | Rows | Cols | Description |
|---|---|---|---|
wells_master.csv |
250 | 24 | Well spine: basin, formation, completion, lift type, Arps decline params (qi, di, b) |
daily_production.csv |
91,250 | 17 | Per-well-per-day oil/gas/water/water-cut/GOR/pressures/uptime/anomaly |
reservoir_pressure.csv |
6,750 | 7 | Biweekly pressure tests: reservoir P + BHFP + drawdown + test quality |
artificial_lift.csv |
13,250 | 9 | Weekly lift performance: ESP frequency/pump efficiency/motor temp/vibration/runtime |
downtime_events.csv |
491 | 7 | 8-class downtime (planned/unplanned/facility/weather/flow assurance/lift/integrity/power) |
stimulation_events.csv |
1 | 8 | Workover/refrac/acidizing/cleanout/lift change with expected/actual uplift |
injection_support.csv |
40 | 9 | Producer-injector pairings with response-lag correlation scores |
production_allocations.csv |
625 | 6 | 1-4 producing zones per well, Dirichlet-sampled (sums to 100%) |
facility_constraints.csv |
200 | 8 | Per-field throughput/gas/water handling limits + constraint severity |
flow_assurance_events.csv |
47 | 9 | 6-class flow assurance (scale/paraffin/hydrate/sand/emulsion/corrosion) |
production_labels.csv |
3,250 | 9 | Monthly ML labels: 6-class forecast + 4 binary flags (workover/water breakthrough/steep decline/lift limited) |
Total: 116,154 rows across 11 CSVs, ~14.8 MB on disk.
Calibration: industry-anchored, honestly reported
Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: Arps (1945) JPT "Analysis of Decline Curves" (canonical hyperbolic decline equation), SPE Petroleum Engineering Handbook Vol V, SPE 152596 (Unconventional Reservoir Decline Curve Analysis), SPE 167242 (Arps b-factor calibration for unconventional wells), SPE 174021 (ESP performance benchmarks), API RP-11ER (sucker rod pumping system design), EIA Annual Energy Outlook, Rystad ShaleWellCube (unconventional well economics), IHS Markit global production tracker, IOGP allocation standards.
Sample run (seed 42, n_wells=250, simulation_days=365):
| # | Metric | Observed | Target | Tolerance | Status | Source |
|---|---|---|---|---|---|---|
| 1 | avg initial oil rate bopd | 1232.3387 | 1100.0 | ±400.0 | ✓ PASS | EIA AEO + Rystad ShaleWellCube — mean initial oil rate for mixed US unconventional + international portfolio (Permian/Eagle Ford ~1500 BOPD IP, deepwater ~2000, heavy oil ~300, shale gas ~200 BOPD condensate) |
| 2 | avg initial water cut pct | 32.7699 | 34.0 | ±10.0 | ✓ PASS | SPE Petroleum Engineering Handbook Vol V + Rystad — mean initial water cut for mixed onshore/offshore production portfolio (greenfield wells typically 5-25%, mature fields 40-70%) |
| 3 | avg initial gor scf bbl | 1977.7810 | 1800.0 | ±600.0 | ✓ PASS | SPE PEH Vol V + EIA — mean initial gas-oil ratio across mixed oil/condensate/wet-gas portfolio (Permian ~1500, Marcellus 5000+ condensate, Bakken 1200-2500, heavy oil 200-500 scf/bbl) |
| 4 | avg nominal decline rate | 0.2300 | 0.23 | ±0.08 | ✓ PASS | SPE 152596 (Unconventional Reservoir Decline Curve Analysis) + SPE 167242 — mean first-year nominal annual decline rate for mixed shale/conventional portfolio (shale 0.30-0.65 yr1, conventional 0.05-0.20, deepwater 0.08-0.25) |
| 5 | avg arps b factor | 0.9574 | 1.0 | ±0.3 | ✓ PASS | Arps (1945) JPT + SPE 167242 — mean hyperbolic exponent b-factor for unconventional/conventional mix (shale typically 1.0-1.8 transitioning to exponential at terminal decline, conventional 0.3-1.0) |
| 6 | arps decline fidelity score | 0.9501 | 0.9 | ±0.06 | ✓ PASS | Arps (1945) JPT canonical decline equation — fidelity of generated daily production rates to the Arps prediction (computed as 1 - mean absolute relative error on anomaly-free days across 50 sample wells, target ≥0.85 indicates strong Arps physics) |
| 7 | production mass balance score | 1.0000 | 0.99 | ±0.01 | ✓ PASS | Material balance principle — cumulative production should equal sum of daily rates (verifies generator's cumulative_oil_bbl column is internally consistent, target ≥0.98 indicates proper integration) |
| 8 | allocation completeness score | 1.0000 | 1.0 | ±0.02 | ✓ PASS | SPE production allocation guidelines + IOGP allocation standards — per-well allocation percentages across producing zones must sum to 100% (validates Dirichlet sampling produces complete allocations) |
| 9 | basin diversity entropy | 0.9964 | 0.95 | ±0.05 | ✓ PASS | Rystad Energy + EIA + IHS Markit global production tracker — 10-class basin diversity benchmark (Permian, Eagle Ford, Bakken, Marcellus, Haynesville, GoM, North Sea, Middle East, Western Canada, Brazil Pre-Salt), normalized Shannon entropy |
| 10 | lift type diversity entropy | 0.9078 | 0.85 | ±0.1 | ✓ PASS | API RP-11ER + SPE 174021 + Spears & Associates lift market intelligence — 6-class artificial lift diversity benchmark (natural flow, ESP, rod pump, gas lift, PCP, plunger lift), normalized Shannon entropy (ESP-dominant per industry default weights [0.18, 0.31, 0.22, 0.18, 0.07, 0.04]) |
Overall: 100.0/100 — Grade A+ (10 PASS · 0 MARGINAL · 0 FAIL of 10 metrics)
Schema highlights
daily_production.csv — the production spine, one row per well per day.
The oil-rate model is Arps (1945) hyperbolic decline modulated by
operational factors:
q(t) = qi / (1 + b·di·t)^(1/b) — Arps hyperbolic oil_rate = q(t) × seasonal × noise × uptime × lift_factor
The decline-curve fidelity is high: at sample scale, the mean absolute relative error between actual rates and pure-Arps predictions on anomaly- free days is ~6%, with the residual driven by lift degradation (built-in) and operational noise (1.5% std). The full Arps physics is preserved well-by-well — see the scorecard for the explicit fidelity check.
reservoir_pressure.csv — biweekly pressure tests with realistic
drawdown modeling:
reservoir_pressure(d) = p0 × (1 − 0.22 × d/sim_days) + N(0, 45) bhfp = reservoir_pressure − U(250, 1700) drawdown = reservoir_pressure − bhfp
Pressure-test quality follows the A/B/C grading convention common in production engineering (40% A, 40% B, 20% C).
artificial_lift.csv — weekly performance per lift type. ESP wells
get full instrumentation (ESP frequency Hz, pump efficiency, motor
temperature F, vibration index); rod pump / PCP / gas lift / plunger
get pump efficiency + vibration only. ESP frequency centered at 52 Hz
per API/SPE 174021 ESP operating-range guidance.
production_labels.csv — monthly ML labels with 6-class forecast
classification:
| Class | Trigger |
|---|---|
stable |
oil_rate ≥ 0.60 × qi AND wc ≤ 62% |
moderate_decline |
oil_rate < 0.60 × qi |
workover_candidate |
oil_rate < 0.35 × qi OR wc > 62% |
water_breakthrough |
wc > 75% |
lift_limited |
non-natural-flow AND uptime < 78% |
steep_decline |
oil_rate < 0.20 × qi at early time |
Plus four binary flags: workover_candidate_flag, water_breakthrough_flag,
steep_decline_flag, lift_limited_flag.
production_allocations.csv — per-well multi-zone allocation using
Dirichlet sampling over 1-4 zones; per-well percentages sum to exactly
100%. Allocation methods follow standard production engineering practice:
test separator / production logging / model based / commingled estimate
(weighted equally).
flow_assurance_events.csv — 6-class flow assurance taxonomy aligned
with NACE corrosion standards + SPE flow assurance literature:
scale / paraffin / hydrate / sand / emulsion / corrosion. Per-event
domain-specific risk indices.
Suggested use cases
- Arps decline curve regression — fit hyperbolic Arps parameters
(qi, di, b) from the first 60-180 days of daily production for
each well; benchmark against the ground-truth params in
wells_master.csv. Strong physics signal — sample mean Arps fidelity is ~94%. - 6-class forecast class classification — multi-class classifier
on
forecast_classfrom daily production + lift + pressure features. - Workover candidate prediction — binary classifier on
workover_candidate_flagfrom upstream features. Highly class-imbalanced (~3% positives), realistic for production engineering operations. - Water breakthrough prediction — binary or time-to-event
modeling on
water_breakthrough_flagfrom water-cut trajectory features. - ESP failure prediction — train RUL or binary failure
classifier on
artificial_lift.csvESP-only rows using vibration, motor temperature, pump efficiency degradation as features. - Multi-zone allocation regression — predict per-zone allocation percentages from well characteristics and zone metadata.
- Flow assurance type classification — 6-class classifier on
flow_assurance_typefrom well characteristics and production conditions. - Production rate forecasting — N-day-ahead time-series forecasting of oil/gas/water rates from historical features (LSTM / Transformer / TFT benchmark target).
- Downtime root-cause classification — 6-class classifier on
root_cause_category(surface/subsurface/facility/weather/power/ unknown) from production anomaly patterns. - Multi-table relational ML — entity-resolution and graph
neural-network learning across the 11 joinable tables via
well_id+production_date.
Loading
from datasets import load_dataset
ds = load_dataset("xpertsystems/oil013-sample", data_files="daily_production.csv")
print(ds["train"][0])
Or with pandas:
import pandas as pd
wells = pd.read_csv("hf://datasets/xpertsystems/oil013-sample/wells_master.csv")
daily = pd.read_csv("hf://datasets/xpertsystems/oil013-sample/daily_production.csv")
lift = pd.read_csv("hf://datasets/xpertsystems/oil013-sample/artificial_lift.csv")
labels = pd.read_csv("hf://datasets/xpertsystems/oil013-sample/production_labels.csv")
# Join daily production to wells master for asset-type / completion-type features
joined = daily.merge(wells, on="well_id")
# Join labels to daily production (monthly labels propagated to all days in month)
labels["label_date"] = pd.to_datetime(labels["label_date"])
daily["production_date"] = pd.to_datetime(daily["production_date"])
Reproducibility
All generation is deterministic via the integer seed parameter (driving
both random.seed and 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 production-engineering and decline-curve ML research, not for live production-allocation decisions. A few notes:
Initial rates run higher than declared base parameter. The generator's
--mean-initial-oil-rate-bopdparameter is 950 BOPD, but the actual observed mean is ~1100 BOPD because two stacked lognormal multipliers (basin profileqi_mult× per-welllognormal(0, 0.25)) compound to a multiplier mean > 1. Same pattern for GOR (declared 1450, observed ~1800). This is realistic (real production distributions have positive skew), but if you need a pure declared-target match, scale--mean-initial-oil-rate- bopddown by ~13% to compensate for the lognormal-compound bias.Anomaly and downtime injection rates are very low. The generator divides
anomaly_injection_rate / 365.25anddowntime_event_rate / 365.25to convert per-year rates to per-day probabilities. At sample defaults (3% per year, 2.2% per year), this gives0.0001 daily probability — essentially zero anomalies in the daily timeseries (0.01% rate observed). Thedowntime_events.csvtable is separately generated via a Poisson model and is populated (~2 events/well), so downtime ML training uses that table, not the per-day anomaly flag.Forecast class distribution is heavily skewed toward "stable" (~97%) because the simulation runs only 365 days — Arps hyperbolic decline with mean b=1.0 and di=0.23 produces only ~20-27% rate decline in year 1, which keeps most wells in the "stable" class (oil_rate ≥ 0.60 × qi). For long-horizon forecast ML, use the full product with
--simulation-days 1800+to see meaningful class diversity (steep_decline, lift_limited, water_breakthrough all populate substantially over 3-5 years).Stimulation events are extremely sparse (~1 event in 250 wells at sample scale) because the generator uses a one-time Bernoulli draw per well with combined probability ~2.4%. Full product (120K wells × 3650 days) gives ~3000 stimulation events with full event-type diversity. For workover ML at sample scale, use the
workover_candidate_flaginproduction_labels.csv(synthesized from production patterns) rather than the literal stimulation_events table.Mass balance is exact (>99.99%) because the generator's
cumulative_oil_bblcolumn is computed as a running sum ofoil_rate_bopd. This is a property of the simulation, not a physics test — but it does confirm proper integration. Use it as sanity check, not as evidence of advanced reservoir physics.Pressure decline is linear, not exponential. The generator uses
p(d) = p0 × (1 - 0.22 × d/sim_days), which is a simple linear depletion model. Real reservoirs follow material-balance- driven decline with B-factor and aquifer support — for reservoir-engineering-grade decline modeling, use SPE-PEH-Vol-V compliant tools rather than the OIL-013 pressure column.Allocation methods are uniformly weighted, not conditioned on well type or facility. Real production allocations heavily favor test-separator for low-rate wells, model-based for commingled pads, and production-logging for problem wells. Future generator v1.1 will introduce conditioning.
Full product
The full OIL-013 dataset ships at 120,000 wells × 3,650 days (prod mode) producing several hundred million daily production rows with substantial populated stimulation/workover events, full multi-year decline curves enabling meaningful forecast-class diversity, and basin-conditioned operator behavior priors — licensed commercially. Contact XpertSystems.ai for licensing terms.
📧 pradeep@xpertsystems.ai 🌐 https://xpertsystems.ai
Citation
@dataset{xpertsystems_oil013_sample_2026,
title = {OIL-013: Synthetic Production Time-Series Dataset (Sample)},
author = {XpertSystems.ai},
year = {2026},
url = {https://huggingface.co/datasets/xpertsystems/oil013-sample}
}
Generation details
- Sample version : 1.0.0
- Random seed : 42
- Generated : 2026-05-22 12:39:33 UTC
- Wells : 250
- Simulation days : 365
- Basins : 10 (Permian, Eagle Ford, Bakken, Marcellus, Haynesville, GoM, North Sea, Middle East, W Canada, Brazil Pre-Salt)
- Asset types : 8 (unconventional shale oil, tight oil, shale gas, deepwater, offshore sandstone, carbonate, heavy oil, deepwater carbonate)
- Completion types : 6 (horizontal multistage frac, vertical, deviated, multilateral, open hole, cased hole)
- Lift types : 6 (natural flow, ESP, rod pump, gas lift, PCP, plunger lift)
- Downtime types : 8 (planned, unplanned, facility, weather, flow assurance, lift, integrity, power)
- Flow assurance : 6 (scale, paraffin, hydrate, sand, emulsion, corrosion)
- Forecast classes : 6 (stable, moderate decline, steep decline, water breakthrough, lift limited, workover candidate)
- Calibration basis : Arps (1945), SPE PEH Vol V, SPE 152596, SPE 167242, SPE 174021, API RP-11ER, EIA AEO, Rystad ShaleWellCube, IHS Markit, NACE, IOGP allocation
- Overall validation: 100.0/100 — Grade A+
- Downloads last month
- 15