Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

SHREEYASH PRATISHTHAN’S

SHREEYASH COLLEGE OF ENGINEERING AND TECHNOLOGY


(POLYTECHNIC), CHH. SAMBHAJINAGAR

MICRO-PROJECT REPORT

NAME OF DEPARTMENT:-DIPLOMA IN COMPUTER ENGINEERING


ACADEMIC YEAR:- 2023-24
SEMESTER:- 6TH
COURSE NAME:- PROGRAMMING WITH PYTHON
COURSE CODE:- 22616
MICRO-PROJECT TITLE:- WEATHER FORECAST

PREPARED BY:-

1. SHAILESH KOSHE EN. NO:-2110920069

UNDER THE GUIDANCE OF:- Prof.P.S.Brahmane


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE

This is to certify that Mr./ Ms. SHAILESH KOSHEof 6th Semester of Diploma in
COMPUTER ENGINEERING of Institute Shreeyash College of engineering and technology
[Polytechnic] has successfully completed Micro-Project Work in Course of
PROGRAMMING WITH PYTHON for the academic year 2023-24 as prescribed in the I-
Scheme Curriculum.

Date:- Enrollment No:-2110920080


Place:-Chh.Sambhajinagar Exam Seat No.:-

Signature Signature Signature


Guide HOD Principal

Seal of Institute
ACKNOWLEDGEMENT

We wish to express our profound gratitude to our guide


Prof.P.S.Brahmane who guided us endlessly in framing and completion of Micro-
Project. He / She guided us on all the main points in that Micro-Project. We are
indebted to his / her constant encouragement, cooperation and help. It was his /
her enthusiastic support that helped us in overcoming of various obstacles in the
Micro-Project.
We are also thankful to our Principal, HOD, Faculty Members
and classmates for extending their support and motivation in the completion of
this Micro-Project.

 SHAILESH KOSHE EN. NO:-2110920069


Annexure-1
Micro-Project Proposal
(Format or Micro-Project Proposal about1-2pages)

Title of Micro-Project: “WEATHER FORECAST”.

1.0 Aims/Benefits of the Micro-Project (minimum30-50words)

Aim: -
a. To understand the Versatility of the program .
b. To understand the Community Support:.
c. To understand the Career Opportunities
d. To understand the Rapid Prototyping

Benefits
a. To gaining knowledge about Job Market Demand
b. To know their Productivity
c. To Develop new technologies

2.0 Course Outcomes Addressed:

a. Understanding of Basic Concepts


b. Proficiency in Python Syntax
c. Problem-solving Skills
d. Data Structures and Algorithms
e. Object-Oriented Programming (OOP)
f. File Handling and I/O Operations
g. Module and Package Management:
h. Data Analysis and Visualization

3.0 Proposed Methodology:

a. Research and Exploration


b. Classification and Types
c. Theory and Operation
d. Applications and Use Cases
e. Hands-on Experience
f. Comparison and Evaluation
g. Case Studies and Examples
h. Continuous Learning and Updates
Annexure-1

i. Action Plan (Sequence and time required for major activity. The following is for Reference, The
Activities can be Added / reduced / Modified )

Name of
Sr. Planned Planned Responsible
Details of activity
No. Week Start Finish Team Members
date date
1 1 &2 Discussion & Finalization of Shailesh koshe
Topic
2 3 Preparation of the Abstract Shailesh koshe
3 4 Literature Review Shailesh koshe
4 5 Submission of Microproject Shailesh koshe
Proposal ( Annexure-I)
5 6 Collection of information about Shailesh koshe
Topic
6 7 Collection of relevant content / Shailesh koshe
materials for the execution of
Microproject.
7 8 Discussion and submission of Shailesh koshe
outline of the Microproject.
8 9 Analysis / execution of
Collected data / information and
preparation of Prototypes / Shailesh koshe
drawings / photos / charts /
graphs / tables / circuits / Models
/ programs etc.
9 10 Completion of Contents of Shailesh koshe
Project Report
10 11 Completion of Weekly progress Shailesh koshe
Report
11 12 Completion of Project Report ( Shailesh koshe
Annexure-II)
12 13 Viva voce / Delivery of Shailesh koshe
Presentation

