-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGrace_report_by_Raghvendra_Vaibhav_Kshitj.tex
440 lines (341 loc) · 25.2 KB
/
Grace_report_by_Raghvendra_Vaibhav_Kshitj.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
\documentclass[a4paper,12pt]{report}
\usepackage{mathtools}
\usepackage{graphicx}
\graphicspath{ {/home/vaibhav/Documents/Images/} }
\newcommand\tab[1][1cm]{\hspace*{#1}}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{titling}
\pretitle{%
\begin{center}
\LARGE
\includegraphics[scale=0.37]{Cover}\\[\bigskipamount]
}
\posttitle{\end{center}}
\title{\centerline{\textbf{Stochastic Filtering of}} \centerline{\textbf{GRACE Mission Data}}}
\author{Vaibhav Yadav, Kshitij Khanna, Raghvendra Singh}
\date{\today}
\begin{document}
\maketitle
\chapter*{Abstract}
The GRACE misssion first was first launched in 2002. The GRACE satellites provide us the raw data which is processed and the spherical harmonics coefficients which we use for the gravity field estimations, are obtained. Initially, this data was assumed to be of high accurcay, but later it was found to contain huge amount of noises which leads to faulty estimations of gravity fields.\\
In this project, we are investigating the Stochastic filtering technique to minimize the noises.
The central idea behind these filters is the moving weighted averaging using weighting windows
defined on the sphere. The filter functions belong to a broad class of functions called the two-point
functions, similar to the covariance functions (Refer Appendix section 1 for details).
\tableofcontents
\newpage
\chapter{Introduction to GRACE Mission}
The Gravity Recovery and Climate Experiment (GRACE) satellite mission was launched
on the 17$^{th}$ of March in 2002 as a joint partnership between the National Aeronautics
and Space Administration (NASA) and the Deutsches Zentrum für Luft- und Raumfahrt
(DLR). Furthermore, it is the second mission under the NASA Earth System Science
Pathfinder (ESSP) program.
As variations in the gravity field impacts on both satellites at different times, such
deviations cause a change in the inter-satellite range, which is measured with very high
accuracy from the K-band measurement unit. The measured inter-satellite range can
be transformed into changes in the Earth’s gravity field (Han, 2003), which is described
with the Stokes coefficients $C_{lm}$ and $S_{lm}$.
The GRACE mission was selected as the second mission under the NASA Earth System Science Pathfinder (ESSP) Program in May 1997.The GRACE mission is accurately mapping variations in Earth's gravity field. Designed for a nominal mission lifetime of five years, GRACE is currently operating in an extended mission phase, which is expected to continue through at least 2019.
GRACE consists of two identical spacecraft that fly about 220 kilometers (137 miles) apart in a polar orbit 500 kilometers (310 miles) above Earth. GRACE maps Earth's gravity field by making accurate measurements of the distance between the two satellites, using GPS and a microwave ranging system. It is providing scientists from all over the world with an efficient and cost-effective way to map Earth's gravity field with unprecedented accuracy. The results from this mission are yielding crucial information about the distribution and flow of mass within Earth and its surroundings.
The gravity variations studied by GRACE include: changes due to surface and deep currents in the ocean; runoff and ground water storage on land masses; exchanges between ice sheets or glaciers and the ocean; and variations of mass within Earth. Another goal of the mission is to create a better profile of Earth's atmosphere. GRACE results are making a huge contribution to the goals of NASA's Science Mission Directorate, Earth Observation System (EOS) and global climate change studies.
\begin{figure}[!h]
\centering
\includegraphics[scale=0.6]{Grace}
\caption{As the satellites orbit Earth, one following the other, these moving masses alter the gravitational pull below them, changing the distance between them very slightly %\newline %
\textit{(Credit: NASA/JPL-Caltech )}%
}
\label{fig:GRACE}
\end{figure}
%\\
A simplified example of how the distance between the GRACE satellites changes as they pass from the Caribbean Sea across Colombia and Peru (which have higher mass than the oceans) to the Pacific Ocean.
\begin{itemize}
\item[Panel 1:] When both spacecraft are over the ocean, the distance between them is relatively constant.
\item[Panel 2:] When the leading spacecraft encounters land, the land's higher gravity pulls it away from the trailing spacecraft, which is still over water.
\item[Panel 3:] Once the second satellite also encounters the land, it too is pulled toward the higher mass and consequently toward the leading spacecraft. As the lead spacecraft moves past the denser land mass, it is pulled back slightly by the higher gravity of the land.
\item[Panel 4:] When both spacecraft are over water again, the trailing spacecraft is slowed by land before returning to its original distance behind the leading spacecraft.
\end{itemize}
%\newpage
\chapter{Potential Fields}
\begin{itemize}
\item They are conservative (path independent fields) in nature.
\item They are harmonic in nature beacause they satisfy the Laplace equation.
\end{itemize}
\section{Harmonics} Those fields which follow some physical phenomenon are harmonic in nature. They are nothing but solution of Laplace equation i.e.
\begin {equation}
\nabla ^2V(r,\theta ,\varphi) = \left( {\underbrace {\frac{\partial ^2V }{\partial r^2} +
\frac{2}{r}\frac{\partial V }{\partial
r}}_{\frac{1}{^{r^2}}\frac{\partial }{\partial r}\left( {r^2\frac{\partial
V }{\partial r}} \right)} + \frac{1}{r^2\sin \theta }\frac{\partial
}{\partial \theta }\left( {\sin \theta \frac{\partial V }{\partial \theta
}} \right) + \frac{1}{r^2\sin ^2\theta }\frac{\partial ^2V }{\partial
\varphi ^2}} \right)
\end{equation}
\begin {equation}
\nabla ^2V(r,\theta ,\varphi) = 0
\end{equation}
\paragraph{Basic Question:} How do we arrive at this equation??
we have our gravitational potential .i.e. $V(\phi,\lambda,r)$
Gravitational Force is derivative of V and derivative of Gravitational Force should be equal to zero and this gives us the following Homogeneous 2nd degree Partial Differential Equation .i.e
\[ \left( \frac{\partial^2 V}{\partial x^2}
+ \frac{\partial^2 V}{\partial y^2}
+ \frac{\partial^2 V}{\partial z^2} \right)=0 \]
This Homogeneous PDE can be solved by method of Variable Separation. This equation is transformed into spherical co-ordinates and the solution of this equation is Spherical Harmonics i.e.
\begin{equation}
V(\phi,\lambda,r)=\frac{GM}{R}\sum_{l=0}^{\infty} \left(\frac{R}{r}\right)^{l+1}\sum_{m=0}^{l} \widetilde{P}_{lm}(\cos\theta)(\widetilde{C}_{lm}\cos m\lambda + \widetilde{S}_{lm}\sin m\lambda)
\end{equation}
\section{Important Functions}
In the given equation $P_{lm}$ is Assosiated Legendre function and the accompanying combination of sine and cosine functions form the Fourier series. So, by looking at this simplified equation of gravity field, one can deduce that the gravity fields is combination of Legendre and Trigonometric functions.
These functions i.e. Legendre and Trigonometric functions which are also known as Fourier series are Orthogonal to each other. This is the property which helps in Stochastic filtering of raw data in the form of coefficients$ S_{lm}$ and $C_{lm} $which are discussed in the following section:
\section{Spherical Harmonic Coefficients}
Here, the appearing $C_{lm}$ and $S_{lm}$ coefficients are the raw data which we get after refining process of original data which we get from the satellite. But this data contains sometimes huge amount of noises because of several other factors. Stochastic filtering is basically the process of minimizing this noise from the data. For this, we use this Method of Least Squares for minimization of noise.
Based upon the direction, there are generally two processes which we carry out:
\newpage
\subsection{Analysis} In equation(2.3), calculation the stochastic coefficients $C_{lm} $ and $S_{lm}$ utilizing the gravity field data i.e. $V(\phi,\lambda,r)$ is known as analysis.
\subsection{Synthesis} This the exact opposite process of Analysis. Here, the spherical harmonic coefficients i.e. $C_{lm} $ and $S_{lm}$ are given and the field values i.e. $V(\phi,\lambda,r)$ are obtained.So, here we are performing synthesis in this work. \\
\centerline{
$\mathrm{V(\phi,\lambda,r)} \xrightleftharpoons[Synthesis]{Analysis} \mathrm{C_{lm}, S_{lm}}$
}
\newpage
\chapter{Least Squares}
Equation (3.3) is a linear equation and we solve it by Least Squares Method
Now, we can further simplify our equation as follows:
\begin{equation}
V(\phi,\lambda,r)=\frac{GM}{r}\sum_{l,m}^{} \left(\frac{R}{r}\right)^{l+1}\sum_{j=c,s}^{} Y_{lmj} (\phi,\lambda) V_{lmj}
\end{equation}
where, \\
when j=c \centerline{$Y_{lm}(\phi,\lambda)= P_{lm}(cos\theta) cosm\lambda $}\\
when j=s \centerline{$Y_{lm} (\phi,\lambda)= P_{lm}(cos\theta) sinm\lambda$
}
\\
and the $K_{lm}$ is the vector containing the coefficients $ C_{lm}$ and $ S_{lm}$
\\
So, the above equation can be estimated as simple vector equation as follows:
\begin{equation}
\mathbf{L} = \mathbf{Ax}
\end{equation}
where, A is known as the design matrix
From least squares method, we know the solution of the above equation:
\begin{equation}
\tilde{x} =(A^T A)^{-1} A^T L
\end{equation}
let $ Q_{ll}$ be the dispersion operator of L i.e. $D\{L\}=Q_{ll}$
then,
\begin{equation}
\bar{x} =(A^T Q_{ll}^{-1} A)^{-1} A^T Q_{ll}^{-1} L
\end{equation}
we can further improve our results by constraining the solution with prior information
and the results for that are as follows:
we have,
\begin{equation}
Q_{\tilde{x}\tilde{x}} = (A^T Q_{ll}^{-1} A)^{-1}
\end{equation}
let the filtered x be $\widetilde{X}$
so,
\begin{equation}
\widetilde{X}= {\Bigg( {Q_{\tilde{x}\tilde{x}}}^{-1} + \frac{\lambda^T}{2}{Q_{xx}}^{-1} \Bigg)}^{-1} {Q_{\tilde{x} \tilde{x}}}^{-1} \tilde{x}
\end{equation}
\\
here,we get $ {Q_{\tilde{x}\tilde{x}}}$ after the Spherical Harmonic Analysis of covarience matrix.
And $Q_{xx} $ we know from experience.
%\newpage
\chapter{Spherical Harmonic Synthesis}
First of all, we performed Spherical Harmonic Synthesis for the following two cases:
\section{Single Point}
Here, Extracting $K_{lm}$ from the sample data given in the SHBundle software we wrote the matlab code to get the gravity field at any point of our choice.
The results were comparable to the original gravity field for R=6400 which is the radius of the earth.
\section{Grid of Points}
After writing the code for single point we wrote the code for the whole globe by dividing the globe into grid of 360*180 with the gap of pi/180 between each of the grid point.
and we observed that field had basically three bands and there were other little variations in between these bigger bands. The results were as expected, the major three bands should come out as the gravitational fields near the poles is different from the gravitational fields near the equator. and there is a gradual pattern of field from north pole to equator and similarly from equator to south pole as the mass of earth varies in the same way.\\
\begin{figure}[!h]
% \advance\leftskip-3cm
\centering
\includegraphics[width=0.96\linewidth]{Normal_grid}
\caption{Normal Gravity Field Potential}
\end{figure}
\section{Implementation of program for finding Normal Gravity Field Potential:}
\begin{description}
\item[$\bullet$] First, specify values to all the constants.
\item[$\bullet$] Read the input i.e. $K_{lm}$ matrix from the data file.
\item[$\bullet$] Compute the field values for all the grid points utilising the Plm function to calculate the values of Legendre function applying loops.
\item[$\bullet$] Now we can plot the Gravitational field values.
\item[$\bullet$]Functions used for implementation of above process are mentioned in section 2 of Appendix.
\end{description}
\newpage
\chapter{Disturbance Field}
\section{Geoid}
The \textbf{geoid} is defined as equipotential surface of the earth’s gravity field, which coincides with the mean sea level of the oceans. This definition assumes the water masses to be temporally invariant and only affected by the gravity. Thus it can be imagined as surface of the idealized oceans which is continued underneath the continents. According to Gauss-Listing, it is defined as the equipotential surface of the Earth’s gravity field which best fits, in a least squares sense, global mean sea level. This is actually the adopted definition of the National Geodetic Survey (NGS).\\
\section{Normal Field}
It is obvious, that this definition makes an exact analytical mathematical description of the geoid nearly impossible. Therefore, a new surface is invented, the so called \textbf{normal field}. This field is an ellipsoidal approximation to the real gravity field. It is usually described through 4 parameters:
\begin{description}
\item[$\bullet$]Semi major axis $a$
\item[$\bullet$]Flattening $f=\frac{a-b}{a}$
\item[$\bullet$]Potential at the surface of the field $U_0$
\item[$\bullet$]Angular velocity $\omega$
\end{description}
Depending on the application, there are many different realizations of such a normal field. For global tasks, one would choose an ellipsoid which approximates the real geoid
best, whereas for local applications, an ellipsoid is chosen which optimally approximates the geoid in a local area.\\
\section{Disturbing Potential}
The potential that deviates from the normal potential is called \textbf{disturbing potential}. In other words, the gravity potential can be described using the normal potential with
potential deviations from W treated as disturbances:
\begin{equation}
W=U+T
\end{equation}
\\\\where
\\$W$\tab Full gravity potential
\\$U$\tab Normal potential
\\$T$\tab Disturbing potential
\\\\As the normal potential is known, the next step is to describe the disturbing potential, which can be formulated in terms of the spherical harmonics as well:
\begin{equation}
T=\frac{GM}{R}\sum_{l=0}^{\infty} \left(\frac{R}{r}\right)^{l+1}\sum_{m=0}^{l} \widetilde{P}_{lm}(\cos\theta)(\Delta\widetilde{C}_{lm}\cos m\lambda + \Delta\widetilde{S}_{lm}\sin m\lambda)
\end{equation}
Here, $\Delta\widetilde{C}_{lm}$ and $\Delta\widetilde{S}_{lm}$ are defined as the difference between the coefficients of the real potential $\widetilde{C}_{lm}$ , $\widetilde{S}_{lm}$, which can be obtained by measuring the orbit pertubations of satelites, and the coefficients of the normal potential $\widetilde{c}_{lm}$ , $ \widetilde{s}_{lm}$.
This means that the normal-height, i.e. the metric distance between the geoid and
the normal-ellipsoid, is given through the quotient of the disturbing potential and the
normal potential at the computation point. A formula for the normal-heights in terms
of spherical harmonics is inserted into equation $(5.2)$:
\begin{equation}
N=\frac{GM}{\gamma R}\sum_{l=0}^{\infty} \left(\frac{R}{r}\right)^{l+1}\sum_{m=0}^{l} \widetilde{P}_{lm}(\cos\theta)(\Delta\widetilde{C}_{lm}\cos m\lambda + \Delta\widetilde{S}_{lm}\sin m\lambda)
\end{equation}
By knowing that $\gamma=\frac{GM}{r^2}$, and assuming that the computation point is on the surface of the earth, equation $(5.3)$ becomes
\begin{equation}
N=R\sum_{l=0}^{\infty}\sum_{m=0}^{l} \widetilde{P}_{lm}(\cos\theta)(\Delta\widetilde{C}_{lm}\cos m\lambda + \Delta\widetilde{S}_{lm}\sin m\lambda)
\end{equation}
With this equation we have the possibility to compute a complete geoid model only from
the spherical harmonic coefficients $\widetilde{C}_{lm}$ and $\widetilde{S}_{lm}$.\\\\\\
\textbf{In simple words,}
\\The actual shape of the Earth is a geoid. To study about the various features of the earth, the shape of the Earth is best approximated by an ellipse.
\\The study of the small changes happening in the gravitational potential of the Earth is done by studying disturbance field which is obtained by substracting the ellipsoidal shape from the actual geoid shape of the Earth.\\\\
\section{Implementation of the program for finding Disturbance Potential of the Earth}
\begin{description}
\item[$\bullet$]We collected ITGS data of various years from April'02 to June'17 from the site:\\
\url{ftp://ftp.tugraz.at/outgoing/ITSG/GRACE/ITSG-Grace2016/monthly/monthly_n60}
\item[$\bullet$]Mean of all these monthly data is obtained
\item[$\bullet$]From one of the monthly data this mean is substracted. This gives the disturbance field of that month
\item[$\bullet$]Similarly disturbance fields for all the months of a particular year is obtained and plotted on world map
\item[$\bullet$]Functions used for implementation of above process are mentioned in section 3 of Appendix.
\end{description}
\begin{figure}
\advance\leftskip-3cm
\includegraphics[scale=0.17]{All}
\caption{Plot for Disturbing Potential of every month of the year 2010}
\end{figure}
\chapter{Analysis in spectral domain}
From Grace we get a set of real-valued SH-coefficients, complete to maximum degree $L$
$C_{lm}$ coefficients as matrix in the form\\
\[
\begin{bmatrix}
l_{11} & m_{12} & C_{13} & S_{1n} \\
l_{21} & m_{22} & C_{23} & S_{2n} \\
%\hdotsfor{4} \\
\ldots & \ldots & \ldots & \ldots \\
l_{d1} & m_{d2} & C_{d3} & S_{dn}
\end{bmatrix}
\]\\
% \[
% \,[l\quad m\quad C\quad S\quad [\,sigma_C\quad sigma_S]\,]
% \]
% write in matrix form using math mode
Using the function clm2sc we convert CLM format to SC format for further filtering analysis because it's easy to inspect error in SC format.
Then the SC-format stores the coefficients in the following $(L + 1)\times (2L + 1)$ matrix:\\
\[
\centering%
\begin{bmatrix}%
& & & & C_{00} & & & & \\
& \epsilon& & S_{11} & C_{10} &C_{11} & & \epsilon & \\
& & S_{22} & S_{21} & C_{20} & C_{21} & C_{22} & & \\
& &\vdots{} &\vdots{} & \vdots{} &\vdots{} &\vdots{} &\ddots & \\
S_{LL} &\cdots & S_{L2} & S_{L1} & C_{L0} & C_{L1} & C_{L2} &\cdots &C_{LL}
\end{bmatrix}%
\]\\
The upper left and right corners should be filled with zeros. For some \\ numerical purposes,
it could be handy though, to use a small number $epsilon$, e.g. $\epsilon = 10^{-20}$.
The name SC-format is chosen since the $S_{lm}$-coefficients are at the LHS and the $C_{lm}$-coefficients at the RHS of the matrix\\
\section{Implementation of the program for finding Triangular plot of $C_{lm}$ and $S_{lm}$:}
\begin{description}
\item[$\bullet$] The raw data matrix which contain columns corresponding to $l$ values, $m$ values, $C_{lm}$ and $S_{lm}$ is converted into SC-format as shown above.
\item[$\bullet$] Then this SC-format matrix in plotted using a degree versus order graph as shown in the figure (6.1).
\item[$\bullet$] Functions used for implementation of above process are mentioned in section 4 of Appendix.
\end{description}
%Using Sctriplot function SCTRIPLOT plots the triangles of SH coefficients stored in SC-format. If stored in CS format it is converted to SC-format before plotting.
%Plot the figure
% The sectorial and near sectorial terms above degree 60 are of a degraded quality as compared to other terms in all cases
\begin{figure}[!h]
\centering
\includegraphics[width=\linewidth]{SC}
\caption{Triangular plot of $C_{lm}$ and $S_{lm}$}
\newpage
\end{figure}
\newpage
\chapter{Spherical Harmonics}
\section{Visualising the spherical harmonics}
Visualising the spherical harmonics is a little tricky because they are complex and defined in terms of angular co-ordinates, ($\theta,\phi$).\\
One way is to plot the real part only on the unit sphere.We plotted it on
python using the $sph\_harm$ package available in $scipy$ module.
Following are the plots for corresponding l(degree) and m(order):
% plot the figures
Red area shows positive values while Blue area shows negative values.
\section{How to get mass changes from GRACE?}
In principle:\\
1) Get a program for spherical harmonic grid synthesis.\\
2) Download GRACE Release 5 (”best”) coefficients from CSR or GFZ \\(max degree 60) monthly solutions.\\
3) Make average geoid coefficients for a period, e.g. 2003-2012\\
4) Make coefficient differences to average ($\Delta C_{lm}, \Delta S_{lm}$)\\
5) Evaluate surface mass grids by , put in convenient units and Plot the disturbing field plot but before that it needs some filtering to remove noises in the data. \\
\chapter{Filtering}
So, here we are at primary objective of our project i.e. Filtering of raw GRACE Mission data. Actually, the raw data contains various noises which we try to minimize using suitable filters.
\\
Basically filtering is nothing but the weighted average of the raw data. But,we can also use mode or median instead of taking average.
\section{Terminologies}
\begin{description}
\item[$\bullet$]\textbf{Calculation Point: }This is the point in grid which is being filtered in a certain step or the point for which we are calculating the filtered (with minimized noise) field in a particular step.\\
\item[$\bullet$]\textbf{Data Points: }These are the remaining points of the grid which are contributing to field at calculation point as per the weights assigned to them.
\end{description}
\section{Objectives of Filtering and the things needs to be taken care of}
\begin{description}
\item[$\bullet$]To reduce the noise.
\item[$\bullet$]Assigning weights such that they help in retaining much of calculation point value or the originality of calculation point.
\item[$\bullet$]Normalization of weights.
\end{description}
\section{Overall Concept}
Here, at a certain step we are taking a calculation point then, we are calculating the weighted average as per the defined weight matrix, this is our filtered field value of this calculation point. In this way, we move our calculation point one by one to every point of grid and at the same time all the other points of grid as the data points.
\section{Covariance}
It is a measure of the joint variability of two random variables.The sign of the covariance shows the tendency in the linear relationship between the variables.
$$
{\displaystyle \operatorname {cov} (X,Y)=\operatorname {E} {{\big [}(X-\operatorname {E} [X])(Y-\operatorname {E} [Y]){\big ]}},}
$$
A covariance matrix, is a matrix whose element in the i, j position is the covariance between the i-th and j-th elements of a random vector.
Intuitively, the covariance matrix generalizes the notion of variance to multiple dimensions.
As an example, the variation in a collection of random points in two-dimensional space cannot be characterized fully by a single number, nor would the variances in the ${\displaystyle x}$ x and $ {\displaystyle y}$ y directions contain all of the necessary information; a ${\displaystyle 2\times 2}$ $ 2\times$ 2 matrix would be necessary to fully characterize the two-dimensional variation.
\begin{figure}[!h]
\advance\leftskip-3cm
\includegraphics[scale=0.43]{Filter}
\caption{cov(a,b) for two points a and b anywhere on the Earth}
\end{figure}
\chapter{APPENDIX}
\section{Two-Point Functions}
The weighting functions provide weights to the data
points on the sphere depending on the direction and distance of the data points with respect to the
point where the filter is located, called the calculation point. Since the provision of a weight requires
the knowledge of the calculation point and the data points, the weight functions, and eventually
the filter functions, are two-point functions.
\section{Functions from SHBundle used for obtaining Normal Gravity Field Potential}
\begin{itemize}
\item[Plm(l,m,$\theta$): ] This function is used to calculate the respective legendre functions for different values of degree, order and theta for different points.
\end{itemize}
\section{Functions from SHBundle used for obtaining Disturbance Potential}
\begin{itemize}
\item[clm2sc: ] Removing the header part, the raw klm matrix is obtained which contains four columns, $L, M, C_{lm}, S_{lm}$. This functions converts this matrix into a SC Triangle format
\item[sc2cs: ]The SC Triangle matrix obtained in above step is converted into CS Square matrix using this function. Now this square matrix contains data of one month in square matrix format.
\item[readitsg: ]Using this function, all the ITSG files downloaded from the above given URL are read at once and a matrix is generated.
\item[getgracemean: ]The matrix obtained in above step is sent as input to this function and it returns a sqaure matrix which is the average value of all the ITSG data.
\item[gshs\_: ]The difference matrix of data of one month and the mean data is sent as input to this function and in return this function returns a global field.
\item[mapfield: ]This function takes the global field obtained by gshs\_\\ function as input and plot it on the world map. This is how final disturbance field is plotted on a world map.
\end{itemize}
\section{Functions from SHBundle used for obtaining Triangular plot of $C_{lm}$ and $S_{lm}$}
\begin{itemize}
\item[clm2sc: ] The function takes input 3 arguments: (clm, max\_{lm}, 30), where\\clm is the raw data matrix of the form [$l$, $m$, $C_{lm}$, $S_{lm}$]\\max\_{lm} represents that only coefficients up to a degree = order = max\_lm are used. \\And in returns back the SC-format matrix.
\item[sctriplot: ] The function 2 inputs:\\Above generated SC-format matrix is taken as input; and\\Maximum degree of spherical harmonic expansion.\\Using these inputs the plots the degree versus order SC-triangle plot.
\end{itemize}
\end{document}