Dataset Viewer
image
imagewidth (px) 1.7k
1.7k
| page_num
int64 1
10
| source_file
stringclasses 1
value | source_path
stringclasses 1
value | total_pages
int64 10
10
| markdown
stringclasses 10
values | inference_info
stringclasses 1
value |
|---|---|---|---|---|---|---|
1
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Directive 017
**Release date:** December 11, 2024
**Effective date:** December 11, 2024
**Replaces previous edition issued March 17, 2022**
## Measurement Requirements for Oil and Gas Operations
### Contents
- **Introduction**
- Purpose of This Directive
- What's New in This Edition?
- Intent
- Definitions
- **1 Standards of Accuracy**
- **1.1 Introduction**
- **1.2 Applicability and Use of Uncertainties**
- **1.3 Maximum Uncertainty of Monthly Volume**
- **1.4 Single Point Measurement Uncertainty**
- **1.5 Confidence Level**
- **1.6 Determination of Uncertainties**
- **1.6.1 Example Calculation**
- **1.7 Explanation of Standards of Accuracy**
- **1.7.1 Oil Systems**
- **1.7.2 Gas Systems**
- **1.7.3 Injection/Disposal Systems**
- **1.8 Standards of Accuracy – Summary**
- **1.8.1 Oil Systems**
- **1.8.2 Gas Systems**
- **1.8.3 Injection Systems**
- **1.9 Measurement Schematics**
- **Definitions**
- **1.9.1 Measurement Schematic Requirements**
---
**Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)**
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
2
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 1.9.2 Schematic Updates
- Page 1-33
## 1.9.3 Implementation
- Page 1-34
## 1.9.4 Schematic Availability
- Page 1-34
## 1.10 Facility Delineation Requirements
- Page 1-34
## 2 Calibration and Proving
### 2.1 Definitions
- Page 2-1
### 2.2 Applicability
- Page 2-2
### 2.3 Frequency
- Page 2-2
### 2.4 Accuracy of Provers and Calibration Instruments
- Page 2-3
### 2.5 Gas Meters
#### 2.5.1 General Calibration Requirements
- Page 2-4
#### 2.5.2 Gas Meter Internal Inspection
- Page 2-5
#### 2.5.3 Orifice Meters
- Page 2-9
#### 2.5.4 Electronic Flow Measurement Calibration
- Page 2-9
### 2.6 Liquid Meters
- Page 2-12
### 2.7 Oil Meters
#### 2.7.1 Live Oil Meters
- Page 2-18
#### 2.7.2 Dead Oil Meters
- Page 2-21
### 2.8 Condensate Meters
#### 2.8.1 Condensate at Equilibrium Conditions
- Page 2-21
#### 2.8.2 Condensate at Flow-line Conditions
- Page 2-21
### 2.9 Other Liquid Hydrocarbon Meters
- Page 2-22
### 2.10 Water Meters
- Page 2-22
### 2.11 Product Analyzers
- Page 2-23
### 2.12 Automatic Tank Gauges
#### 2.12.1 Inventory Management
- Page 2-23
#### 2.12.2 Delivery Point Measurement
- Page 2-24
### 2.13 Using Tank Gauging for Oil Measurement
#### 2.13.1 Inventory Measurement
- Page 2-24
#### 2.13.2 Delivery Point Measurement
- Page 2-25
### 2.14 Weigh Scales
- Page 2-25
### Exceptions
- Page 2-26
## 3 Proration Factors, Allocation Factors, and Metering Difference
### 3.1 Proration Factors and Allocation Factors
#### 3.1.1 Description
- Page 3-1
#### 3.1.2 Target Factors
- Page 3-3
#### 3.1.3 Exception
- Page 3-4
#### 3.1.4 Acceptable Proration Factors and Allocation Factor Ranges
- Page 3-4
---
**ii Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)**
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
3
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 3.2 Metering Difference
- Description
- Target Metering Difference
## 4 Gas Measurement
### 4.1 General Requirements
### 4.2 Gas Measurement and Accounting Requirements for Various Battery/Facility Types
#### 4.2.1 Oil/Bitumen Batteries
#### 4.2.2 Gas Batteries/Facilities
### 4.3 Base Requirements for Gas Measurement
#### 4.3.1 System Design and Installation of Measurement Devices
#### 4.3.2 Volumetric Calculations
#### 4.3.3 Production Data Verification, Audit Trail, and Volumetric Data Amendments
#### 4.3.4 Operations – Base Requirements for Acceptable Gas Measurement and Reading of Gas Charts
#### 4.3.5 Exceptions
#### 4.3.6 Electronic Flow Measurement (EFM) for Gas
#### 4.3.7 Vent Gas Measurement Requirements
### 4.4 References
## 5 Site-Specific Deviation from Base Requirements
### Specialized Terminology Defined
#### 5.1 Site-Specific Examples
#### 5.2 Site-Specific Approval Applications
#### 5.3 Chart Cycles Extended Beyond the Required Time Period
##### 5.3.1 Exceptions
##### 5.3.2 Applications
##### 5.3.3 Considerations of Site-specific Approvals
#### 5.4 Gas Proration Outside Southeastern Alberta Shallow Gas Zones/Area
##### 5.4.1 Exceptions
##### 5.4.2 Applications
##### 5.4.3 Considerations for Site-Specific Approval
#### 5.5 Measurement by Difference
##### 5.5.1 Gas MbD
##### 5.5.2 Oil MbD
##### 5.5.3 Exceptions
##### 5.5.4 Applications
##### 5.5.5 Considerations for Site-Specific Approval
##### 5.5.6 Fuel Gas MbD
#### 5.6 Surface Commingling of Multiple Gas Zones/Wells
---
**Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)**
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
4
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 5.6.1 Exceptions
- Page 5-29
## 5.6.2 Applications
- Page 5-32
## 5.6.3 Considerations for Site-specific Approval
- Page 5-33
## 5.7 Gas Effluent Wells Exemption and Reduction for Testing Frequency
- Page 5-33
## 6 Conventional Oil Measurement
- Page 6-1
### 6.1 General Requirements
- Page 6-1
### 6.2 General Measurement, Accounting, and Reporting Requirements for Various Battery Types
- Page 6-1
#### 6.2.1 General Accounting Formula
- Page 6-1
#### 6.2.2 Oil Batteries
- Page 6-1
#### 6.2.3 Gas Batteries Producing Oil
- Page 6-3
### 6.3 Base Requirements for Oil Measurement
- Page 6-4
#### 6.3.1 System Design and Installation of Measurement Devices
- Page 6-4
#### 6.3.2 Volumetric Calculations
- Page 6-4
#### 6.3.3 Production Data Verification and Audit Trail
- Page 6-5
#### 6.3.4 Volumetric Data Amendments
- Page 6-6
### 6.4 Field Operations
- Page 6-8
#### 6.4.1 Production Hours
- Page 6-8
#### 6.4.2 Fluid Sampling Requirements for S&W Determination (and Density)
- Page 6-8
#### 6.4.3 S&W Analysis
- Page 6-8
#### 6.4.4 Proration Well Testing
- Page 6-8
### 6.5 Oil Proration Battery Accounting and Reporting Requirements
- Page 6-10
#### 6.5.1 Proration Estimated Volume Calculation
- Page 6-12
#### 6.5.2 Calculate Proration Factors and Monthly Production
- Page 6-14
### 6.6 Condensate Receipts at an Oil Battery
- Page 6-14
### 6.7 Combined (Cascade Testing)
- Page 6-15
### 6.8 EFM for Oil Systems
- Page 6-16
### 6.9 Reporting Requirements and Scenarios Based on Alberta Energy Royalty Regimes for Wells Producing Oil
- Page 6-16
#### 6.9.1 AER Classification – Oil Wells
- Page 6-16
#### 6.9.2 AER Classification – Gas Well Producing Oil
- Page 6-19
## 7 Gas Proration Batteries
- Page 7-1
### 7.1 General Requirements
- Page 7-1
#### 7.1.1 Group Measurement
- Page 7-2
#### 7.1.2 Stabilized Flow and Representative Flow
- Page 7-3
### 7.2 Gas Multiwell Proration SE Alberta Batteries
- Page 7-3
#### 7.2.1 Group Measurement
- Page 7-4
#### 7.2.2 Size of a SE Alberta Multiwell Gas Proration Battery
- Page 7-4
---
iv Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
5
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 7.2.3 Testing Requirements
- Page 7-4
## 7.2.4 Production Accounting and Reporting Requirements
- Page 7-5
## 7.3 Gas Multiwell Proration Outside SE Alberta Batteries
- Page 7-6
### 7.3.1 Well Testing Requirements
- Page 7-7
### 7.3.2 Production Volume Calculations
- Page 7-9
### 7.3.3 Exception
- Page 7-11
## 7.4 Gas Multiwell Effluent Measurement Proration Batteries
- Page 7-13
### 7.4.1 Well Testing
- Page 7-15
### 7.4.2 Production Volume Calculations
- Page 7-23
### 7.4.3 Sampling and Analysis Requirements
- Page 7-27
### 7.4.4 Exception
- Page 7-28
## 7.5 Well Effluent Measurement in the Duvernay and Montney Plays
- Page 7-29
### 7.5.1 Qualifying Criteria
- Page 7-30
### 7.5.2 Measurement System Requirements
- Page 7-31
### 7.5.3 Operational Scenario 1 – Hydrocarbon Liquids are Recombined into the Gathering System
- Page 7-33
### 7.5.4 Operational Scenario 2 – Hydrocarbon Liquids are Delivered to Sales at the Battery
- Page 7-37
### 7.5.5 Exception for the Number of Test Separators That May be Used During Post-Fracturing Well Flow Back, Cleanup, and Flow Testing
- Page 7-40
## 8 Gas Liquid Sampling and Analysis
- Page 8-1
### 8.1 General
- Page 8-1
### 8.2 Sampling Requirements
- Page 8-2
#### 8.2.1 Sample Point and Probes
- Page 8-3
#### 8.2.2 H₂S Sampling and Analysis
- Page 8-5
#### 8.2.3 Compositional Analysis of Natural Gas
- Page 8-7
### 8.3 Gas Equivalent Factor Determination from Condensate
- Page 8-8
#### 8.3.1 Calculated Compositional Analyses
- Page 8-8
### 8.4 Sampling and Analysis Frequency
- Page 8-10
#### 8.4.1 Alberta Shallow Gas Zones / Areas or Coalbed Methane Wells (with Minimal Water)
- Page 8-12
#### 8.4.2 Gas Proration Outside SE Alberta Shallow Gas Zones / Areas (Excluding Effluent Proration Battery)
- Page 8-14
#### 8.4.3 Multiwell Effluent Proration Battery
- Page 8-16
#### 8.4.4 Single Gas Well or Multiwell Group Gas Battery and Shallow Gas Well or Coalbed Methane Well with No Condensate or Oil
- Page 8-19
#### 8.4.5 Single Gas Well or Multiwell Group Gas Battery with Condensate or Oil
- Page 8-21
#### 8.4.6 Gas Storage Schemes
- Page 8-23
---
**Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)**
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
6
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
---
Alberta Energy Regulator
8.4.7 Gas Cycling Scheme……………………………………………………………8-24
8.4.8 Gas Sales/Delivery…………………………………………………………8-25
8.4.9 Gas Plants and Gas Gathering Systems……………………………………8-26
8.4.10 Conventional Oil Facilities………………………………………………8-27
8.4.11 Multiwell Proration Oil Battery…………………………………………8-28
8.4.12 Miscible/Immiscible Flood………………………………………………8-29
8.4.13 Heavy Oil/Crude Bitumen Facilities……………………………………8-30
9 Cross-Border Measurement…………………………………………………………9-1
9.1 General Requirements…………………………………………………………9-1
9.2 Cross-Border Sampling Requirements………………………………………9-1
9.3 Cross-Border Measurement Points……………………………………………9-2
10 Trucked Liquid Measurement………………………………………………………10-1
10.1 General Requirements…………………………………………………………10-1
10.1.1 Reporting Requirements…………………………………………………10-1
10.1.2 Temperature Correction Requirements…………………………………10-2
10.1.3 Pressure Correction Requirements………………………………………10-2
10.2 General Trucked Liquid Measurement, Accounting, and Reporting Requirements for Various Facility Types…………………………………………………………10-2
10.2.1 Conventional Oil Batteries………………………………………………10-2
10.2.2 Custom Treating Facilities………………………………………………10-4
10.2.3 Pipeline Terminals………………………………………………………10-4
10.2.4 Clean Oil Terminals………………………………………………………10-5
10.2.5 Gas Plants, Gas Batteries, and Gas Gathering Systems…………………10-5
10.2.6 Water Injection/Disposal Facilities………………………………………10-5
10.2.7 Waste Processing Facilities………………………………………………10-5
10.2.8 Heavy Oil and Crude Bitumen Facilities…………………………………10-7
10.3 Design and Installation of Measurement Systems……………………………10-7
10.3.1 Meters……………………………………………………………………10-7
10.3.2 Weigh Scales………………………………………………………………10-8
10.3.3 Exceptions…………………………………………………………………10-8
10.3.4 Load Fluids…………………………………………………………………10-10
10.3.5 Split Loads…………………………………………………………………10-10
10.4 Sampling and Analysis…………………………………………………………10-11
10.4.1 Automatic Sampling………………………………………………………10-11
10.4.2 Manual Spot (Grab) Sampling……………………………………………10-12
10.4.3 S&W Determination………………………………………………………10-12
10.4.4 Density Determination……………………………………………………10-13
10.5 Volume Determination…………………………………………………………10-13
vi Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
7
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 10.5.1 Tank Gauging
- Page 10-13
## 10.5.2 Weigh Scales
- Page 10-14
## 10.5.3 Meters
- Page 10-14
## 11 Acid Gas and Sulphur Measurement
### 11.1 General Requirements
- Page 11-1
### 11.2 Acid Gas Measurement
#### 11.2.1 Determining Acid Gas on a Dry Basis
- Page 11-2
### 11.3 Sulphur Measurement and Pit Volume Determination
#### 11.3.1 Sulphur Pit Volume/Tonnage Determination
- Page 11-6
#### 11.3.2 Sulphur Measurement
- Page 11-7
### 11.4 Sulphur Balance Calculation for Sour Gas Processing Plants
#### 11.4.1 Overview of Plant Inlet and Outlet Points for H₂S
- Page 11-9
#### 11.4.2 Determining H₂S Contents
- Page 11-9
#### 11.4.3 Calculation Procedure for Estimating the Plant Sulphur Inlet Mass per Day
- Page 11-11
#### 11.4.4 Calculation Procedure for Estimating the Plant Sulphur Outlet Mass per Day
- Page 11-12
### 11.5 Production Data Verification and Audit Trail
- Page 11-17
### 11.6 How to Complete the S-30 Monthly Gas Processing Plant Sulphur Balance Report
- Page 11-17
## 12 Heavy Oil Measurement
### 12.1 General Measurement Requirements
#### 12.1.1 Temperature Correction Requirements
- Page 12-1
#### 12.1.2 Pressure Correction Requirements
- Page 12-1
#### 12.1.3 EFM Requirements
- Page 12-1
#### 12.1.4 Diluent/Condensate Receipts and Blending
- Page 12-1
#### 12.1.5 Water Measurement
- Page 12-2
#### 12.1.6 Well Proration Testing
- Page 12-2
#### 12.1.7 Heavy Oil Receipt, Delivery, or Sales
- Page 12-2
### 12.2 Primary and Secondary Production (Nonthermal In Situ Oil Sands Schemes)
#### 12.2.1 Battery Types
- Page 12-3
#### 12.2.2 Gas Measurement and Reporting
- Page 12-5
#### 12.2.3 Oil and Water Deliveries to a Treatment Facility
- Page 12-7
#### 12.2.4 Well Test Measurement with Tank Gauging or Metering
- Page 12-7
### 12.3 Thermal In Situ Oil Sands Operations
#### 12.3.1 Definitions
- Page 12-9
#### 12.3.2 Bitumen, Diluent, or Dilbit Delivery Point Measurement
- Page 12-10
#### 12.3.3 Gas Measurement
- Page 12-11
#### 12.3.4 Steam Measurement
- Page 12-12
#### 12.3.5 Water Measurement
- Page 12-14
#### 12.3.6 Water/Steam Primary and Secondary Measurement
- Page 12-14
---
**Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)** vii
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
8
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 12.3.7 Solvent Measuring
12-15
## 12.3.8 Production Measurement
12-16
## 12.3.9 Well Production Measurement
12-16
## 12.3.10 Proration Factors
12-18
## 12.3.11 Internal Inspection Exceptions
12-18
## 12.4 Single Point Measurement Uncertainties
12-19
## 13 Condensate and High-Vapour-Pressure Liquid Measurement and Reporting
13-1
### 13.1 Definitions
13-1
### 13.2 General Measurement and Reporting Requirements
13-2
#### 13.2.1 Measurement Requirements
13-2
#### 13.2.2 Reporting Requirements
13-2
### 13.3 Reporting Scenarios
13-3
## 14 Liquid Measurement
14-1
### 14.1 General Requirements
14-1
#### 14.1.1 Scope
14-1
#### 14.1.2 Application of API Measurement Standards
14-1
#### 14.1.3 System Design and Installation
14-1
### 14.2 Volume Measurement
14-3
#### 14.2.1 Meter Selection
14-3
### 14.3 Shrinkage
14-4
#### 14.3.1 Live Oil Shrinkage
14-4
#### 14.3.2 Hydrocarbon Blending and Flashing Shrinkages
14-4
#### 14.3.3 Shrinkage Factor Determination
14-5
#### 14.3.4 Shrinkage Factor Application
14-5
### 14.4 Temperature Measurement
14-6
### 14.5 Pressure Measurement
14-7
### 14.6 Density Determination
14-8
### 14.7 Tank Measurement
14-8
#### 14.7.1 Tank Strapping
14-9
#### 14.7.2 Tank Sizing
14-9
#### 14.7.3 Manual Tank Gauging
14-10
#### 14.7.4 Automatic/Electronic Tank Gauging
14-10
#### 14.7.5 Tank Gauging Applications
14-10
### 14.8 Sampling and Analysis
14-11
#### 14.8.1 Fluid Sampling Requirements for S&W and Density Determination
14-11
#### 14.8.2 S&W Determination
14-12
### 14.9 Liquid Volume Calculations
14-13
#### 14.9.1 General Equations for Determining Liquid Volumes at Base Conditions
14-14
---
viii Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
9
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
# Alberta Energy Regulator
## 14.10 Electronic Flow Measurement for Liquid Systems
- Performance Evaluation
- Test Cases for Verification of Oil Flow Calculation Programs
- Test Cases for Verification of NGL and LPG Flow Calculation Programs
## 14.11 Records
- The Daily Report
- The Monthly Report
- The Event Log
- EFM Specific Reports
## 15 Water Measurement
### 15.1 Base Requirements for Water Measurement, Volume Calculation, Production Data Verification, and Audit Trail
### 15.2 Water Measurement and Accounting Requirements for Various Battery/Facility Types
#### 15.2.1 Gas Facilities
#### 15.2.2 Oil Facilities
#### 15.2.3 Water Source Production
#### 15.2.4 Water Injection and Disposal Facility
#### 15.2.5 Waste Processing and Disposal Facility
#### 15.2.6 Storage and Disposal Cavern
#### 15.2.7 Thermal In Situ Oil Sands Scheme
#### 15.2.8 Downhole Water Disposal or Injection
#### 15.2.9 Brine Production
#### 15.2.10 Load Water Reporting
### 15.3 WGR Testing Methodology
#### 15.3.1 WGR Testing
#### 15.3.2 WGR Calculation
## Appendices
### Appendix 1 AER Documents Replaced Fully or Partially by Directive 017: Measurement Requirements for Oil and Gas Operations
### Appendix 2 Glossary
### Appendix 3 Water-Cut (S&W) Procedures
### Appendix 4 On-site Analytical Techniques for H₂S Measurement
### Appendix 5 Gas Equivalent Volume Determination
### Appendix 6 Calculated Compositional Analysis Examples
### Appendix 7 Blending Shrinkage Calculation Example
### Appendix 8 Schematic Example
### Appendix 9 Gas Group Delineation
---
**Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)** ix
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
|
10
|
Directive017.pdf
|
/home/dck/Programming/ducklake/vlm_llm_doc_processing/pdfs/Directive017.pdf
| 10
|
Alberta Energy Regulator
# Tables
| Table | Description | Page |
|-------|-------------------------------------------------------------------------------------------------------|------|
| 2.1 | Meter proving frequency requirements and proving methods | 2-14 |
| 2.2 | Proving requirements for hydrocarbons, water, and emulsions | 2-15 |
| 4.1 | Orifice meters design requirement | 4-11 |
| 4.2 | Temperature reading frequency table for gas measurement | 4-16 |
| 4.3 | Allowable deviation limits for the AGA3 (1985) equation | 4-39 |
| 4.4 | Allowable deviation limits for the AGA3 (1990) equation | 4-39 |
| 4.5 | Allowable deviation limits for the AGA7 equation | 4-40 |
| 5.1 | Gas measurement by difference by exception and application | 5-13 |
| 5.2 | Gas measurement by difference by exception and application | 5-16 |
| 5.3 | Oil measurement by difference by exception and application | 5-19 |
| 5.4 | Volumetric criteria for measured gas tying into a proration battery | 5-20 |
| 5.5 | Volumetric criteria for measured oil delivered to an oil proration battery | 5-23 |
| 5.6 | Therm for condensate delivery and reporting to a proration oil battery | 5-27 |
| 6.1 | Proration well testing frequency requirements | 6-8 |
| 6.2 | Proration estimated volume calculation | 6-13 |
| 6.3 | Test results | 6-15 |
| 7.1 | Required decimal places for volumetric calculations in gas proration batteries | 7-2 |
| 7.2 | Testing frequency for SE Alberta shallow gas wells | 7-5 |
| 8.1 | H₂S analysis technique comparison | 8-6 |
| 8.2 | Recommended default values for C7+ properties | 8-7 |
| 8.3 | Sampling and analysis frequencies for various types of facilities | 8-11 |
| 11.1 | Monthly S-30 sulphur balance requirement | 11-1 |
| 11.2 | Calculation of relative density (RD) on wet basis | 11-4 |
| 11.3 | How to complete the S-30 monthly gas processing plant sulphur balance report | 11-19|
| 12.1 | GOR or hourly rate test frequency requirements | 12-6 |
| 12.2 | Accuracy coefficients for various measurement types for test tanks | 12-7 |
| 12.3 | Summary of proration factors | 12-18|
| 12.4 | Summary of single point measurement uncertainty | 12-19|
| 14.1 | Meter types | 14-3 |
| 14.2 | Temperature measurement error impact | 14-6 |
| 14.3 | Temperature measurement type, calibration frequency, resolution, and calibration tolerances | 14-7 |
| 14.4 | Gauge board marking gradations | 14-10|
| 14.5 | Pressure and temperature compensation standards | 14-17|
| 14.6 | Oil density correction test cases – density correction to 15°C | 14-21|
| 14.7 | Volume correction test cases at atmospheric pressure – volume correction to 15°C and 0.0 kPa(g) | 14-22|
x Directive 017: Measurement Requirements for Oil and Gas Operations (December 2024)
|
[{"model_id": "lightonai/LightOnOCR-0.9B-32k-1025", "model_name": "LightOnOCR", "vocab_size": "32k", "column_name": "markdown", "timestamp": "2025-10-25T00:32:00.990057", "temperature": 0.2, "top_p": 0.9, "max_tokens": 6500, "target_size": 1288}]
|
Document OCR using LightOnOCR-0.9B-32k-1025
This dataset contains OCR results from images in stckmn/ocr-input-Directive017-1761352140 using LightOnOCR, a fast and compact 1B OCR model.
Processing Details
- Source Dataset: stckmn/ocr-input-Directive017-1761352140
- Model: lightonai/LightOnOCR-0.9B-32k-1025
- Vocabulary Size: 32k tokens
- Number of Samples: 10
- Processing Time: 1.7 min
- Processing Date: 2025-10-25 00:32 UTC
Configuration
- Image Column:
image - Output Column:
markdown - Dataset Split:
train - Batch Size: 32
- Target Image Size: 1288px (longest dimension)
- Max Model Length: 8,192 tokens
- Max Output Tokens: 6,500
- Temperature: 0.2
- Top P: 0.9
- GPU Memory Utilization: 80.0%
Model Information
LightOnOCR is a fast, compact OCR model that excels at:
- ⚡ Production Speed - 5.71 pages/second on H100 GPU
- 🎯 Compact Size - Only 1B parameters
- 📐 LaTeX formulas - Mathematical notation in LaTeX format
- 📊 Tables - Extracted and formatted as markdown
- 📝 Document structure - Hierarchy and layout preservation
- 🌍 Multilingual - Optimized for European languages
- 🔤 Flexible vocabulary - 151k/32k/16k token variants
Vocabulary Variants
- 151k tokens: Full vocabulary, supports all languages
- 32k tokens: European languages optimized (~12% faster decoding)
- 16k tokens: European languages optimized (~12% faster decoding)
Dataset Structure
The dataset contains all original columns plus:
markdown: The extracted text in markdown format with LaTeX formulasinference_info: JSON list tracking all OCR models applied to this dataset
Usage
from datasets import load_dataset
import json
# Load the dataset
dataset = load_dataset("{output_dataset_id}", split="train")
# Access the markdown text
for example in dataset:
print(example["markdown"])
break
# View all OCR models applied to this dataset
inference_info = json.loads(dataset[0]["inference_info"])
for info in inference_info:
print(f"Column: {info['column_name']} - Model: {info['model_id']}")
Reproduction
This dataset was generated using the uv-scripts/ocr LightOnOCR script:
uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/lighton-ocr.py \
stckmn/ocr-input-Directive017-1761352140 \
<output-dataset> \
--vocab-size 32k \
--image-column image \
--batch-size 32
Performance
- Processing Speed: ~0.10 images/second
- Benchmark Score: 76.1% overall (across diverse document types)
- Optimization: Native resolution ViT + lightweight decoder
Generated with 🤖 UV Scripts
- Downloads last month
- 8