Skip to content

Weather Data Retrieval Microservice

Aishwarya Vijay Sinhasane edited this page Apr 6, 2022 · 2 revisions

Working

This service is mainly focused on retrieving weather data for users. Users can send specified dates and it will generate an s3 link for that data. Users will select the type of request like Merra or NexRad which will be used here in data retrieval to generate the link and extract the data accordingly.

Technologies Used

  • Python Django Framework
  • NexRADAWS API
  • REST API
  • KAFKA

How to Run

Database Setup

  • Install MongoDB-compass, MongoDB and create a database table named "request-service".

  • Also, create one collection named "requests"

  • Go to the data-retrieval-service folder

  • Install Pipenv

    • For MAC
      • brew install pipenv
      • pipenv --python 3.8.9 (i.e This is used to create virtual environment of python v3.8.9)
      • pipenv shell (i.e Activates virtual environment)
      • pip install -r requirements.txt
  • Now run ./manage.py runserver command --> it will start the localhost server on port 5003

Service Port

Port - 5003

API Documentation

Clone this wiki locally