j. Resources Required (major resources such asraw material, some machining facility,
software etc.)

Sr. Name of Resources / Materials Specification Qty Remarks


No.
1 Computer System Processor (i5 3.0 GHz or better 1
minimum i3 2.4 GHz), Ram (4
GB )HDD (5 GB minimum)
2 Technical Papers and Journals Windows 7 or higher 1
3 Python compiler Latest or recent versions 1

Names of Team Members with En. Nos.


1 SHAILESH KOSHE EN. NO:2110920069
(To be approved by the concerned teacher)
Annexure-II

Micro-Project Report
Format for Micro-Project Report (Minimum 4 pages)

Title of Micro-Project:-WEATHER FORECAST

1.0 Rationale (Importance of the project, in about 30 to 50words.This is a modified version of


the earlier one written after the work)

This is a project report on “WEATHER FORECAST”’ using openweathermap API. It is a service that provides weather
data, including current weather data, forecasts and historical data to the developer of web services and mobile application.
With JSON,XML and HTML formats experiences. To use this current weather data API, one must need the API
key, User need to create an account on openweathermap.org then only can use the APIs. We use two modules
in the program requests And Json.

2.0 Aims/Benefits of the Micro-Project:- (In about 50 to 150 words)

Aim: -
a. To understand the Versatility of the program .
b. To understand the Community Support:.
c. To understand the Career Opportunities
d. To understand the Rapid Prototyping

Benefits
a. To gaining knowledge about Job Market Demand
b. To know their Productivity
c. To Develop new technologies

3.0 Course Outcomes Achieved (Add to the earlier list if more Cos are addressed)
a. Understanding of Basic Concepts
b. Proficiency in Python Syntax
c. Problem-solving Skills
d. Data Structures and Algorithms
e. Object-Oriented Programming (OOP)
f. Utilize Python programming language to access weather data from APIs such as
OpenWeatherMap or the National Weather Service.
g. Module and Package Management:
h. Implement user-friendly interfaces for users to input location data and receive weather
forecasts.

4.0 Literature Review:- ( you can include all the resources which you have used to gather the information for
the Micro-project)
• https://www.geeksforgeeks.org/weather-forecast-openweathermap-api-in
• Reference Books like Nirali Prakashan and others.
5.0 Actual Methodology Followed

This Project on Hotel Management is a general software developed (using


Python) Implement user-friendly interfaces for users to input location data and receive weather forecasts. To
create a weather forecast system using Python, start by collecting data from reliable sources like
OpenWeatherMap or NOAA using APIs. Preprocess the data to handle missing values and format
inconsistencies. Then, select and train appropriate machine learning models such as ARIMA or LSTM,
considering factors like data characteristics and model complexity. Evaluate the trained model's performance
using metrics like MAE or RMSE and deploy the system, regularly updating it for accuracy and relevance.
Finally, visualize the forecasted weather data and provide a user-friendly interface for end-users.

Features of WEATHER FORECAST :

 Real-time Weather Data: Provide current conditions like temperature and precipitation.

 Hourly & Daily Forecasts: Predict weather changes for the upcoming hours and days.

 Location-based Customization: Offer personalized forecasts based on user input.

 Visualizations & Alerts: Use maps and notifications to enhance user experience and convey severe
weather warnings.

Scope of the Project

The weather forecast project developed using Python offers a comprehensive solution for users to access real-
time weather data and forecasts. With features like current weather updates, hourly and daily forecasts,
personalized location-based forecasting, and visualizations with alerts, the project caters to a wide range of user
needs. It provides a user-friendly interface for accessing accurate weather information, enabling users to plan
their activities and stay informed about weather conditions. Additionally, with potential expansions such as
historical data analysis and integration with mobile devices, the project's scope can further enhance its utility
and user experience.
Implementation of the Source Code

