Skip to content

walkeratmind/crops_prediction

Repository files navigation

Crops Prediction using Weather Analysis

predict suitable crops analyzing soil type and weather of Nepal


licenseissuestweet

Dataset

Weather Data

We created a station_list.csv file mocking the weather station of Department Of Hydrology and Meteorology of Nepal from this network data and filter some.

Data Source: Darksky API

Weather dataset structure

  • hourly - hourly weather of every districts and places

  • daily - daily weather of every districts and places in daily order

  • weekly - weekly weather of every districts and places

Project Setup

Windows

  1. Install Python

  2. Create Virtualenv:

    windows: pip install virtualenv

    linux: `pip install

Linux

  1. Install Python pip: sudo apt install python3-pip
  2. Install virtualenv: pip3 install virtualenv
  3. Create virutalenv: virtualenv venv
  4. Activate virutalenv: source venv/bin/activate

Common Steps

  1. Install requirements.txt pip install -r requirements.txt

Run Async Weather Collector

python async_weather_collector.py

Run Flask App

cd api
python -m flask run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published