Data guide

ReferenceNot affiliated with any regulator

What the public Canadian well files contain, how they link, and what each column means in the Tidywells loaders. You download the files yourself from Petrinex public data (Alberta, Saskatchewan) and the BC Energy Regulator data centre; we do not host them.

1. The files

ProvinceFileOne row isUsed for
AB, SKWell Licencea licencelicensee, licence status and dates, substance, purpose
AB, SKWell Infrastructurea wellwell ID, link to licence, status, spud date, horizontal flag, field and pool
AB, SKConventional Volumetrics (monthly)a well, month and productmonthly volume of oil, gas and condensate (activity PROD, well rows)
BCProduction data (zone_prd*.csv)a well, zone and monthoil, gas and condensate volumes with producing days
BCWell Indexa well (UWI)status and class codes, rig release date

2. How they link

Well Licenceone row per licenceLicenceNumber, licensee Well Infrastructureone row per wellWellID, LicenceNumber Conventional Volumetricsone row per well-month-productFromToID = WellID, volume LicenceNumberWellID BC Well Indexone row per UWI BC production (zone_prd*.csv)one row per well, zone and month, with producing days UWI

In Alberta and Saskatchewan, a production row points to a well by FromToID (the well ID), the infrastructure file ties that well ID to a licence number, and the licence file gives the licensee. Both licence numbers must be read as text and padded to seven characters to match reliably. In BC, wells are keyed by UWI and the index has no operator names.

3. Columns the loaders keep

Well Licence

Tidywells nameSource columnNotes
licence_numberLicenceNumbertext, zero-padded to 7
licence_statusLicenceStatusspellings normalised (for example Issued, Abandoned, Suspension)
licence_status_date, issue_dateLicenceStatusDate, LicenceIssueDateparsed as dates
licensee_code, licensee_nameLicensee, LicenseeNamecompany on the licence, not always the current operator
substanceWellSubstancefor example GAS, CRUDE OIL, CRUDE BITUMEN
well_purposeWellPurposefor example NEW WELL, RE-ENTRY
orphanOrphanWellFlgtrue when flagged Y

Well Infrastructure

Tidywells nameSource columnNotes
well_idWellIDthe ID used in the production files
licence_numberLicenceNumberjoins to the licence file
status_mode, status_fluid, status_type, status_structureWellStatusMode, Fluid, Type, Structurefor example FLOW, PUMP, SUSP, ABAN; Saskatchewan uses ACTIVE
status_date, spud_dateWellStatusDate, SpudDateparsed as dates
horizontalHorizontalDrilldrilling type text
field_name, pool_nameFieldName, PoolDepositNamefield and pool
operator_code, operator_nameLinkedFacilityOperator*operator of the linked facility, often blank

Conventional Volumetrics

Tidywells nameSource columnNotes
monthProductionMontha monthly period
well_idFromToIDonly rows where FromToIDType is WI (a well)
productProductIDOIL, GAS or COND
volumeVolumeoil and condensate in m3; gas in 10^3 m3 (e3m3)
hoursHourshours on production when reported
proratedProrationProducttrue when a proration product is listed

BC production and well index

Tidywells nameSource columnNotes
well_idUWIwell key in both BC files
volume (GAS, OIL, COND)Gas_prod_vol (e3m3), Oil_prod_vol (m3), Cond_prod_vol (m3)summed over zones to one row per well and month
daysProd_daysproducing days; the maximum over zones
status_mode, status_fluidMode, Fluidthese names appear twice in the index; the well-level copy is kept
rig_release_dateRR Dateparsed as a date

4. Units and conventions

5. A folder that works with the loaders

your_folder/
  Vol_2026-09-AB.csv.zip      (one per month, also -SK)
  Well Infrastructure-AB.csv.zip
  Well Licence-AB.csv.zip
  zone_prd_2025_to_present.csv   (BC)
  well_index.csv                 (BC)

See the Methods page for cleaning rules and What a naive load gets wrong for the traps.

6. Short glossary

TermMeaning
Decline curveA formula that projects how a well's production rate falls with time.
Arps hyperbolicThe standard decline-curve family: rate = qi / (1 + b·Di·t)1/b.
qiStarting rate of the curve.
DiNominal initial decline rate, per year.
b-factorControls how fast the decline slows; b = 0 is exponential.
Terminal declineThe slow, steady decline rate a curve is switched to late in life.
NPVNet present value: future cash flows discounted to today.
GORGas-oil ratio: gas produced per barrel of oil, in scf/bbl.
Shut-inA well not producing but not abandoned.
LicenseeThe company named on a well licence.
UWIUnique well identifier used in BC.
Spud dateThe date drilling began.

Contains information licensed from Petrinex public data (Alberta, Saskatchewan) and the BC Energy Regulator; Crown copyright of the provinces is acknowledged. Not legal advice; check each source's terms before reuse.