# python3 -- Weather Application using API

# importing the libraries

from tkinter import *

import requests

import json

import datetime

from PIL import ImageTk, Image

# necessary details

root = Tk()

root.title("Weather App")

root.geometry("450x700")

root['background'] = "white"

# Image

new = ImageTk.PhotoImage(Image.open('logo.png'))

panel = Label(root, image=new)

panel.place(x=0, y=520)

# Dates

dt = datetime.datetime.now()

date = Label(root, text=dt.strftime('%A--'), bg='white', font=("bold", 15))

date.place(x=5, y=130)

month = Label(root, text=dt.strftime('%m %B'), bg='white', font=("bold", 15))

month.place(x=100, y=130)

# Time

hour = Label(root, text=dt.strftime('%I : %M %p'),


bg='white', font=("bold", 15))

hour.place(x=10, y=160)

# Theme for the respective time the application is used

if int((dt.strftime('%I'))) >= 8 & int((dt.strftime('%I'))) <= 5:

img = ImageTk.PhotoImage(Image.open('moon.png'))

panel = Label(root, image=img)

panel.place(x=210, y=200)

else:

img = ImageTk.PhotoImage(Image.open('sun.png'))

panel = Label(root, image=img)

panel.place(x=210, y=200)

# City Search

city_name = StringVar()

city_entry = Entry(root, textvariable=city_name, width=45)

city_entry.grid(row=1, column=0, ipady=10, stick=W+E+N+S)

def city_name():

# API Call

api_request = requests.get("https://api.openweathermap.org/data/2.5/weather?q="

+ city_entry.get() + "&units=metric&appid="+api_key)

api = json.loads(api_request.content)

# Temperatures

y = api['main']

current_temprature = y['temp']

humidity = y['humidity']

tempmin = y['temp_min']
tempmax = y['temp_max']

# Coordinates

x = api['coord']

longtitude = x['lon']

latitude = x['lat']

# Country

z = api['sys']

country = z['country']

citi = api['name']

# Adding the received info into the screen

lable_temp.configure(text=current_temprature)

lable_humidity.configure(text=humidity)

max_temp.configure(text=tempmax)

min_temp.configure(text=tempmin)

lable_lon.configure(text=longtitude)

lable_lat.configure(text=latitude)

lable_country.configure(text=country)

lable_citi.configure(text=citi)

# Search Bar and Button

city_nameButton = Button(root, text="Search", command=city_name)

city_nameButton.grid(row=1, column=1, padx=5, stick=W+E+N+S)

# Country Names and Coordinates

lable_citi = Label(root, text="...", width=0,

bg='white', font=("bold", 15))

lable_citi.place(x=10, y=63)
lable_country = Label(root, text="...", width=0,

bg='white', font=("bold", 15))

lable_country.place(x=135, y=63)

lable_lon = Label(root, text="...", width=0,

bg='white', font=("Helvetica", 15))

lable_lon.place(x=25, y=95)

lable_lat = Label(root, text="...", width=0,

bg='white', font=("Helvetica", 15))

lable_lat.place(x=95, y=95)

# Current Temperature

lable_temp = Label(root, text="...", width=0, bg='white',

font=("Helvetica", 110), fg='black')

lable_temp.place(x=18, y=220)

# Other temperature details

humi = Label(root, text="Humidity: ", width=0,

bg='white', font=("bold", 15))

humi.place(x=3, y=400)

lable_humidity = Label(root, text="...", width=0,

bg='white', font=("bold", 15))

lable_humidity.place(x=107, y=400)

maxi = Label(root, text="Max. Temp.: ", width=0,

bg='white', font=("bold", 15))

maxi.place(x=3, y=430)
max_temp = Label(root, text="...", width=0,

bg='white', font=("bold", 15))

max_temp.place(x=128, y=430)

