EML 3035 University of South Florida Weather Forecast Data Programming Project Hello, This course is Matlab and this is a project I would like from you to

EML 3035 University of South Florida Weather Forecast Data Programming Project Hello,

This course is Matlab and this is a project I would like from you to do

Don't use plagiarized sources. Get Your Custom Essay on
EML 3035 University of South Florida Weather Forecast Data Programming Project Hello, This course is Matlab and this is a project I would like from you to
For $10/Page 0nly
Order Essay

All the instruction are in the file

One thing you should know is that you will need to choose 3 cities for the project.

The 3 cities I want you to choose are ( Tripoli, Libya) ( Rome, Italy) ( bournemouth, England)

Let me know if you have any question

Thank you EML 3035 – Programming Concepts Project
S20
Weather API
Due date
May 1st, 2020 by midnight.
Goal
Retrieve weather forecast data from a web server through an API and plot several physical
variables in Matlab.
Submission guidelines
Upload a single .m file to Canvas under the Course Project assignment. Make sure the
extension of your file is .m and nothing else.
Key functions
webread()
Structure arrays
API
In this project you will become familiar with the concept of an API, Application
Programming Interface, which is basically code that controls an access point to the Web
Server. This way you can access information that is being stored in the Web.
In our case, we will access weather data stored by openweathermap.org. Here you will be able
to obtain current weather info, 5 days/3hour forecasts, weather maps, UV index and weather
alerts. For this project we will focus on 5 days/3hour forecasts.
5 days/3hour forecasts
In order to access the forecast inside the website mentioned above we need a key (something
like a password) for the API. The key you will use is this one:
b5904b7602f68fcca1d8886d36b36c4e
In order to use the API through MATLAB we will use the built in function webread(). Check
the Matlab documentation (https://www.mathworks.com/help/matlab/ref/webread.html) to
learn about webread. You may also check the website openweathermap.org to learn how to
call the API for that specific site.
1
All in all, if I use London as my city, the url passed into the webread function should look like
this:
‘http://api.openweathermap.org/data/2.5/forecast?q=London&APPID=key’
where key is the password given above (b590….).
The assignment
Tasks to do for the 5 days/3hour forecast.
You know how functions work. Webread is a function. It will have an input (the url) and an
output. See examples in Matlab documentation. You may name the output any way you want.
Once you are able to call the webread function, pay close attention to the output variable. This
output variable will contain 40 data packets (5 days every 3 hours). Each packet contains
temperature, pressure, humidity, and wind speed amongst multiple other things for a
particular day and time. You can click and open the output in the Workspace and navigate
through the different components.
You will have to figure out how to extract the following weather variables: temperature,
pressure, humidity and wind speed.
Hint: look at the name of the tab that opens up when you double click a variable in the
Workspace.
Once you learn how to extract information from your output variable, create four figures and
plot each variable versus time. Use days as the unit for the x-axis. The units for the variable
on the y-axis will be determine by the web source. You will have to look up what their units
are. https://openweathermap.org/forecast5
As a result you will have 4 figures. One for temperature, one for pressure, one for humidity
and one for wind speed. Do this for 3 different cities (of your choice) in the world.
Figure 1 shows an example for what the temperature plot should look like.
2
London
Temperature [C]
8
6
4
2
0
-2
1
2
3
4
5
Days
Figure 1: Temperature forecast for London
3
6

Purchase answer to see full
attachment

Calculator

Calculate the price of your paper

Total price:$26

Need a better grade?
We've got you covered.

Order your paper