Digital Board
Digital Board
N. ABHINAYA
[REG.NO.U19GB21S0050]
MEGHANA.R
[REG.NO.U19GB21S0111]
VIJAYALAKSHMI.K
[REG.NO.U19GB21S0092]
KOLAR – 563101
1
2023-2024
2
CERTIFICATE OF INTERNSHIP
This is to certify that the intern entitled “ WEATHER APP IN PYTHON” done
by N. Abhinaya and Meghana.R and Vijayalakshmi.k Department of
Computer Applications bearing register number U19GB21S0050
and U19GB21S0111 and U19GB21S0092 student of Government
Collage for women, H has successfully completed internship course
from 06-06-2024 to 06-07-2024 from our organization. Her conduct
during stay with us satisfactory. I wish all the best for future
endeavor.
Signature of authority
Seal of Organization
3
CERTIFICATE
Weather App in Python
Submitted in the partial fulfilment of requirement for the 6TH
Semester of
Bachelor of Science
N. Abinaya
[REG.NO.U19GB21S0050]
AND
MEGHANA.R
[REG.NO.U19GB21S0111]
AND
VIJAYALAKSHMI.K
[REG.NO.U19GB21S0092]
BSC FINAL YEAR
From 06-06-2024 to 06-07-2024, at Hope Foundation
GCW Kolar
4
Hope Foundation
Accenture Centre Hope
Student Declaration
Signature
[N. ABHINAYA]
[MEGHANA.R]
[VIJAYALAKSHIMI.K]
5
ACKNOWLEDGEMENT
6
7
ABSTRACT
Weather forecasting is the application of science and technology to predict the state of the
atmosphere for a given location. Ancient weather forecasting methods usually relied on
observed patterns of events, also termed pattern recognition. For example, it might be
observed that if the sunset was particularly red, the following day often brought fair weather.
However, not all of these predictions prove reliable. Here this system will predict weather
based on parameters such as temperature, humidity and wind. User will enter current
temperature; humidity and wind, System will take this parameter and will predict weather
(rainfall in inches) from previous data in database (dataset). The role of the admin is to add
previous weather data in database, so that system will calculate weather (estimated rainfall in
inches) based on these data
Weather forecasting system takes parameters such as temperature, humidity, and wind and
will forecast weather based on previous record therefore this prediction will prove reliable.
This system can be used in Air Traffic, Marine, Agriculture, Forestry, Military, and Navy
etc.
8
CHAPTER – 01
INTRODUCTION
Objective:
Weather forecasting is the prediction of the state of the atmosphere for a
given location using the application of science and technology. This includes
temperature, rain, cloudiness, wind speed, and humidity. Weather warnings
are a special kind of short-range forecast carried out for the protection of
human life.
Chapter-2
Over the last decade, technological advances and scientific breakthroughs have
9
allowed NMHSs’ hydro meteorological forecasts and warnings to become much
more specific and accurate. As computer technology and high-speed dissemination
systems evolved (e.g. Internet), National Weather Service (NWS) customers/partners
were demanding detailed forecasts in gridded, digital and graphic formats.
Traditional NWS text forecast products limit the amount of additional information
that can be conveyed to the user community. The concept of digital database
forecasting provides the capability to meet customer/partner demands for more
accurate, detailed hydro meteorological forecasts. Digital database forecasting also
offers one of the most exciting opportunities to integrate PWS forecast dissemination
and service delivery, which most effectively serves the user community
Chapter-3
Chapter-4
10
IV. PROPOSED METHOD:
User will enter current temperature; humidity and wind, System will take this
parameter and will predict weather from previous data in database.
The role of the admin is to add previous weather data in database, so that
system will calculate weather based on these data. Weather forecasting
system takes parameters such as temperature, humidity, and wind and will
forecast weather based on previous record therefore this prediction will
prove reliable.
Chapter-5
V. MODULES AND PROJECT DESCRIPTION:
Explanation:
1) In this module we first gather the data(dataset) for our prediction model. Data
comes in all forms, most of it being very messy and unstructured. They rarely come
ready to use. Datasets, large and small, come with a variety of issues- invalid fields,
missing and additional values, and values that are in forms different from the one we
require. In order to bring it to workable or structured form, we need to “clean” our
data, and make it ready to use. Some common cleaning includes parsing, converting
to one-hot, removing unnecessary data, etc.
11
In our case, our data has some days where some factors weren’t recorded. And the
rainfall in cm was marked as T if there was trace precipitation. Our algorithm
requires numbers, so we can’t work with alphabets popping up in our data. so we
need to clean the data before applying it on our model
2) Once the data is cleaned, In this module that cleaned data can be used as an input
to our Linear regression model. Linear regression is a linear approach to form a
relationship between a dependent variable and many independent explanatory
variables. This is done by plotting a line that fits our scatter plot the best, ie, with the
least errors. This gives value predictions, ie, how much, by substituting the
independent values in the line equation.
We will use Scikit-learn’s linear regression model to train our dataset. Once the
model is trained, we can give our own inputs for the various columns such as
temperature, dew point, pressure, etc. to predict the weather based on these
attributes.
Module Outcomes:
1) By the end of the first module the fully cleaned and useful data is available for the
apply the algorithm for the prediction.
2) By the end of the second module the actual prediction will be happen the outcome
is the amount of rainfall in inches based upon the user’s input
12
13
14
15
16
17