mini = Label(root, text="Min. Temp.: ", width=0,

bg='white', font=("bold", 15))

mini.place(x=3, y=460)

min_temp = Label(root, text="...", width=0,

bg='white', font=("bold", 15))

min_temp.place(x=128, y=460)

# Note

note = Label(root, text="All temperatures in degree celsius",

bg='white', font=("italic", 10))

note.place(x=95, y=495)

root.mainloop()
OUTPUT:
Conclusion :

the weather forecast project implemented using Python presents a robust and user-centric solution for
accessing timely and accurate weather information. Through its intuitive interface and diverse features,
including real-time updates, personalized forecasts, and visualizations with alerts, the project successfully
meets the needs of users seeking reliable weather forecasts. With possibilities for future enhancements such
as historical data analysis and mobile integration, the project stands poised to further elevate its utility and
effectiveness in keeping users informed and prepared for changing weather conditions..
6.0 Actual Resources Used (Mention the actual resources used).

sr.
Name of Resource/material Specifications Qty Remarks
No.

1 Computer System Processor (i5 3.0 1


GHz or better
minimum i3 2.4
GHz), Ram (4 GB
or 8 GB), HDD (5
GB minimum)
2 Operating System Windows 7 or 1
higher
3 Internet/Websites www.bplans.com 3

7.0 Outputs of the Micro-Projects


Thus, we have successfully implemented the source code of a WEATHER
FORECAST and learnt about the concepts of Python and also we experienced how to Create
and perform the project in Python.

8.0 Skill Developed/Learning outcome of this Micro-Project


1. Enhancing Python skills for data handling, manipulation, and visualization.
2. Demonstrate working as a leader/team member.
3. Communication really go hand in glove with leadership.
4. How to create a project schedule.
5. How to manage time.
6. Decision making skill
7. Problem solving.
8. Planning and strategy skill.

9.0 Applications of this Micro-Project:- (In about 30 to 50 words)

a. Individuals can utilize the weather forecast application for planning outdoor activities,
travel, and daily routines based on accurate and timely weather predictions.
b. Transportation companies can utilize weather forecasts to plan routes, schedule logistics,
and mitigate risks associated with adverse weather conditions, improving efficiency and
safety.
c. Construction companies can use weather forecasts to plan construction activities,
schedule work accordingly, and ensure worker safety in challenging weather conditions.
d. Lead-generation method.
e. Customer service mechanism.
f. Relationship-building medium.
g. Distribution channel.
Annexure-IV
MICRO-PROJECT EVOLUTION SHEET

Name of Student:- Shailesh .S. Koshe En. No:- 2110920069


Name of Program:- DIPLOMA IN COMPUTER ENGINEERING Semester:- 6th
Course Name:-Programming with python. Course Code:-22032
Title of The Micro-Project:-WEATHER FORECAST

Course Outcomes Achieved:-


a. Domain Knowledge: Acquiring domain-specific knowledge in meteorology and
weather forecasting, understanding the principles and factors influencing weather
patterns.
b. Enhanced communication and documentation skills
c. Acquisition of domain knowledge in meteorology and weather forecasting.
d. Practice in project management methodologies
e. Develop comprehensive business plan

Sr. Poor Average Good Excellent Sub


Characteristic to be Total
No. assessed (Marks1-3) (Marks4-5) (Marks 6-8) (Marks9-10)
(A)Process and Product Assessment (Convert Below total marks out of 6 Marks)
1 Relevance to the course
2 Literature
Review/information
collection
3 Completion of the Target
as Per project proposal
4 Analysis of Data and
representation
5
Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva(Convert Below total marks out of 4 Marks)
7 Presentation
8
Viva

(A) (B)
Process and Product Individual Presentation/ Total Marks
Assessment (6 marks) Viva (4 marks) 10

Comments/Suggestions about team work/leadership/inter-personal communication (if any)

Name of Course Teacher:- Prof.P.S.Brahmane

Dated Signature:-

You might also like