All Projects → mlbelobraydi → TXRRC_data_harvest

mlbelobraydi / TXRRC_data_harvest

Licence: Unlicense License
Script for accessing and organizing oil and gas well data from the Texas Railroad Commission

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to TXRRC data harvest

carapace-bin
multi-shell multi-command argument completer
Stars: ✭ 42 (+90.91%)
Mutual labels:  oil
storage
Multi-Factor Least Squares Monte Carlo energy storage valuation model (Python and .NET).
Stars: ✭ 24 (+9.09%)
Mutual labels:  oil
direct-access-py
Enverus Drillinginfo Direct Access Developer API Python Client
Stars: ✭ 30 (+36.36%)
Mutual labels:  oil

TXRRC_data_harvest

Changes

20210303 - TXRCC have redesigned the website and the locations of the datafiles. We are working to make sure the connections are correct. The file conversion looks to not be affected at this time.

About

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.

Contributing

We are always happy for any help: pull requests, bug reports, feature requests are all appreciated.

Project goals

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).

Getting started

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!

Install

Install with conda

Coming soon!

Install with a virtualenv and pip

# 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!

TXRRC Data Source

https://github.com/mlbelobraydi/TXRRC_data_harvest/wiki/TXRRC-Data-Source-Reference

Other Similar Projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].