I need experts in Mathlap
Budget: £20 – £250 GBP
Hydrodynamics of the Irish Sea
Create a new m-file and load the data ‘IrishSeaModel_temperature.mat’, containing
model-derived simulations of temperature in the Irish Sea. ‘LAT’ and ‘LON’ denote the
spatial discretization of the model grid and can be used to set the axis of your 2D
graphics. ‘SST’ is a 3D matrix of sea surface temperature (in degrees Celsius), where
the first two dimensions correspond to latitude and longitude, respectively, and the
third dimension corresponds to six monthly-mean sets of data (April-Sept 2014).
Similarly, SBT is a matrix of sea bottom temperature.
1. Produce a figure that shows the monthly-mean temperature pattern for April 2014.
The figure should have two panels (‘subplots’): a) simulated monthly-mean Sea
Surface Temperatures; and b) the simulated difference in monthly-mean
temperature between the surface and the bottom (which is an indication of the level
of stratification throughout the water column). Also on panel (b), superimpose the
5
OC contour line. This will show where and when the vertical temperature difference
exceeds 5 OC. Repeat this figure for each month, producing six separate figures for
April – September.
2. Superimpose the monthly-averaged velocities (‘residuals’) onto panel (b). To do
this, load in the data ‘IrishSeaModel_residuals.mat’, containing model-derived
simulations of depth-averaged monthly residuals in the Irish Sea. For each month,
interpolate the 2D residuals (using ‘interp2’) onto a coarser grid (plot every 10th
vector – otherwise there would be too many data points to see clearly) and plot as
vectors in panel (b) (using the ‘quiver’ function).
3. Describe how the temperature field evolves through the summer and also how this
influences the monthly residual flows.
the second one
2.4 The assignment
1. Write a function that calculates the absorbed solar radiation as a function of time of
day and year, cloud cover, and latitude. Use a time step of one hour.
2. Run the program, from another m-file, with no clouds for one year for 0
o
; 45o and
90o north, respectively. Then rerun for the same latitudes but with full cloud cover.
Comment on the differences.
3. In a new m-file, run the code for the Western Irish Sea using a 25%-cloud cover.
Compare the output with the two-week observed data from the Irish Sea in the file
IS_met.mat. Note that the IS data may have a different time stamp than your model.
interp1 comes in handy to deal with that, and it is easier to use if you turn your data
matrix into a vector.
Create a new m-file and load the data ‘IrishSeaModel_temperature.mat’, containing
model-derived simulations of temperature in the Irish Sea. ‘LAT’ and ‘LON’ denote the
spatial discretization of the model grid and can be used to set the axis of your 2D
graphics. ‘SST’ is a 3D matrix of sea surface temperature (in degrees Celsius), where
the first two dimensions correspond to latitude and longitude, respectively, and the
third dimension corresponds to six monthly-mean sets of data (April-Sept 2014).
Similarly, SBT is a matrix of sea bottom temperature.
1. Produce a figure that shows the monthly-mean temperature pattern for April 2014.
The figure should have two panels (‘subplots’): a) simulated monthly-mean Sea
Surface Temperatures; and b) the simulated difference in monthly-mean
temperature between the surface and the bottom (which is an indication of the level
of stratification throughout the water column). Also on panel (b), superimpose the
5
OC contour line. This will show where and when the vertical temperature difference
exceeds 5 OC. Repeat this figure for each month, producing six separate figures for
April – September.
2. Superimpose the monthly-averaged velocities (‘residuals’) onto panel (b). To do
this, load in the data ‘IrishSeaModel_residuals.mat’, containing model-derived
simulations of depth-averaged monthly residuals in the Irish Sea. For each month,
interpolate the 2D residuals (using ‘interp2’) onto a coarser grid (plot every 10th
vector – otherwise there would be too many data points to see clearly) and plot as
vectors in panel (b) (using the ‘quiver’ function).
3. Describe how the temperature field evolves through the summer and also how this
influences the monthly residual flows.
the second one
2.4 The assignment
1. Write a function that calculates the absorbed solar radiation as a function of time of
day and year, cloud cover, and latitude. Use a time step of one hour.
2. Run the program, from another m-file, with no clouds for one year for 0
o
; 45o and
90o north, respectively. Then rerun for the same latitudes but with full cloud cover.
Comment on the differences.
3. In a new m-file, run the code for the Western Irish Sea using a 25%-cloud cover.
Compare the output with the two-week observed data from the Irish Sea in the file
IS_met.mat. Note that the IS data may have a different time stamp than your model.
interp1 comes in handy to deal with that, and it is easier to use if you turn your data
matrix into a vector.