Download files from: https://www.rrc.texas.gov/resource-center/research/data-sets-available-for-download/
WorkingFileFor_dbf900.py
references the "Full Wellbore" EBCDIC file nameddbf900.ebc
(which is shared as both a.gz
and an uncompressed file).
- 2021-03-03 - TXRCC have redesigned the website and the locations of the datafiles. We are working to make sure the connections are correct. The file formats look to not be affected at this time.
TXRRC_data_harvest is a set of tools for downloading and organizing oil and gas well data from the Texas Railroad Commission.
This project is currently in an alpha development stage. It is definitely a work in progress and will take a bit to get fully organized and usable, so please bear with us.
We are always happy for any help: pull requests, bug reports, feature requests are all appreciated.
The goal is to provide scripts to help download and organize the oil and gas well data provided publicly from the Texas Railroad Commission (TXRRC).
If you are unfamiliar with python, using the notebooks with an .ipynb reader like Jupyter Notebook is a good place to start and test:
https://github.com/mlbelobraydi/TXRRC_data_harvest/tree/master/Notebooks
The current development is happening in the working files:
Well info: https://github.com/mlbelobraydi/TXRRC_data_harvest/blob/master/WorkingFileFor_dbf900.py
Oil Prod: https://github.com/mlbelobraydi/TXRRC_data_harvest/blob/master/WorkingFileFor_oilProd.py
Gas Prod: Coming soon!
Coming soon!
# Make a workspace directory or cd to your favorite workspace directory
mkdir workspace
# Make a python virtualenv for the TXRRC_data_harvest
python -m venv venv-txrrc
# Start the virtualenv
source venv-txrrc/bin/activate
# Clone this repository
# Here we are cloning the home repo, but if you wish to contribute fork the
# repo on GitHub and clone your fork
git clone https://github.com/mlbelobraydi/TXRRC_data_harvest.git
# Cd into the repository
cd TXRRC_data_harvest
# Install the requried packages in the virtualenv.
pip -r requirements.txt
# get a data file to work with
mkdir data
cd data
wget ftp://ftpe.rrc.texas.gov/shfwba/dbf900.ebc.gz
gunzip dbf900.ebc.gz
cd ..
# do a sample run
mkdir output
python WorkingFileFor_dbf900.py --filepath data/dbf900.ebc --outdir outdir
...
# look in outdir for the processed files!
https://github.com/mlbelobraydi/TXRRC_data_harvest/wiki/TXRRC-Data-Source-Reference
If this code isn't what you are looking for, here is a list of other TXRRC projects on github.
https://github.com/mlbelobraydi/TXRRC_data_harvest/wiki/Similar-projects