Code Monkey home page Code Monkey logo

weather_database's Introduction

Weather Database

GitHub version

The Weather Database project creates a MySQL database to ingest and manage weather station data from multiple sources. Included in the repository are the schema model and everything needed to generate a weather station database. The wxdb package is able to interact with the database and grab metadata and station data from multiple sources. Currently, the sources supported are:

Through the configuration file, wxdbcan be setup to automatically download all desired stations for a given client and source.

Installation

It is preferable to use a Python virtual environment to reduce the possibility of a dependency issue.

  1. Create a virtualenv and activate it.

    virtualenv wxdbenv
    source wxdbenv/bin/activate
    

Tip: The developers recommend using an alias to quickly turn on and off your virtual environment.

  1. Clone WeatherDatabase source code from the USDA-ARS-NWRC github.

    git clone https://github.com/USDA-ARS-NWRC/WeatherDatabase.git
    
  2. Change directories into the WeatherDatabase directory. Install the python requirements. After the requirements are done, install WeatherDatabase.

    cd WeatherDatabase
    pip install -r requirements.txt
    python setup.py install
    

To install in developer mode pip install -e .

Docker

To make management easier, the authors recommend using Docker which aides in the management, deployment, and automation of downloads to the database. The official Docker image is found at the docker_weather_database.

weather_database's People

Contributors

micahjohnson150 avatar pkormos avatar scotthavens avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ladysundada

weather_database's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.