
What are the best practices for oil and gas data quality?
Oil and gas data quality best practices: the six quality dimensions, rules for wells, units, and volumes, placeholder traps, reconciliation, and ownership.
12 min read
An oil and gas ETL pipeline pulls well, production, land, and regulatory data from state regulators, federal sources, and operators, then converts many file formats into one model keyed on the well identifier. The transformation code is rarely the hard part. The hard parts are format sprawl, well identity, coordinate datums, and sources that revise their own history.
Written by: AKM Ahsan Created on: 15 Oct 202611 min to read

This guide is for data leads, CTOs, and engineers at oil and gas data businesses, operators, and mineral and land companies. Typically, a pipeline built for one state breaks when the next state's files arrive. Or production numbers stop matching what the regulator reports. Or the one engineer who understood the parsers has left.
The examples below come from public US data sources and from our own work building ETL across all 50 US states for an oil and gas data platform.
An oil and gas ETL (extract, transform, load) pipeline collects data about wells and their activity from many sources, standardizes it, and loads it into one place where it can be queried, mapped, and analyzed. Unlike most business ETL, its sources are mostly public regulators that publish on their own schedules, in their own formats, with their own definitions.
Most oil and gas data platforms combine some version of these data types:
| Data type | What it contains | Typical public sources |
| Well header | Identifier, operator, location, status, depths | State regulators |
| Permits and completions | Drilling permits, completion reports, directional surveys | State regulators |
| Production | Monthly oil, gas, and water volumes by well, lease, or unit | State regulators, ONRR (federal minerals) |
| Land and lease | Ownership, leases, units, spacing orders | County records, state regulators |
| Well logs | Digital log curves and images | State regulators, LAS files |
| Chemical disclosure | Hydraulic fracturing ingredients | FracFocus |
| Emissions and regulatory | Greenhouse gas and compliance reports | EPA, state regulators |
Reporting rules keep adding to this list. EPA's 2024 revisions to its oil and gas greenhouse gas rule (Subpart W) moved onshore production reporting from the basin level to the wellpad level, starting with 2025 data reported in 2026, according to Trinity Consultants. A pipeline that only modeled basins now needs a wellpad grain.
Oil and gas data comes from dozens of independent regulators, and no two publish the same way. The National Petroleum Council's 2011 regulatory data management paper counted 38 oil- and gas-producing states or Native American nations. It concluded that a national data portal would need further investment from both industry and regulators.
Here is what a handful of real sources look like today:
| Source | Formats | Cadence |
| Texas Railroad Commission | ASCII, EBCDIC, dBase, shapefile, CSV, TXT, JSON, PDF and TIFF images | From twice daily to monthly, depending on the dataset |
| Colorado ECMC | ZIP, CSV, shapefile, file geodatabase, KML/KMZ, PDF | Daily well spots; annual production files plus a monthly CSV for the current year |
| North Dakota DMR | Excel well index, scanned PDF well files, TIFF image logs, web pages | Paid subscription at $100 or $500 a year |
| FracFocus | SQL Server backup and CSV | Updated 5 days a week |
| ONRR (federal minerals) | Monthly production files | Monthly, with a 3–4 month lag |
Three practical consequences follow from this table.
Well logs add another format. LAS (Log ASCII Standard), maintained by the Canadian Well Logging Society, is the most widely used format for digital log data. Version 3.0 adds tops, core data, and deviation surveys to version 2.0, so a parser has to handle both.
The well identifier is the key that every dataset joins on, and it is less consistent than it looks. The API well number has up to 14 digits:
Sources publish this number with different lengths, with or without dashes, and with or without the sidetrack and event digits. A 10-digit API number from one dataset and a 14-digit number from another can describe the same well, or two different wellbores of the same well.
The standard itself has moved. The American Petroleum Institute transferred custody of the well numbering standard to the PPDM Association in 2010. PPDM's US Well Number Standard is now the official successor. It assigns permanent, unique identifiers to both well origins and wellbores, partly because identifiers have been assigned inconsistently.
To make well identity reliable in a pipeline:
Well coordinates need special handling because sources use different geodetic datums, and mixing them silently moves wells on your map. The Texas Railroad Commission's digital map layers use NAD 27. Many other systems use NAD 83 or WGS 84.
The difference matters. According to Penn State's geospatial course materials, shifts between NAD 27 and NAD 83 range from 10 to 100 meters in the lower 48 states. For a map-first product, 100 meters can place a well on the wrong lease or the wrong side of a section line.
Record the datum of every source at ingestion, and transform coordinates to one standard on load. Never infer a datum from the data itself. Spatial databases such as PostGIS can store geometry with its spatial reference and transform it in a query, but only if the original datum was captured correctly.
An oil and gas pipeline must treat history as mutable, because the sources revise their own numbers. A load that only appends new months will drift away from the official figures over time.
The revisions are documented and regular:
The engineering answer is well established. Apache Airflow's best practices recommend making every task idempotent so a re-run produces the same result, using UPSERT instead of INSERT to avoid duplicate rows, and reading from a fixed data partition instead of "whatever is latest."
For oil and gas data, that translates into three rules:
A reliable oil and gas ETL architecture separates source-specific work from shared logic, so adding a source never means touching the core. This is the stage design we recommend:
| Stage | What it does | Failure it prevents |
| 1. Land raw | Stores each source file unchanged, labeled with source and fetch date | Losing the ability to reprocess after a parser bug |
| 2. Parse per source | One adapter per source converts its format into rows | One state's quirks breaking another state's load |
| 3. Standardize | Maps every source to one canonical model: units, codes, names | Two states' "oil" meaning different things |
| 4. Resolve identity | Normalizes well identifiers and applies the crosswalk | Duplicate wells, or mismatched joins |
| 5. Transform location | Converts coordinates to one datum and builds geometry | Wells plotted 10–100 meters off |
| 6. Validate | Checks counts, ranges, freshness, and totals against the source | Bad data reaching customers first |
| 7. Serve | Publishes clean tables, APIs, and map layers | Analysts querying half-processed data |
The canonical model in stage 3 is where most long-term value sits. Industry standards help here. Energistics publishes WITSML, PRODML, and RESQML for drilling, production, and reservoir data. The OSDU Forum publishes an open data model and platform for subsurface data, with 190 member organizations. You don't have to adopt them wholesale, but borrowing their definitions avoids inventing your own.
You add a new state by writing a new adapter, not by changing the pipeline. If stages 3 to 7 only ever see standardized rows, a new source only needs code in stages 1 and 2.
A practical checklist for onboarding a new state:
The fear most data leads describe is that this knowledge lives in one engineer's head. Writing the source documentation in step 2 is what keeps a pipeline maintainable after that person moves on.
You know the pipeline is working when it tells you about problems before your users do. That sounds obvious, yet it is rare. In Monte Carlo's 2023 survey of 200 data decision-makers, 74% said business stakeholders found data problems first all or most of the time.
Monitor each source, not just the whole pipeline:
Maintenance is the long-term cost to plan for. In a Fivetran and Wakefield Research survey of 300 data leaders, data engineers spent 44% of their time maintaining pipelines. With dozens of public sources that change on their own schedules, oil and gas pipelines are no exception.
Peak ETL, an oil and gas data business in Colorado Springs, needed exactly this kind of pipeline. Its customers, landmen and speculators, had been choosing between six-figure enterprise data tools and manual research across courthouses and state websites.
6sense HQ built Spud Wire, a map-first platform for Peak ETL. Its ETL pipelines ingest data from all 50 US states, across SFTP, scraping, Excel, and CSV sources. They bring together four data types: well, production, land, and regulatory data. The architecture absorbs each new state's format without rebuilding the system. Rendering thousands of map points gets expensive fast, so the team used an open-source approach to keep operating costs low.
Jason Holden, Owner of Peak ETL, said: "6sense HQ delivered the working platform and stayed responsive as requirements changed."
You shouldn't build your own pipeline when a commercial data provider already delivers what you need and the data isn't your product. Enterprise oil and gas data services exist precisely so operators don't have to parse 50 states themselves.
Build only if one of these applies:
For a structured way to decide, see our guide to build vs. buy for energy data software.
When you shouldn't work with 6sense HQ: if a commercial provider covers your needs, buy from them and skip us. We're also not the right fit if you want a turnkey data subscription. We build and maintain pipelines, integrations, and data layers that you own, and we start by scoping one clear piece, such as one state or one data type, rather than a rebuild.
Oil and gas ETL pipelines succeed or fail on four problems: format sprawl across regulators, inconsistent well identifiers, mixed coordinate datums, and sources that revise their own history. Solve these with per-source adapters, a canonical model keyed on a normalized 14-digit well identifier, explicit datum conversion, idempotent reloads of recent periods, and monitoring for each source. With that design, adding a new state becomes a contained task instead of a rebuild.
About the author: AKM Ahsan is CTO of 6sense HQ, a software engineering partner for energy, mobility, and operations-heavy companies. 6sense HQ built the 50-state ETL behind Peak ETL's Spud Wire platform. LinkedIn
Pipeline breaking every time a state changes its files? Book a 30-minute technical review with a senior engineer, and get a straight read on what to fix first, whether or not you work with us. See how we approach energy data engineering.

Oil and gas data quality best practices: the six quality dimensions, rules for wells, units, and volumes, placeholder traps, reconciliation, and ownership.
12 min read

How to integrate oil and gas regulatory data across US states: who publishes it, how to access it, lease vs. well reporting, operator matching, federal records.
10 min read

Buy energy data software when the job is standard and a vendor already handles your source formats, such as meter data management or Green Button usage feeds. Build when your sources, reconciliation rules, or reporting logic are what make your operation different. Most energy companies end up doing both: they buy the platforms and build the pipelines between them.
11 min read