Skip to content

Repository files navigation

gaging_template

template for stream gaging projects based on DrivenDatas Cookiecutter DataScience

Project Organization

├── LICENSE            <- Open-source license if one is chosen
├── Makefile           <- Makefile with convenience commands like `make data` or `make train`
├── README.md          <- The top-level README for developers using this project.'
├── config
│   ├── gdata_config.ini   <- config file for accessing gdata with standardized names 
│   ├── gdata_config.py    <- template for moving gdata config to a pythong config
│   ├── config.py          <- Store useful variables and configuration
├── data
│   ├── external       <- Data from third party sources.
│   ├── interim        <- Intermediate data that has been transformed.
│   ├── processed      <- The final, canonical data sets for modeling.
│   └── raw            <- The original, immutable data dump.
│
├── docs               <- A default mkdocs project; see www.mkdocs.org for details
│
├── models             <- Trained and serialized models, model predictions, or model summaries
│
├── notebooks          <- Jupyter notebooks. Naming convention is a number (for ordering),
│                         the creator's initials, and a short `-` delimited description, e.g.
│                         `1.0-jqp-initial-data-exploration`.
│
├── pyproject.toml     <- Project configuration file with package metadata for 
│                         g_data_template and configuration for tools like black
│
├── references         <- Data dictionaries, manuals, and all other explanatory materials.
│
├── reports            <- Generated analysis as HTML, PDF, LaTeX, etc.
│   └── figures        <- Generated graphics and figures to be used in reporting
│
├── requirements.txt   <- The requirements file for reproducing the analysis environment, e.g.
│                         generated with `pip freeze > requirements.txt`
│
├── setup.cfg          <- Configuration file for flake8
│
└── python_scripts   <- Source code for use in this project.
    │
    ├── __init__.py             <- Makes g_data_template a Python module
    │
    ├── dataset.py              <- Scripts to download or generate data
    ├── config.py              <- basic config
    │
    ├── features.py             <- Code to create features for modeling
    ├── data_aquisition  
    │   ├── gdata_sql_queriess.py        <- Code for various gdata sql queries 
    │   ├── gdata_mapping.py        <- map gdata
    │   └── load_data.py            <- Code to load data           
    │
    ├── modeling                
    │   ├── __init__.py 
    │   ├── predict.py          <- Code to run model inference with trained models          
    │   └── train.py            <- Code to train models
    │
    └── plots.py                <- Code to create visualizations

to install your own python project

py -m pip install -e .

add file to project scripts

[project.scripts] gdata_mapping = "python_scripts.data_aquisition.gdata_mapping:app"

reinstall

py -m pip install -e .

run

gdata_mapping --site-id "0" python -m python_scripts.data_aquisition.gdata_mapping list-tables ### you might have to run this as there is a security issue

to reset folder path

python -m python_scripts.data_aquisition.gdata_mapping list-tables --output-path "C:\some\other\path\tables.csv"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages