Project Report Wheather Forecast Web Application
Project Report Wheather Forecast Web Application
A PROJECT REPORT
Submitted by
Chandigarh University
1
`
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
2
`
TABLE OF CONTENTS
3
`
REFERENCES ....................................................................................................... 16
APPENDIX ............................................................................................................. 17
1. Plagiarism Report............................................................................................................... 17
4
`
ABSTRACT
A weather information app is a digital application that provides users with up-to-date
information on current and upcoming weather conditions. The app is designed to be
user-friendly and easy to navigate, providing users with access to a variety of
weather data such as temperature, humidity, wind speed and direction, and
precipitation levels. In addition to basic weather information, weather apps may offer
personalized features such as the ability to save favorite locations, view weather
information in different units of measurement, or access historical weather data for a
specific location. Weather apps may also provide customizable notifications for
weather events that may impact a user's daily routine or outdoor activities, as well as
weather-related news and articles. The primary goal of a weather information app is
to provide users with accurate and timely weather information, helping them make
informed decisions about their safety and daily routine based on the latest weather
conditions.
Implementation Highlights:
HTML Structuring: HTML forms the foundation of the application, enabling the
creation of structured and meaningful content.
CSS Styling: Cascading Style Sheets are employed to stylize the application's layout,
fonts, and colors, contributing to an engaging and visually pleasing experience.
API Integration: The project incorporates API integration to fetch accurate weather
data, allowing users to access current conditions and forecasts.
5
`
6
`
INTRODUCTION
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
The "Weather Forecast" project is a web application designed to provide users with
up-to-date weather information for a specific location. The application is developed
using HTML, CSS, and JavaScript, aiming to offer a user-friendly interface and
accurate weather data retrieval from a reliable API source.
Client: The client in this case is someone who is interested in staying up-to-date with
weather information and would like to use a weather information app to do so.
Need: The need of the client is to have a reliable and user-friendly weather
information app that provides accurate and timely updates on current and upcoming
weather conditions. The client may also have specific needs such as access to radar
maps, severe weather alerts, and customized notifications for weather events that
may impact their daily routine or outdoor activities
7
`
There are several potential problems that users may encounter when using a weather
information app. Some of these include:
• Poor user experience: Weather apps that are difficult to navigate, slow to load,
or have a confusing user interface can be frustrating and may discourage users
from relying on the app for weather information.
• Limited functionality: Users may be dissatisfied with a weather app that has
limited functionality, such as not providing access to radar maps, severe
weather alerts, or customized notifications.
• Data privacy concerns: Users may be concerned about how their personal data
is being collected, stored, and used by the weather app developer.
• Unreliable app performance: Weather apps that frequently crash, freeze, or fail
to load can be frustrating for users and may make them lose confidence in the
app's ability to provide accurate and timely weather information.
• These problems can be challenging for weather app developers to address, but
by actively monitoring user feedback and incorporating the latest data and
technology into their products, developers can work to improve the accuracy,
reliability, and user experience of their weather information apps.
• Invalid User Inputs: The app should handle cases where users input invalid
locations or data.
• Missing Error Handling: Lack of proper error messages for failed API requests
or unexpected errors can confuse users.
8
`
Integration with other apps and devices: Some weather apps may integrate
with other apps and devices, such as smart home systems, to provide users
with a more seamless experience. For example, a weather app may integrate
with a smart thermostat to automatically adjust the temperature in a user's
home based on the current weather conditions.
Weather-related news and articles: Many weather apps provide users with
access to weather-related news and articles, such as weather forecasts, climate
change updates, and safety tips for extreme weather events.
9
`
1. Project Setup:
2. HTML Structure:
Design the basic layout of the web page using HTML tags.
Create input fields for location selection.
Set up containers for displaying current weather and forecast information.
Add placeholders for dynamic data to be inserted later.
3. CSS Styling:
Style the overall layout, fonts, and colors to create an appealing UI.
Define responsive design rules for various screen sizes.
Style the input fields, buttons, and containers for weather information.
Apply CSS flexbox or grid for proper alignment.
4. JavaScript Implementation:
10
`
9. Documentation:
10.Performance Optimization:
11
`
1.4. Timeline
Here's a general timeline for the phases of developing a weather forecast web
application using HTML, CSS, and JavaScript. Keep in mind that the timeline can
vary based on the complexity of your project, your experience level, and other
factors. This timeline assumes a straightforward project structure and development
process.
Design the basic layout of the web page using HTML tags.
Set up input fields for location selection.
Create containers for displaying weather information.
Apply basic CSS styling for layout, fonts, and colors.
12
`
13
`
Chapter 2
LITERATURE REVIEW
2. REQUIREMENT ANALYSIS
We neither require any high-configuration systems for the smooth running of the
server program nor do we require any high-configuration systems for the smooth
running of a client program. This application is designed with ease to support any
ordinary system having an internet connection.
The reliability of the system is to make sure the website does not go offline
3. Availability:
The availability of the system is that the website will be active on the Internet
and people will be able to browse it
14
`
All projects are feasible if they have unlimited resources and infinite time. But the
development of software is plagued by the scarcity of resources and difficult
delivery rates. It is necessary and prudent to evaluate the feasibility of a project at
the earliest possible time. The three considerations are involved in the feasibility
analysis.
This procedure is to determine the benefits and savings that are expected from a
candidate system and compare them with cost. If the benefits outweigh the cost
then the decision is made to design and implement the system. Otherwise, further
justification or alterations in proposed systems have to be made if it is having a
chance of being approved. This is an ongoing effort that improves any feasibility
costs spent on this project because here we’re using open-source environments.
People are inherently resistant to change and mobiles have been known to facilitate
change. There is no need of technical background is required to work on the
application. All the information needed can be seen with just one click.
15
`
In the realm of weather prediction apps, a variety of options are available to users,
some of the notable ones being AccuWeather, The Weather Channel, and Dark
Sky. These applications offer a diverse array of features aimed at providing users
with comprehensive weather forecasts. These features encompass detailed insights
into upcoming weather conditions, interactive maps for visualizing weather
patterns, and timely alerts for severe weather occurrences. Despite the
commendable accuracy of the data they offer, a persistent hurdle revolves around
effectively presenting this wealth of information in a manner that is user-friendly
and intuitive.
While these existing apps undoubtedly deliver reliable forecasts, their user
interfaces can sometimes be overwhelming. Navigating through intricate layouts
and numerous options can impede users' ability to swiftly access the specific
information they seek. The challenge extends to accommodating varying user
preferences – not all users require the same level of detail in their forecasts.
Regrettably, customization options are often constrained, potentially leaving users
grappling with an excess of data that might not be pertinent to their needs.
While these existing apps have demonstrated their credibility in providing reliable
data, there's a persistent drive to further enhance the precision of weather
predictions. This is particularly vital for localized forecasts and forecasting
challenging weather events.
Striking the right equilibrium between sending timely notifications about weather
changes and avoiding inundating users with excessive alerts is also a matter of
importance.
USER REQUIREMENTS
The system specifications that a user may want are as follows: 1. It should be easy
to understand 2. Must be interactive 3. Should provide a good user interface 4.
Security should be maintained
FINAL REQUIREMENTS
User Oriented: A system should be more user friendly not from the technical
point of view Better.
GUI: All the elements used in the system should be interactive in nature so that its
look and feel are not so boring that the user could get bored while using it.
Confidentiality: Whatever the user is providing to the organization, the user has
the full rights to modify it and it could be not be accessed/modified without the
user's permission.
17
`
18
`
Review Summary
19
`
The main challenge we're addressing in this report is to create a weather app that
does the following things:
Easy for Everyone: We want the app to be easy for anyone to use. Whether
you're a tech expert or not, you should be able to open the app and understand what
the weather will be like without any confusion.
Modern User Needs: People nowadays rely on their phones for quick
information. We want to make an app that gives you the weather info you need in
an instant. This way, you can plan your day or activities without any delays.
Quick Updates: Weather can change suddenly, so we want the app to give you
timely updates. If the weather is about to change dramatically, the app should let
you know so you can be prepared.
20
`
2.6 Goals/Objectives
The Weather Prediction App is designed with specific objectives to meet the needs
of users effectively-
Accurate and Timely Forecasts: The foremost goal is to supply users with
reliable and up-to-date weather forecasts. The app aims to offer predictions that are
precise and aligned with real-world weather conditions.
Intuitive and Visual Appeal: The app's interface will be intuitive and visually
pleasing. Users should be able to easily navigate and understand the information
presented without any confusion.
21
`
Weather is something everybody deals with, and accurate data about it like what is
coming can help users to make informed decisions. With weather apps for iOS and
Android, people can exactly know when to expect a change in the weather
conditions. Weather apps can give urgent alerts too. Undoubtedly, weather
forecasting has come a long way, helping people to know about weather
conditions. So, if you are in an area where weather frequently changes from sunny
to torrential rain in a matter of minutes, then what is the easiest way to make sure
to be prepared? A suitable answer is a weather application
22
`
Chapter 3
DESIGN FLOW/PROCESS
Goal Alignment: Features are chosen judiciously to align with the project's goals,
emphasizing accuracy, usability, customization, and cross-device compatibility.
Resource Consideration: Resource constraints, including time and budget, are taken
into account to ensure that selected features can be realistically implemented.
User Feedback: We listen to what potential users are saying. Their suggestions and
needs guide our feature selection process.
User Surveys: We conduct surveys to gather data on what users expect from a weather
app. This data shapes our feature choices.
Competitor Analysis: We study other weather apps to see what features they offer. This
helps us stay competitive and meet user expectations.
Resource Allocation: We consider our available resources, such as time and budget, to
ensure we can deliver the selected features effectively.
Core Goals: We prioritize features that align with the core objectives of the app, like
providing accurate forecasts and an easy-to-use interface.
24
`
User Impact: We focus on features that will have the most significant positive impact on
the user experience, making sure they are at the forefront of our design.
Iterative Process: Feature selection is not a one-time decision; it's an ongoing, iterative
process that evolves based on user feedback and changing needs.
Identifying and addressing potential constraints that might impact the design and
development process is crucial to ensure a successful project. Here are some key design
constraints:
Compatibility: Ensuring the app works seamlessly across different web browsers and
devices can be a constraint. We need to account for variations in browser capabilities and
screen sizes.
Data Availability: The accuracy of weather predictions relies on the availability of real-
time data. If data sources are limited or unreliable, it can constrain the app's performance.
Security: Implementing robust security measures to protect user data is a constraint that
must not be overlooked. Security considerations can impact the design and development
process.
User Accessibility: Ensuring that the app is accessible to users with disabilities is a
constraint that needs to be addressed to meet ethical and legal requirements.
Regulatory Compliance: Depending on the regions in which the app will be used, there
might be regulatory constraints related to data privacy, weather reporting, or other factors
that need to be adhered to.
Scalability: The app's design must consider scalability to accommodate potential growth
in users and data volume over time.
25
`
Feedback Loop: Incorporating user feedback and making necessary adjustments can be
a constraint in terms of development timelines and resources.
Testing: Rigorous testing, including compatibility testing, performance testing, and user
testing, is essential but can be a constraint in terms of time and resources.
Addressing these constraints early in the design process is essential to ensure a smooth
and successful development process for the Weather Prediction App.
This phase is crucial as it involves a thorough examination of the selected features while
taking into account various constraints. The aim is to make well-informed decisions
regarding their implementation:
Resource Allocation Considerations: An evaluation of how each feature fits within the
project's available resources, including time, budget, and manpower, is conducted.
Features are prioritized based on their alignment with these constraints to ensure efficient
utilization of resources.
Compatibility Evaluation: Features are analyzed for compatibility with different web
browsers and devices. Prioritization is given to those features that can be seamlessly
implemented across various platforms, addressing compatibility constraints.
Security Constraints: Features are closely examined to ensure they adhere to security
constraints and best practices. Priority is given to those features that can be implemented
securely, safeguarding user data and privacy.
26
`
Scalability Considerations: Each feature is assessed for its impact on the app's
scalability. Features are selected with scalability constraints in mind, ensuring that they
can handle potential growth in users and data volume.
Usability Analysis: Features are evaluated based on their impact on usability. Priority is
given to those features that enhance the overall user experience and maintain an intuitive
interface, addressing usability constraints.
27
`
API OpenWeatherMap
RAM Minimum 4 GB
28
`
3.5 System Requirements To know the detailed system requirements an SRS has
to be prepared. Software requirement specification abbreviated as SRS is a means of
translating the idea of files into a formal document. The main features of SRS include:
• Establishing the basis for an agreement between the client and the developer.
• Producing a reference for validation of the final product. SRS assist clients in
determining if the software meets their requirements.
Mainly there are six requirements which an SRS must satisfy
(a) It should specify the external behaviour.
(b) It should specify the constraints.
(c) It should be easy to change.
(d) It should be a reference tool.
(e) It should record throughout the lifecycle.
(f) It should have the capacity to expect an undesired event.
Functional Requirements
Functional requirements are the requirements that describe the functionalities of the
system elements. It may involve Functional user requirements or Functional system
requirements. For example: The operator shall be able to input the region to the system
to view the desired weather parameters. The system shall provide the following
weather parameters: temperature, pressure, wind speed & direction, rainfall, and
humidity.
29
`
A DFD shows what kinds of information will be input into and output from the
system, where the data will come from and go to, and where the data will be stored. It
does not show information about the timing of processes, or information about whether
processes will operate in sequence or in parallel (which is shown on a
30
`
A DFD shows what kinds of information will be input into and output from the
system, where the data will come from and go to, and where the data will be stored. It
does not show information about the timing of processes, or information about whether
processes will operate in sequence or in parallel (which is shown on a flowchart)
31
`
Chapter 4
Testing is the process of evaluating a system or its component with the intent to find
whether it satisfies the specified requirement or not. Testing is executing a system in
order to identify any gaps, errors, or missing requirements in contrary to the actual
requirements. Systems should not be tested as a single, monolithic unit. The testing
process should therefore proceed in the stages where testing is carried out
incrementally in conjunction with system implementation. Errors in program
components may come to light at a later stage of the testing process. The process is
therefore an iterative one with information being fed back from later stage to
earlier parts of the process. Following Testings were done during the course of
our project.
Unit testing focuses verification efforts on the smaller unit of software design. Using the
detailed design description as a guide, important control paths are tested to
uncover errors within the boundary of the module. The relative complexity of the test
and the error detected as a result is limited by the constraint scope established for
unit testing. The unit test is always white box oriented, and the step can be
conducted in parallel for multiple modules
• Tested individual python file by debugging and using print statement.
• Individual Component rendering.
With unit testing the modules may function properly, but at times they may have
inadvertent affect on another, sub function when combined, may not produce the
desired functions; individually acceptable impression may be signed to unacceptable
levels then global data structure may present problems. Integration testing is a
systematic technique for constructing the program structure while at the same time
conducting tests to uncover errors associated with interfacing. The objective is to take
unit tested modules and build a program structure that has been dictated by the design.
32
`
Platform Independent: Since the project is done completely in HTML, CSS and
JavaScript, it also executes the main properties of the language. The application is
platform-independent.
HTML
The HyperText Markup Language or HTML is the standard markup language for
documents designed to be displayed in a web browser. It can be assisted by technologies
such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript. Web
browsers receive HTML documents from a web server or from local storage and render
the documents into multimedia web pages. HTML describes the structure of a web page
semantically and originally included cues for the appearance of the document.
CSS
CSS stands for Cascading Style Sheets. It is a style sheet language which is used to
describe the look and formatting of a document written in markup language. It provides
an additional feature to HTML. It is generally used with HTML to change the style of
web pages and user interfaces. It can also be used with any kind of XML documents
including plain XML, SVG and XUL. CSS is used along with HTML and JavaScript in
most websites to create user interfaces for web applications and user interfaces for many
mobile applications.
JavaScript
33
`
4.4 CODING
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather App</title>
34
`
width="20"
height="20"
loading="lazy"
/>
</button>
</form>
<p data-weatherDesc></p>
<img data-weatherIcon />
<p data-temp></p>
<div class="parameterContainer">
<!-- Wind Speed -->
<div class="parameter">
<img src="Images/windspeed.png" alt="#" />
<p>windspeed</p>
<p class="parameterValue" data-windspeed></p>
</div>
35
`
<p>humidity</p>
<p class="parameterValue" data-humidity></p>
</div>
CSS
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Merriweather Sans", sans-serif;
}
:root {
--colorDark1: #112d4e;
--colorDark2: #3f72af;
--colorLight1: #dbe2ef;
--colorLight2: #f9f7f7;
}
.wrapper {
height: 100vh;
width: 100vw;
overflow: hidden;
color: var(--colorLight2);
36
`
background-color: #112d4e;
background-image: linear-gradient(160deg, #112d4e 0%, #3f72af 100%);
}
.tabContainer {
width: 90%;
max-width: 550px;
display: flex;
justify-content: space-between;
margin: 0 auto;
margin-top: 2rem;
}
.tab {
cursor: pointer;
font-size: 0.875rem;
letter-spacing: 1.75px;
padding: 5px 8px;
text-transform: capitalize;
/* font-weight: 600; */
}
.tab.currentTab {
background-color: rgba(219, 226, 239, 0.5);
border-radius: 4px;
}
/* Main Container */
.container {
margin-block: 4rem;
}
.btn {
all: unset;
font-size: 0.85rem;
text-transform: uppercase;
37
`
.subContainer {
width: 90%;
max-width: 1000px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
/* Form Container */
.formContainer {
width: 90%;
max-width: 550px;
margin: 0 auto;
margin-bottom: 2rem;
display: none;
align-items: center;
justify-content: center;
gap: 0 10px;
}
.formContainer.active {
display: flex;
}
.formContainer input {
all: unset;
width: calc(100% - 80px);
height: 40px;
padding: 0 20px;
background-color: rgba(219, 226, 239, 0.5);
border-radius: 10px;
}
.formContainer input:focus {
outline: 3px solid rgba(255, 255, 255, 0.7);
}
.formContainer input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
38
`
.formContainer .btn {
width: 40px;
height: 40px;
/* display: grid;
place-items: center; */
display: flex;
justify-content: center;
align-items: center;
padding: unset;
border-radius: 100%;
}
/* grant Location */
.grantLocationContainer {
display: none;
}
.grantLocationContainer.active {
display: flex;
}
.grantLocationContainer img {
margin-bottom: 1.5rem;
}
.grantLocationContainer p:first-of-type {
font-weight: 600;
font-size: 1.75rem;
text-align: center;
}
.grantLocationContainer p:first-of-type {
font-weight: 600;
font-size: 1.75rem;
text-align: center;
}
.grantLocationContainer p:last-of-type {
font-size: 0.75rem;
text-align: center;
margin-top: 0.75rem;
margin-bottom: 1.75rem;
39
`
font-weight: 300;
letter-spacing: 0.75px;
}
.loadingContainer {
display: none;
}
.loadingContainer.active {
display: flex;
}
.loadingContainer p {
text-transform: uppercase;
}
.userInfoContainer {
display: none;
}
.userInfoContainer.active {
display: flex;
}
.userInfoContainer p {
font-size: 1.5rem;
font-weight: 200;
}
.userInfoContainer img {
height: 70px;
width: 70px;
}
.name {
display: flex;
align-items: center;
gap: 0 0.5rem;
margin-bottom: 0.7rem;
}
.name img {
width: 30px;
height: 30px;
object-fit: contain;
}
40
`
.userInfoContainer p[data-temp] {
font-size: 2.25rem;
font-weight: 700;
}
.userInfoContainer p[data-weatherDesc] {
text-transform: capitalize;
font-size: 1.2rem;
}
.parameterContainer {
width: 90%;
display: flex;
justify-content: center;
gap: 10px 20px;
margin: 1.6rem auto 0;
flex-wrap: wrap;
}
.parameter {
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
background-color: rgba(219, 226, 239, 0.5);
padding: 0.8rem;
border-radius: 5px;
width: 30%;
max-width: 200px;
gap: 5px 0;
}
.parameter p {
font-size: 1rem;
font-size: 600;
text-transform: uppercase;
}
.parameter img {
width: 50px;
height: 50px;
object-fit: cover;
}
.parameterValue {
font-size: 0.8rem;
font-weight: 200;
41
`
.errorContainer {
display: none;
}
.errorContainer.active {
display: flex;
gap: 1rem 0;
}
.errorContainer p {
text-align: center;
}
.errorContainer img {
width: 100%;
max-width: 300px;
aspect-ratio: 1 / 1;
object-fit: cover;
}
JavaScript
// API Key
const API_KEY = "168771779c71f3d64106d8a88376808a";
// Tab Switching
const userTab = document.querySelector("[data-userWeather]");
const searchTab = document.querySelector("[data-searchWeather]");
const searchForm = document.querySelector("[data-searchForm]");
const userInfoContainer = document.querySelector(".userInfoContainer");
const grantAccessContainer = document.querySelector(
".grantLocationContainer"
);
const loadingContainer = document.querySelector('.loadingContainer');
42
`
function switchTab(newTab) {
notFound.classList.remove("active");
// check if newTab is already selected or not
if (currentTab != newTab) {
currentTab.classList.remove("currentTab");
currentTab = newTab;
currentTab.classList.add("currentTab");
// If Search Form not contains active class then add [Search Weather]
if (!searchForm.classList.contains("active")) {
searchForm.classList.add("active");
userInfoContainer.classList.remove("active");
grantAccessContainer.classList.remove("active");
}
// Your Weather
else {
searchForm.classList.remove("active");
userInfoContainer.classList.remove("active");
getFromSessionStorage();
}
}
}
userTab.addEventListener('click', () => {
switchTab(userTab);
});
searchTab.addEventListener('click', () => {
switchTab(searchTab);
});
function getFromSessionStorage() {
const localCoordinates = sessionStorage.getItem("userCoordinates");
// console.log(localCoordinates);
43
`
// loading
loadingContainer.classList.add('active');
// Render Weather On UI
function renderWeatherInfo(weatherInfo) {
const cityName = document.querySelector('[data-cityName]');
const countryFlag = document.querySelector('[data-countryFlag]');
const description = document.querySelector('[data-weatherDesc]');
const weatherIcon = document.querySelector('[data-weatherIcon]');
const temp = document.querySelector('[data-temp]');
const windspeed = document.querySelector('[data-windspeed]');
const humidity = document.querySelector('[data-humidity]');
const clouds = document.querySelector('[data-clouds]');
cityName.innerText = weatherInfo?.name;
countryFlag.src =
`https://flagcdn.com/144x108/${weatherInfo?.sys?.country.toLowerCase()}.png`;
description.innerText = weatherInfo?.weather?.[0]?.description;
44
`
weatherIcon.src =
`http://openweathermap.org/img/w/${weatherInfo?.weather?.[0]?.icon}.png`;
temp.innerText = `${weatherInfo?.main?.temp.toFixed(2)} °C`;
windspeed.innerText = `${weatherInfo?.wind?.speed.toFixed(2)} m/s`;
humidity.innerText = `${weatherInfo?.main?.humidity.toFixed(2)} %`;
clouds.innerText = `${weatherInfo?.clouds?.all.toFixed(2)} %`;
}
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
}
else {
grantAccessButton.style.display = 'none';
}
}
function showPosition(position) {
const userCoordinates = {
lat: position.coords.latitude,
lon: position.coords.longitude
};
sessionStorage.setItem("userCoordinates", JSON.stringify(userCoordinates));
fetchWeatherInfo(userCoordinates);
}
grantAccessButton.addEventListener('click', getLocation);
45
`
grantAccessContainer.classList.remove("active");
notFound.classList.remove("active");
try {
const response = await
fetch(`https://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${API_KEY}&unit
s=metric`);
46
`
47
`
Chapter 5
5.1 CONCLUSION
This research suggests and proposes an efficient and accurate weather prediction and
forecasting model using linear regression concept. This concept is a part of machine
learning. It is a very efficient weather prediction model and using the entities
temperature, humidity and pressure, it can be used to make reliable weather
predictions. This model also facilitates decision making in day to day life. It can yield
even better results when applied to cleaner and larger datasets. Pre- processing of the
datasets is effective in the prediction as unprocessed data can also affect the efficiency
of the model.
Now a day’s there is a big demand of different types of applications, which is because
IT has become the main part of our New World. There is a big need of different
applications. People want application for every specific task from work to
entertainment. We have developed the application “Weather WebApp” which
works easy on any given web browser. The application has been tested and found
to be working as per the given criteria. It can be safely concluded that the
application possesses a highly efficient UI system and is working properly and
meeting to all the requirements of the user. The application gives the user maximum
flexibility in the types of touch and other device movements.
In summary, weather forecasts are increasingly accurate and useful, and their benefits
extend widely across the economy. While much has been accomplished in improving weather
forecasts, there remains much room for improvement. The forecasting community is working
closely with multiple stakeholders to ensure that forecasts and warnings meet their
specific needs. Simultaneously, they are developing new technologies and
observational networks that can enhance forecaster skill and the value of their
services to their users.
48
`
Opportunities exist for increasing forecast skill at all time ranges. However, realizing
these opportunities will require further research, close international cooperation and
coordination, improved observations of the atmosphere, ocean, and land surface, and
the incorporation of these observations into numerical models. Also, benefit will be
derived from higher spatial resolution of numerical models; increasingly powerful
supercomputers; wider use and improvement of model ensembles; the development of
data mining and visualization methods that enable forecasters to make better use of
model guidance; and collaborative forecast development activities among operational
forecasters and researchers.Beyond improving the forecast itself, improvement in the
communication and best use of forecast information is also needed. Research
integratingsocial science is key in identifying opportunities for future advances. For
example, research conducted by social scientists across multiple disciplines has found
that delivering weather warnings across multiple media increases the likelihood that
people will get and act upon this information. Scholars have conducted numerous
studies on different public groups about perceptions of risk and uncertainty. They are
also working to explore the relative value of effective communication of accurate
weather forecasts to appropriate decision-makers. Collaborative research with social
scientists will also enable forecasters to codify best practices in forecasting
philosophy, communication, and training amidst rapid technological change. An
increase in the presence and use of social media is contributing to additional avenues
for providing weather information and collecting real-time observations.
• Our system will only provide weather prediction of All the countries and state.
• Prediction will be done based on current weather activities like based on
present temperature, wind, etc.
Future Enhancement
• Our system does have weather information for foreign countries or cities.
• Addition of new cities weather dataset to predict there future weather also.
• Addition of new Indices.
49
`
BIBLOGRAPHY
• http://www.w3schools.com
• http:// www .stackoverflow.com
• http://wikipedia.com
50