Datasets:
|
Download README.md from THULab/oil034_sample: direct link, hf CLI and curl.
- Browser
- Download file 11.6 kB
-
https://huggingface.co/datasets/THULab/oil034_sample/resolve/main/README.md
- Command line
-
hf download hf://datasets/THULab/oil034_sample/README.md
-
curl -L -o README.md https://huggingface.co/datasets/THULab/oil034_sample/resolve/main/README.md
11.6 kB
| 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). | |