Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 6 0 5 ? 2 0 2 4 CEN 3 4 0 : Scientific Computation Final Project WeatherScope: City - Based Weather Forecasting and
CEN : Scientific Computation Final Project
"WeatherScope": CityBased Weather Forecasting and Visualization Application
Purpose:
Develop a MATLAB App Designer application that visualizes realtime and day weather forecasts for selected cities using the OpenWeatherMap API.
Requirements:
OpenWeatherMap Membership and API Key:
Visit the OpenWeatherMap website and create a user account.
Obtain your API key, which will be used to access weather data in your application.
Note: After obtaining your API key, if you experience issues accessing the data, you may need to wait for a while minutes The key will become active once the registration process is completed.
Using MATLAB App Designer:
Use MATLAB App Designer to design an interface that allows users to select and display weather data for different cities. To open MATLAB App Designer, you can type "appdesigner" in the MATLAB Command Window."
The interface should include three separate graphs axes displaying temperature, humidity, and wind speed:
Temperature:
Humidity:
Wind Speed:
The
Note: Familiarizing yourself with the interface of this application may require some exploration. Therefore, you might encounter some initial ernors as you navigate through its features...
Writing Functions:
Write a MATLAB function fetchFiveDayForecast that retrieves citybased weather data from the OpenWeatherMap API. This function should pull data in JSON format from the API and process this data to convert it into a format that can be utilized within MATLAB.
Updating Graphs and Data:
When a user selects a city, the relevant weather data should be displayed on the graphs. There should be separate graphs for temperature, humidity, and wind speed.
The 'Get Information' button should be used to retrieve the current weather data for the selected city and display it on the interface.
To add a city, create an Edit Field Text and after clicking 'Add City', click 'Get Information' to see the weather data.
You need to display the day weather forecast for the added city. Additionally, the values under the graphs should show the current conditions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started