Final Report
Final Report
Online Internship
(3170001)
Report Submitted by
Bachelor of Engineering
in
Computer Engineering
1
Marwadi Education Foundation
Faculty of Engineering
Computer Engineering Department
2024-25
CERTIFICATE
Date:
TO WHOM IT MAY CONCERN
This is to certify that, Mr./Mrs. RAUSHAN KUMAR SINGH Enrolment No. 210570107091
Student of Computer Engineering, has successfully completed a two weeks Internship in the
field of WEATHER FORECAST during the period of 29/06/2024 TO End 12/ 07/ 2024 for 2
WEEKS. During the period of his/her internship program with us, He had been exposed to
different processes and was found sincere and hardworking.
2
INTERNSHIP CERTIFICATE
3
4
Acknowledgments
I would like to express my deepest gratitude to everyone who has supported me throughout
the completion of this research on weather patterns and climate change.
Firstly, I am profoundly grateful to my advisor, Prof. Ronak Doshi, for his unwavering
support, expert guidance, and invaluable insights. His mentorship has been instrumental in
the success of this study.
I would also like to thank the entire team at the Meteorological Institute for providing access
to critical data and resources. Special thanks to Prof. Ronak Doshi, and the technical staff
for their assistance with data collection and analysis.
A special thanks to my family for their unconditional love and encouragement. Their
patience and understanding have been a constant source of strength for me throughout this
journey.
Lastly, I am grateful to all the researchers and scientists whose work has laid the foundation
for this study.
5
INDEX
4 SUMMARY 20
4.1 FUTURE SCOPE 20
4.2 CONCLUSION 21
5 Reference 22
6
Team ID: 565088 Project Title: Weather Forecast
Abstract
This study analyzes weather patterns and their impacts, focusing on the effects of climate
change on a local and global scale. By examining historical weather data, we identify
trends and anomalies in temperature, precipitation, and extreme weather events. Our
findings show significant changes in weather patterns, with an increase in the frequency
and intensity of events like hurricanes, droughts, and heatwaves.
The research also explores the socio-economic implications, emphasizing the heightened
vulnerability of certain regions. Our analysis highlights the need for effective adaptive
strategies and policies to mitigate climate change impacts.
The results provide insights for policymakers and researchers, enhancing the
understanding of climate dynamics. Future work will aim to improve predictive models
and broaden the study to include more geographical areas and climatic variables.
I
Team ID: 565088 Project Title: Weather Forecast
List of Tables
Table Table Description Page No
No.
1 List of Figure iii
2 List of Symbols, Abbreviations and Nomenclature iv
II
Team ID: 565088 Project Title: Weather Forecast
III
Team ID: 565088 Project Title: Weather Forecast
Symbol Abbreviations
JS JavaScript
IV
Team ID: 565088 Project Title: Weather Forecast
Chapter 1: Introduction
1.1 Definition
Weather is a fundamental aspect of our daily lives, influencing a wide range of human
activities and natural processes. From agriculture and transportation to health and safety,
weather patterns play a crucial role in shaping our environment and society.
Understanding weather phenomena is not only essential for predicting short-term
conditions but also for comprehending long-term climate trends and their impacts.
This introduction sets the stage for a thorough examination of weather patterns and their
implications, providing a foundation for the subsequent analysis and discussion. The
findings of this study will contribute to the broader understanding of climate dynamics
and offer valuable insights for policymakers, researchers, and the general public.
➢ Product Perspective:
This app provides commercial weather forecasting services worldwide. it will utilize
ideas passed by open weather map and national weather services.
➢ System Interface:
The user interface for the task will have a site that will have the live feed alongside the
data about the climate. This site will utilize html, CSS, JavaScript and API requests for
site.
➢ Product Functions:
➢ Operating Environment:
Today weather app is an web application which you can run using your favourite
browser. In the application provided details and information is provided by the open
weather map website which will help us for API data fetching
1
Team ID: 565088 Project Title: Weather Forecast
Assumptions: Dependencies
Internet Connectivity
This software package is developed using html, CSS for frontend and JavaScript for the
backend. Using Vs Code as a text editor and Google Chrome for the execution of our
code.
• API: Openweathermap,API
➢ Hardware Requirements:
• Processor: Intel core i3 or above for a stable experience and fast retrieval of data.
PROJECT SCOPE:
The primary goal of a weather forecasting app is to offer users the ability to plan their
activities based on anticipated weather conditions
2
Team ID: 565088 Project Title: Weather Forecast
PROJECT REQUIREMENTS:
This is the next phase after the submission of the synopsis report. We can do this
process before the Synopsys report creation as well, It is all depends upon the project
and their requirements. Here after getting an overview about the project now we can
easily do the requirement gathering for our project.
3
Team ID: 565088 Project Title: Weather Forecast
This project analyzes historical and current weather patterns to understand their
evolutionand implications. The analysis is structured into several key components:
Data Collection:
Sources: Data was gathered from reputable meteorological agencies, including the
National Weather Service and international climate databases.
Types of Data: Temperature records, precipitation levels, and records of extreme weather
events (e.g., hurricanes, droughts).
Methodology:
Statistical Analysis: Employed statistical tools to identify trends and anomalies in the
historical data.
Computational Models: Used machine learning models to predict future weather patterns
based on historical data.
Findings:
Temperature Trends: A significant rise in global temperatures over the past century, with
notable increases in the last few decades.
Extreme Weather Events: An increase in the frequency and intensity of events such as
hurricanes, heatwaves, and floods.
Socio-Economic Impacts:
Recommendations:
4
Team ID: 565088 Project Title: Weather Forecast
Policy Implications: Highlighted the need for comprehensive climate policies at local,
national, and international levels to mitigate the adverse effects of climate change.
Conclusion:
This project provides a comprehensive analysis of weather patterns and their impacts. The
findings underscore the urgency of addressing climate change and implementing effective
strategies to mitigate its effects. Further research and continuous monitoring are essential
to enhance our understanding and response to these ongoing changes.
5
Team ID: 565088 Project Title: Weather Forecast
6
Team ID: 565088 Project Title: Weather Forecast
7
Team ID: 565088 Project Title: Weather Forecast
In this stage we are going to develop our frontend part of the project.
• After providing the city value by user the app will show us the Temperature of the
city with weather description along with the humidity and wind speed in that city.
8
Team ID: 565088 Project Title: Weather Forecast
• If user provide the any invalid data in the search field then our page will respond
with an 404 error
• Temperature
• Humidity
• Wind Speed
• Weather Description
➢ Code:
Script.js
9
Team ID: 565088 Project Title: Weather Forecast
search.addEventListener('click',() =>{
// weather API.
if(city==''){
return; }
fetch(`https://api.openweathermap.org/data/2.5/weather?q=${city}&units=metric&appid=${APIKey}`).the
n(response => response.json()).then(json => {
if(json.cod == '404'){
container.style.height = '450px';
weatherBox.classList.remove('active');
weatherDetails.classList.remove('active');
error404.classList.add('active');
return;
container.style.height = '560px';
weatherBox.classList.add('active');
weatherDetails.classList.add('active');
error404.classList.remove('active');
switch(json.weather[0].main){
case 'Clear':
10
Team ID: 565088 Project Title: Weather Forecast
image.src = 'images/clear-new.png';
break;
case 'Rain':
image.src = 'images/rain-new.png';
break;
case 'Snow':
image.src = 'images/snow-new.png';
break;
case 'Clouds':
image.src = 'images/cloud-new.png';
break;
case 'Mist':
image.src = 'images/mist-new.png';
break;
case 'Haze':
image.src = 'images/mist-new.png';
break;
default:
image.src = 'images/clear-new.png';
temperature.innerHTML = `${parseInt(json.main.temp)}<span>°C</span>`;
description.innerHTML = `${json.weather[0].description}`;
humidity.innerHTML = `${json.main.humidity}%`;
wind.innerHTML = `${parseInt(json.wind.speed)}Km/h`;
});
});
Index.html
<!DOCTYPE html>
<html lang="en">
11
Team ID: 565088 Project Title: Weather Forecast
<head>
<meta charset="UTF-8">
<title>Weather App</title>
</head>
<body>
<div class="container">
<div class="search-box">
</div>
<div class="weather-box">
<div class="box">
<div class="info-weather">
<div class="weather">
<img src="images/cloud.jpg"></img>
</div>
</div>
</div>
</div>
<div class="weather-details">
<div class="humidity">
<div class="text">
12
Team ID: 565088 Project Title: Weather Forecast
<div class="info-humidity">
<span>0%</span>
</div>
<p>Humidity</p>
</div>
</div>
<div class="wind">
<div class="text">
<div class="info-wind">
<span>0Km/h</span>
</div>
<p>Wind Speed</p>
</div>
</div>
</div>
<div class="not-found">
<div class="box">
<img src="images/404-new.png">
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
Style.css
@import
url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&dis
play=swap");
*{
13
Team ID: 565088 Project Title: Weather Forecast
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins",sans-serif;
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
/* background: url('images/background_img.jpg'); */
background-color: black;
background-size: cover;
background-position: center;
.container{
position: relative;
width: 400px;
height: 100px;
background: rgb(245,245,245,0.1);
backdrop-filter: blur(30px);
border-radius: 16px;
padding: 20px;
color: #fff;
.search-box{
position: relative;
width: 100%;
14
Team ID: 565088 Project Title: Weather Forecast
height: 55px;
display: flex;
align-items: center;
.search-box i{
position: absolute;
left: 10px;
border-radius: 10px;;
font-size: 20px;
.search-box input{
position: absolute;
width: 100%;
height: 100%;
background: transparent;
outline: none ;
border-radius: 10px;
font-size: 22px;
color: #fff;
font-weight: 500;
text-transform: uppercase;
.search-box input{
color: #fff;
text-transform: capitalize;
.search-box button{
position: absolute;
15
Team ID: 565088 Project Title: Weather Forecast
right: 0;
width: 40px;
height: 100%;
background: transparent;
border: none;
outline: none;
font-size: 20px;
color: #fff;
cursor: pointer;
.weather-box{
text-align: center;
margin: 10px 0;
.weather-box,
.weather-details,
.not-found{
overflow: hidden;
visibility: hidden;
.weather-box.active,
.weather-details.active,
.not-found.active{
visibility: visible;
.weather-box .box,
.not-found .box{
transform: translateY(-100%);
16
Team ID: 565088 Project Title: Weather Forecast
.weather-box.active .box,
.not-found.active .box{
transform: translateY(0%);
transition-delay: .6s;
.weather-box img{
width: 60%;
.weather-box .temperature{
position: relative;
font-size: 64px;
line-height: 1;
font-weight: 700;
position: absolute;
font-size: 24px;
margin-left: 4px;
.weather-box .description{
position: relative;
font-size: 22px;
font-weight: 500;
.weather-details{
position: absolute;
bottom: 40px;
left: 0;
17
Team ID: 565088 Project Title: Weather Forecast
width: 100%;
padding: 0 20px;
display: flex;
.weather-details .humidity,
.weather-details .wind{
display: flex;
align-items: center;
width: 50%;
transform: translateY(-100%);
.weather-details.active .humidity,
.weather-details.active .wind{
transform: translateY(0%);
transition-delay: 1.0s;
.weather-details i{
font-size: 56px;
margin-right: 10px;
.weather-details .humidity{
padding-left: 20px;
justify-content: flex-start;
.weather-details .wind{
padding-right: 20px;
justify-content: flex-end;
.weather-details span{
18
Team ID: 565088 Project Title: Weather Forecast
display: inline-block;
font-size: 22px;
font-weight: 500;
.weather-details p{
font-size: 14px;
font-weight: 500;
.not-found{
position: absolute;
top: 0;
left: 0;
width: 100%;
text-align: center;
margin-top: 110px;
.not-found img{
width: 65%;
.not-found p{
font-size: 22px;
font-weight: 200;
margin-top: 12px;
19
Team ID: 565088 Project Title: Weather Forecast
CHAPTER 4: SUMMARY
• We can add last 10 days timeline of weather forecasting of the selecte location as
well
4.2 CONCLUSION
• Helps users plan activities weather apps can help users plan activities bases
anticipated weather conditions
• Helps users monitor weather patterns weather apps can provide statical
information and trends make can help users monitor weather patterns over time
and make data-driven decisions.
• Weather apps can help users make better decisions about their day-to -day
activities by providing real-time weather information,forecasts,and other weather -
related data
• Here are some conclusions that can be drawn from a weather app project
20
Team ID: 565088 Project Title: Weather Forecast
References
1. Data Mining: The Textbook 2015 Edition, Kindle Editionby Charu C. Aggarwal.
2. Data Mining: Concepts and Techniques By Jiawei Han, Jian Pei, Micheline Kamber
3 Weather Forecaster to Research Scientist: My Career in Meteorology by Robert M.
Atlas foreword by Dave Jones
1. https://towardsdatascience.com/introduction-to-machine-learning-algorithms-linear-
regression-14c4e325882a
2. https://www.kaggle.com/grubenm/austin-weather
21