

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Function fitting
The data is downloadable at http://ocean3d.org/eas-8803/hw/03-hw/Feb98˙SST.mat. What are the value of your model parameters? Make a plot of theSST derived using your linear model.
Dispersion Model
−0.
−0.
−0.
0
5 10 15 20 25 30
5
10
15
20
25
30
TRUE + measurment error
5 10 15 20 25 30
5
10
15
20
25
30
TRUE dispersion
The dynamics controlling the dispersion of the pollutant T are perfectly known and controlled by an advection-diffusion equation
2 2 2 2
T T T T T u v K t x y x y
where the diffusion coefficientK=0.04 m s-2, and the exact velocity (u,v) field is given. An atmospheric scientist gives you a numerical model of the atmospheric circulation over this region (http://ocean3d.org/eas-8803/hw/03-hw/adv˙diff˙model.m ). The model runs in MATLAB. The input parameters of the model are the initial condition att = 0 (T 0 ), the velocity fields and the diffusion coefficient K. You are also told that the sources do not exceed a value of 5 and they always occupy a square area of 4 grid points. Exercise: Download the MATLAB file http://ocean3d.org/eas-8803/hw/03-hw/run˙model.m and place it in the same directory where you have the circulation model above. This script contains information on how to run the atmospheric model and several hints useful to do this homework.
a) Load the true dispersion data at t=100 (http://ocean3d.org/eas-8803/hw/03- hw/pattern1.dat ). Generate synthetic observations by adding random measurements error (the noise). The error must be normally distributed with zero mean and a signal to noise ratio of 5. Use least squares and the synthetic observations to estimate the location of the point source/sources att = 0. Make a plot of your estimate of the dispersion pattern att = 0 and t = 100. Compare the pattern at t=100 with the true and the observed. Label the approximate location of the sources for t=0. Write down what cost function and weights you used for the least square estimate. Write on the title of the figure the value of the cost function and of the spatial correlation between your estimate ofT 100 and the truth. Compute the uncertainty associated with your estimate att = 0. Explore and discuss how your results change with different definition of the weights in the cost function.
(HINT: from the picture in class you know that even though true sources may have amplitude of 5 the reconstructed one appear more like a smoothed version with typical size of 0.5, you may want to use this information when you pick your weights. I also suggest you repeat the fit at least 4 times with different realization of the random noise.)
b) Repeat (a) but change the signal to noise ratio to 1. Can you still retrieve the approximate location of the source/sources? If your cost function J followed a Chi-square distribution what would be its expected value? Can you confirm if the model is satisfactory and consistent with the data?
(HINT: To perform the Chi-square test you need to repeat the least square fit several times eg. 20 times. Each time add a different realization of the random noise.)
Load true dispersion data at t=100 for a different set of sources (http://ocean3d.org/eas- 8803/hw/03-hw/pattern2.dat ). Generate synthetic observations by adding random measurements error (the noise) with signal to noise ratio of 1 (as in the previous case). You are told that there is only one source and that there are no sources within 2 grid points along the boundary of the model domain. Estimate the location of the source and evaluate if the model is consistent with the data. What happens if you make the weights of your model- observation misfit artificially large? Does it make it easier to isolate the source/sources?
Load true dispersion data at t=100 for a different set of sources (http://ocean3d.org/eas- 8803/hw/03-hw/pattern3.dat ). Generate synthetic observations by adding random measurements error (the noise) with signal to noise ratio of 1. Now you are told that there are for sure two sources of different intensity located at point A (i=9:10 j=7:8) and source B (i=23:24 j=21:22). Again there are no sources along the boundary. Determine which source is likely to be bigger based on the correlation coefficient, check also the value of your cost function. Could you do this problem without knowing the two location before hand? Discuss your results.