2012 Moazezi
2012 Moazezi
DOI 10.1007/s12145-012-0102-2
SOFTWARE ARTICLE
Received: 31 October 2011 / Accepted: 25 May 2012 / Published online: 10 June 2012
© Springer-Verlag 2012
Abstract The Global Geopotential Models (GGMs) geodetic parameters such as geoid undulations, height
are very significant because of their usefulness in de- anomalies, gravity disturbances, classical gravity anom-
termination of the parameters like geoidal undulations, alies, deflection of the vertical, gravity gradients, dis-
height anomalies, gravity anomalies, and so on. In this turbance potential gradients, and so on (Rapp 1982;
paper, first, we review the calculation of such parame- Zhu 2007; Barthelms 2009). There are different meth-
ters and then present the GGMCalc software, which ods to determine the geodetic parameters from geopo-
is prepared in Fortran 95 under GNU/Linux Operat- tential models. Rapp (1982) proposed a software in
ing System. This software is capable of using the files Fortran to calculate the geodetic parameters using the
presented by the International Center for Global Earth geopotential models which can be used for low de-
Models (ICGEM) directly without need to apply any gree geopotential models. Tscherning presented the
changes on them. The software is completely structural GRAVSOFT program GEOCOL in Fortran which
and user friendly and could be used conveniently for can determine some geodetic parameters by using the
academic purposes. geopotential models with high degrees (Tscherning
et al. 1992; Nielsen et al. 2012). Casotto and Fantino
Keywords Geopotential model · Iteration method · (2007) evaluated the models for spherical harmonic
Geoid undulation · Height anomaly · Gravity anomaly synthesis of gravitational potential and its gradients
via comparison of four methods. Kiamehr and Eshagh
(2008) present the EGMlab software in Matlab which
Introduction determine the gravity and gradient components from
GGMs through evaluation of fully normalized asso-
Geopotential models are in fact the coefficients of ciated Legendre functions. Pavlis et al. (2008) pro-
the earth’s spherical harmonic expansion of gravity vide HARMONIC_SYNTH_WGS84 Fortran software
(Colombo 1981; Lemonie et al. 1998). Using the geopo- at http://earth-info.nga.mil/GandG/wgs84/gravitymod/
tential models, it is possible to calculate the gravity egm2008/egm08_wgs84.html which is written officially
potential of the earth. Thereby by obtaining the dis- for EGM2008 geopotential model to determine a wide
turbance potential, it is easier to determine different range of geodetic components. On the other hand,
Barthelms (2009) presented a sophisticated method
for determination the geoid undulation and the height
Communicated by: Hassan A. Babaie anomaly, using the iteration method, which was more
accurate than the previous ones. Here we introduce the
S. Moazezi (B) · H. Zomorrodian software, which is able to use directly all the files of the
Department of Geophysics, Science and Research Branch,
Islamic Azad University, Tehran, Iran GGMs that exist in ICGEM without any changes. In the
e-mail: [email protected] next section (Section “Theoretical fundaments”), we
H. Zomorrodian will discuss the fundamental concepts and mathemat-
e-mail: [email protected] ical formula necessary for preparing the software. In
124 Earth Sci Inform (2012) 5:123–136
Section “Design and implementation”, the description define the higher degrees of these coefficients as fol-
of the GGMCalc software is presented as design and lows (Moritz 1980):
implementation. Section “Comparing the results and √
3e2n 4n + 1
computing time of the program” contains the com- C̄2n = (−1)n
parison between the results obtained by the soft- (2n + 1) (2n + 3) (4n + 1)
ware and those obtained from the terrestrial data, √ C̄2
including the comparison of computing time and accu- × 1 − n − 5 5n 2 , (3)
e
racy of two software with the GGMCalc. The conclu-
sion is presented in Section “Conclusions”. The “soft- where e is the first eccentricity of the ellipsoid.
ware files, availability and requirements” section finally In the proposed Fortran program, the real and the
is presented in Section “Software files, availability normal potential functions for the heights above the
and requirements”. ellipsoid were designed. One can use
W(h, ϑ, λ)
N
GM max
a n
n
Theoretical fundaments = 1+ C̄nm cos mλ + S̄nm sin mλ
r(h) n=2
r(h) m=0
Spherical harmonic expansion of the real
and the normal potential × P̄nm (cos ϑ) , (4)
(Hofmann-Wellenhof and Moritz 2006), one can deter- computer calculation, and the time consuming calcula-
mine the normal gravity in different heights over the tion of the whole coefficients, it seems not to be the
ellipsoid by using best approach for a software. Therefore the recursive
method presented by Colombo (1981), and also by
2 3 Holmes and Featherstone (2002), and corresponding
γ (h, φ) = γ0 1 − 1 + f + m − 2 f sin2 φ h + 2 h2 ,
a a Clenshaw formulas were applied. These formulas are
accurate enough and need the small amount of com-
(6)
puting time.
where h is the ellipsoidal height in observation point, The recursive formula for calculation of non-
flattening f is sectorial P̄nm (t) for n > m is
r where,
(2n − 2k)!
· (−1)k
tn−m−2k ,
k! (n − k)! (n − m − 2k)! u = sin ϑ
k=0
s0 = qn C̄nm1 P̄nm (t) cos(mλ) of (1 − g/γ ), which is in the order of 10−4 or smaller
m=0 n=m (Barthelms 2009), so one can write:
Nmax
1
+ q C̄nm2 P̄nm (t) sin(mλ) ,
n
(18) Ni+1 (ϑ, λ) = Ni (ϑ, λ) + [W(Ni , ϑ, λ) − U 0 ] .
n=m γ (0, ϑ)
and by applying the true and the normal potentials, case, the geoid undulation N should be formerly deter-
one can continue the iteration procedure as long as one mined. One can calculate the classic gravity anomaly as
achieves an arbitrary precision and obtains follows:
ζi − ζi−1 ≤ ε, (30)
g(ϑ, λ)
where ε is the arbitrary calculation precision for the
height anomaly. The flowchart of this approach is = [Wu (N, ϑ, λ)]2 + [Wv (N, ϑ, λ)]2 + [Ww (N, ϑ, λ)]2
shown in Fig. 1.
− [U u (0, ϑ, λ)]2 + [U v (0, ϑ, λ)]2 + [U w (0, ϑ, λ)]2 ,
Calculation of the gravity anomaly
(32)
Gravity anomaly g is the magnitude of downward
continued gravity acceleration |∇W| on the geoid mi-
where Wu , Wv , Ww and U u , U v , U w are respectively the
nus the normal gravity |∇U| on the ellipsoid at the
partial derivative of the true gravity potential and the
same polar distance ϑ and the ellipsoidal longitude λ
partial derivative of the normal gravity in direction of
(Hofmann-Wellenhof and Moritz 2006):
u, v, w (Barthelms 2009).
g(ϑ, λ) = |∇W(N, ϑ, λ)| − |∇U(0, ϑ)| (31) Using following relation:
one can write the Eq. 32 as follows: The software is able to use height, bathymetry, and ice
thickness of each point, separately to apply the correc-
. ∂ |∇U(ϑ)| tion, by Eq. 26 for calculation of the undulations. The
g(ϑ, λ) = |∇W(N, ϑ, λ)| − |∇U(N, ϑ)| + N · .
∂h h=0 output file contains the obtained results. In addition
(34) to the mentioned output data, the program produces
a report containing the used coefficients and the kind
Barthelms (2009) has justified that the downward- of input data (the ellipsoidal or orthometric heights).
continuation in Eq. 34 can be used safely with accept- These will be presented in a file with “.log” extension.
able errors for computation of the gravity potential at The software is completely structural and user friendly
zero level. and is simply utilizable for academic purposes. Input
In the second approach, the gravity disturbance at and output data files with standard ASCII formatting
the surface of the Earth can be used to obtain the are used for this software.
gravity values, then by using these gravity values one The Fortran subroutines and/or Fortran functions
can determine the classic gravity values at zero level as written in this program are as follows.
follows:
∂γ Fortran subroutine to calculate the true potential
g(ϑ, λ) = g(h, ϑ, λ) − (h − N) − γ (0, ϑ, λ), (35)
∂h and its derivatives
where,
According to the Eq. 4 and the Eq. 16 a subroutine for
g(h, ϑ, λ) = δg(h, ϑ, λ) + γ (h, ϑ, λ). (36) determination of the true gravity potential and its deriv-
In the third approach, Molodensky definition can be atives is written. Its input parameters are as follows:
used to obtain gravity anomalies using pre-obtained 1. λ, Geographic latitude of the studying point,
height anomalies as follows: 2. h, Height of the studying point,
g(ϑ, λ) = g(h, ϑ, λ) − γ (h − ζ, ϑ, λ), (37) 3. a, Mean radius of the earth obtained from geopo-
tential model,
4. Nmax , Maximum degrees of the geopotential model,
Design and implementation 5. vm obtained from Eq. 17
Table 2 Statistical comparison between three calculation method of the gravity anomalies with the obtained gravity anomalies from
terrestrial data (values in mGal)
Minimum Maximum Average Standard deviation
Classic gravity anomaly (Eq. 34) −153.528 187.625 17.943 28.013
Classic gravity anomaly (Eq. 35) −153.569 183.411 17.552 27.882
Molodensky gravity anomaly −154.413 183.354 17.393 27.907
Table 3 Statistical comparison between the results of the gravity anomalies obtained from the geopotential models and those of the
terrestrial data (values in mGal)
Model name Minimum Maximum Average Standard deviation
EGM96 −187.733 153.6878 −18.0278 28.02054
AIUB-GRACE03S −193.880 178.9482 −18.8012 34.28408
EIGEN-51C −234.753 144.3773 −17.8473 29.41016
GOCO02s −206.034 156.6280 −17.9557 32.00708
Table 4 Statistical comparison between the results of the geoid undulations obtained from the geopotential models and those of the
terrestrial data (values in m)
Model name Minimum Maximum Average Standard deviation
EGM96 0.920843 8.857550 3.835147 2.075677
AIUB-GRACE03S −1.754430 9.365241 3.59820 2.213486
EIGEN-51C −1.173080 8.863399 3.635566 2.106982
GOCO02s −1.093840 9.125303 3.570279 2.198840
Table 5 Statistical comparison between the results of the height anomalies obtained from the geopotential models and those of the
terrestrial data (values in m)
Model name Minimum Maximum Average Standard deviation
EGM96 0.812444 8.516727 3.602485 2.079347
AIUB-GRACE03S −1.845350 8.839260 3.364855 2.185882
EIGEN-51C −1.047610 8.512602 3.404861 2.106583
GOCO02s −1.196490 8.622317 3.338968 2.176817
(for instance, EGM96 model) and the results obtained gram and those from terrestrial measurements intro-
from the terrestrial data. Table 3 shows the maximum, duced in Table 4.
minimum, and the mean values as well as the stan-
dard deviations of the differences between the gravity
Comparing of the height anomalies
anomalies obtained from the program and those from
terrestrial measurements.
Height anomalies for the stations of the precise level-
ing network of the country are calculated as follows
Comparing of the undulations (Sjöberg 2010):
Table 6 Precision and computing time of obtained undulations by GGMCalc, GEOCOL, and HARMONIC_SYNTH_WGS84
software for the EGM2008 model
CPU Software name Time (sec) Minimum Maximum Average Std. dev.
Intel® Core™2Due T9300 2.5GHz GGMCalc (Precision = 1 mm) 1196.351 −1.842 8.283 2.854 2.107
GGMCalc (Iteration = 1) 411.209 −1.868 8.284 2.860 2.119
GGMCalc (Iteration = 2) 805.717 −1.842 8.283 2.854 2.107
GGMCalc (Iteration = 3) 1200.685 −1.842 8.283 2.854 2.107
GEOCOL 380.694 −1.628 8.282 2.831 2.121
H_S_WGS84 (GCC) 232.661 −1.104 8.682 3.286 2.112
H_S_WGS84 (Original) 2268.140 −22.511 24.946 1.119 9.958
Intel® Core™ i7–2600 K 3.4 GHz GGMCalc (Precision = 1 mm) 419.098 −1.842 8.283 2.854 2.107
GGMCalc (Iteration = 1) 145.903 −1.868 8.284 2.860 2.119
GGMCalc (Iteration = 2) 283.613 −1.842 8.283 2.854 2.107
GGMCalc (Iteration = 3) 421.353 −1.842 8.283 2.854 2.107
GEOCOL 431.286 −1.628 8.282 2.831 2.121
H_S_WGS84 (GCC) 139.981 −1.104 8.682 3.286 2.112
H_S_WGS84 (Original) 129 8.287 −22.511 24.946 1.119 9.958
Earth Sci Inform (2012) 5:123–136 135
Figure 7 shows the results of GGMCalc for the is the advantage and innovation of this program. The
height anomalies and Fig. 8 shows the differences computing time of the GGMCalc with three iterations
between the height anomalies calculated by the pro- for undulation showed that the software has a good
gram for EGM96 model and the results obtained from efficiency. Furthermore, the software is structural and
the terrestrial data. The maximum, minimum, and the user friendly, and can be simply applied for academic
mean values as well as the standard deviations of purposes.
the differences between the height anomalies obtained
from the program and those from terrestrial measure-
ments are introduced in Table 5.
Software files, availability and requirements
Comparing of the computing time
GGMCalc is a non-commercial software under the
GNU Public License, version 3 (GPL v.3) for academic
Table 6 shows computing time and precision of calcula-
purposes. All software files including sample input files
tion of obtained undulations by GGMCalc, GEOCOL,
are available at http://sourceforge.net/projects/xgravity.
and HARMONIC_SYNTH_WGS84 software for the
Source codes can be compiled by using gfortran com-
EGM2008 model. The precision of each software is
piler as a part of GCC under GNU/Linux. At least, a
shown by statistical comparison between the results
1GHz dual-core CPU is recommended for implemen-
of the software and those of the terrestrial data. In
tation. Needed memory depends on degree and order
this comparison, GGMCalc is running in four condi-
of the used GGM as well as the number of calculating
tions such as with 1mm precision, 1 iteration, 2, and
points, but in general, 512MB RAM is recommended
3 iterations. These three software are compiled by
for usual usages.
GCC in 64-bit GNU/Linux. Furthermore, the origi-
nal version of HARMONIC_SYNTH_WGS84 which
is presented in its official site is used in comparison. Acknowledgements We would like to express our apprecia-
The comparisons are performed through running of tion to Prof. Carl Christian Tscherning for kindly providing the
GRAVSOFT package for us. We are indebted to Prof. Hassan
each three mentioned software on two kinds of CPU A. Babaie for significant helps and three reviewers for valuable
(Intel® Core™2Due T9300 2.5GHz with 4GB RAM suggestions and comments to improve of this paper. We are
and Intel® Core™ i7-2600K 3.4GHz with 8GB RAM). grateful to the Bureau Gravimetrique International (BGI) for
providing the gravity data used in this study. Finally, we are
appreciative to Mrs. Farahnaz Moazezi for the English review of
this paper.
Conclusions
Colombo O (1981) Numerical methods for harmonic analysis on measurements to present an optimum geopotential model
the sphere, Report no 310. Dept. of Geodetic Science and for Iran. M.Sc. Thesis, Science and Research Branch, Islamic
Surveying, The Ohio State University Azad University, Tehran, Iran, p. 131
Förste C, Flechtner F, Schmidt R, Stubenvoll R, Rothacher Moritz H (1980) Geodetic reference system 1980. J Geod
M, Kusche J, Neumayer KH, Biancale R, Lemoine JM, 54(3):395–405
Barthelmes F, Bruinsma J, Koenig R, Meyer U (2008) Nielsen J, Tscherning CC, Jansson TRN, Forsberg R (2012)
EIGEN-GL05C—a new global combined high-resolution Development and User Testing of a Python Interface to
GRACE-based gravity field model of the GFZ-GRGS the GRAVSOFT Gravity Field Programs. In: Geodesy for
cooperration. Genral Assembln European Geosciences Planet Earth: Proceedings of the 2009 IAG Symposium,
Union Buenos Aires, Argentina, 31 August–4 September 2009,
Goiginger H, Höck E, Rieser D, Mayer-Gürr T, Maier A, Krauss pp 443–449. doi:10.1007/978-3-642-20338-1_53
S, Pail R, Fecher T, Gruber T, Brockmann JM, Krasbutter Pavlis NK, Holmes SA, Kenyon SC, Factor JK (2008) An earth
I, Schuh W-D, Jäggi A, Prange L, Hausleitner W, Baur O, gravitational model to degree 2160: EGM2008. Presented
Kusche J (2011) The combined satellite-only global gravity at the 2008 General Assmbly of the European Geosciences
field model GOCO02S. Presented at General Assembly of Union, Vienna, Austria
the European Geosciences Union, Vienna, Austria Rapp RH (1982) A fortran program for the computaion of gravi-
Hofmann-Wellenhof B, Moritz H (2006) Physical geodesy, 2nd metric quantities for high degree spherical harmonic expan-
Edition. Springer-Verlag, Wien, New York, p 403 sion, Report no 334. Dept. of Geodetic Science and Survey-
Holmes SA, Featherstone WE (2002) A unified approach to the ing, The Ohio State University, Columbus
Clenshaw summation and the recursive computation of very Sjöberg LE (2010) A strict formula for geoid-to-quasigeoid sepa-
high degree and order normalised associated legendre func- ration. J Geod 84:699–702
tions. J Geod 76(5):279–299 Tapley B, Ries J, Bettadpur S, Chambers D, Cheng M, Condi
Kiamehr, R., Eshagh, M. (2008) EGMlab, a scientific software F, Poole S (2007) The GGM03 mean earth gravity model
for determining the gravity and gradient components from from GRACE. Eos Trans. AGU, 88(52), Fall Meet. Suppl.,
global geopotential models. Earth Sci Inform 1:93–103 Abstract G42A-03.
Lemonie FG, Kenyon SC, Factor JK, Trimmer RG, Pavlis NK, Tscherning CC, Poder K (1982) Some geodetic applications of
Chinn DS, Cox CM, Klosko SM, Luthcke SB, Torrence clenshaw summation. Boll Geod Sci Affini 4:351–364
MH, Wang YM, Williamson RG, Pavlis EC, Rapp RH, Tscherning CC, Forsberg R, Knudsen P (1992) The GRAVSOFT
Olson TR (1998) The development of the joint NASA package for geoid determination. In: Proc. 1. continental
GSFC and the National Imagery and Mapping Agency workshop on the geoid in Europe, Prague, May 1992. Re-
(NIMA) geopotential model EGM96, NASA Technical search Institute of Geodesy, Topography and Cartography,
Paper NASA/TP1998206861. Goddard Space Flight Center, Prague, pp 327–334
Greenbelt, USA Zhu L (2007) Gradient modelling with gravity and DEM, Report
Moazezi S (2010) Comparison the components of five global no 483. Dept. of Geodetic Science and Surveying, The Ohio
geopotential models with those of the terrestrial gravity State University, Columbus