Datasets:
File size: 11,629 Bytes
e240e1e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | ---
license: cc-by-nc-4.0
task_categories:
- tabular-classification
- tabular-regression
- time-series-forecasting
language:
- en
tags:
- tsfile
- timeseries
- time-series
- synthetic
- oil-and-gas
- emissions
- esg
- methane
- ghg-protocol
- epa-subpart-w
- ogmp
- carbon-intensity
- ccus
- satellite-detection
- xpertsystems
- format:tsfile
pretty_name: OIL-034 — Synthetic Emissions Dataset (Sample) (TsFile)
size_categories:
- 100K<n<1M
configs:
- config_name: default
data_files:
- split: carbon_intensity
path: carbon_intensity.tsfile
- split: cems_telemetry
path: cems_telemetry.tsfile
- split: combustion_emissions
path: combustion_emissions.tsfile
- split: facility_master
path: facility_master.tsfile
- split: flaring_operations
path: flaring_operations.tsfile
- split: fugitive_emissions
path: fugitive_emissions.tsfile
- split: methane_leakage
path: methane_leakage.tsfile
- split: regulatory_reporting
path: regulatory_reporting.tsfile
- split: satellite_correlations
path: satellite_correlations.tsfile
- split: sustainability_labels
path: sustainability_labels.tsfile
- split: venting_operations
path: venting_operations.tsfile
- split: weather_dispersion
path: weather_dispersion.tsfile
---
# OIL-034 — Synthetic Emissions Dataset (Sample) (TsFile)
Apache TsFile version of [`xpertsystems/oil034-sample`](https://huggingface.co/datasets/xpertsystems/oil034-sample).
## Overview
A free, schema-identical preview of XpertSystems.ai's enterprise emissions dataset for **CO2/methane emission inventory ML, super-emitter detection, flare combustion efficiency optimization, CCUS performance modeling, satellite plume correlation, regulatory reporting analytics, and carbon intensity grading**. The sample covers **110 facilities** across **10 real production regions** (Permian Basin, Eagle Ford, Bakken, Marcellus, Haynesville, Gulf Coast, North Sea, Western Canada, Middle East, West Africa) and **10 asset types** (upstream production / compressor station / gas processing / pipeline terminal / LNG terminal / refinery / tank farm / offshore platform / CCUS facility / hydrogen unit) over **45 days** with **133,980 rows** across **12 tables**.
- **Tables:** 12 TsFile table(s), 133,980 rows in total.
- `carbon_intensity`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
- `cems_telemetry`: 39,600 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.439000 (UTC)
- `combustion_emissions`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
- `facility_master`: 110 rows, 1970-01-01 00:00:00 → 1970-01-01 00:00:00.109000 (UTC)
- `flaring_operations`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
- `fugitive_emissions`: 19,800 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.219000 (UTC)
- `methane_leakage`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
- `regulatory_reporting`: 220 rows, 2024-01-01 00:00:00 → 2024-02-01 00:00:00.109000 (UTC)
- `satellite_correlations`: 4,950 rows, 2024-01-01 00:00:00 → 2024-02-14 00:00:00.109000 (UTC)
- `sustainability_labels`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
- `venting_operations`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
- `weather_dispersion`: 9,900 rows, 2024-01-01 00:00:00 → 2024-02-14 12:00:00.109000 (UTC)
## Schema (TsFile structure)
### `carbon_intensity.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (8): `carbon_intensity_id` (string), `facility_id` (string), `throughput_boe` (double), `scope1_co2e_tons` (double), `scope2_co2e_tons` (double), `scope3_transport_co2e_tons` (double), `co2e_per_boe` (double), `net_zero_adjustment_tons` (double)
### `cems_telemetry.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (9): `telemetry_id` (string), `facility_id` (string), `sensor_id` (string), `sensor_type` (string), `emission_ppm` (double), `telemetry_latency_ms` (int64), `calibration_drift_pct` (double), `signal_quality_score` (double), `anomaly_flag` (int64)
### `combustion_emissions.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (9): `record_id` (string), `facility_id` (string), `fuel_type` (string), `fuel_consumed_mmbtu` (double), `gross_co2_tons` (double), `ccus_capture_efficiency_pct` (double), `net_co2_tons` (double), `startup_shutdown_flag` (int64), `combustion_unit_load_pct` (double)
### `facility_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** (20): `facility_id` (string), `facility_name` (string), `asset_type` (string), `region` (string), `country_group` (string), `latitude` (double), `longitude` (double), `commission_year` (int64), `facility_age_years` (int64), `throughput_boe_d` (double), `gas_fraction_pct` (double), `equipment_count` (int64), `flare_count` (int64), `cems_sensor_count` (int64), `baseline_methane_intensity_kg_per_boe` (double), `baseline_co2_intensity_ton_per_boe` (double), `inspection_program` (string), `has_ccus` (int64), `ccus_capture_capacity_tpd` (double), `regulatory_framework` (string)
### `flaring_operations.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (9): `flare_id` (string), `facility_id` (string), `flare_active_flag` (int64), `flare_gas_mcf` (double), `combustion_efficiency_pct` (double), `methane_slip_kg` (double), `flare_co2_tons` (double), `smoke_event_flag` (int64), `flare_stability_index` (double)
### `fugitive_emissions.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (8): `fugitive_id` (string), `facility_id` (string), `equipment_id` (string), `equipment_type` (string), `equipment_age_years` (double), `emission_rate_kg_hr` (double), `maintenance_due_flag` (int64), `inspection_gap_days` (int64)
### `methane_leakage.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (10): `leak_id` (string), `facility_id` (string), `source_type` (string), `methane_kg_hr` (double), `methane_tons_co2e` (double), `estimated_leak_duration_hr` (double), `detection_method` (string), `detected_flag` (int64), `rare_event_flag` (int64), `repair_status` (string)
### `regulatory_reporting.tsfile`
- **Time** (INT64, milliseconds) — the source `reporting_period` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (9): `report_id` (string), `facility_id` (string), `framework` (string), `submitted_flag` (int64), `reporting_latency_days` (int64), `estimated_uncertainty_pct` (double), `third_party_verified_flag` (int64), `exceedance_disclosed_flag` (int64), `inventory_method` (string)
### `satellite_correlations.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (8): `satellite_obs_id` (string), `facility_id` (string), `satellite_provider` (string), `plume_detected_flag` (int64), `estimated_methane_kg_hr` (double), `plume_match_score` (double), `cloud_cover_pct` (double), `wind_screen_pass_flag` (int64)
### `sustainability_labels.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (7): `label_id` (string), `facility_id` (string), `emissions_risk_score` (double), `methane_super_emitter_flag` (int64), `regulatory_exceedance_flag` (int64), `carbon_intensity_grade` (string), `recommended_action` (string)
### `venting_operations.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (7): `vent_id` (string), `facility_id` (string), `vent_event_flag` (int64), `release_volume_mcf` (double), `methane_fraction_pct` (double), `vent_reason` (string), `estimated_ch4_kg` (double)
### `weather_dispersion.tsfile`
- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (9): `weather_id` (string), `facility_id` (string), `ambient_temp_c` (double), `wind_speed_mps` (double), `wind_direction_deg` (double), `humidity_pct` (double), `atmospheric_stability_class` (string), `thermal_inversion_flag` (int64), `plume_dispersion_index` (double)
## Conversion notes
- One TsFile per source CSV (12 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 `reporting_period`, `timestamp`.
- Tables with no clock column (`facility_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`):
```java
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 = "carbon_intensity.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/oil034-sample`](https://huggingface.co/datasets/xpertsystems/oil034-sample)
- Source card title: OIL-034 — Synthetic Emissions Dataset (Sample)
- License: cc-by-nc-4.0 (as declared by the original dataset).
|