Abstract
When using column-wise recurrence formulae to compute modified normalized Legendre functions up to approximate degree and order 3200 in the IEEE double precision environment, the overflow problem occurs. In this paper, we analyze the causes of the overflow problem in detail. We analyze column-wise recurrence formulae for computing fully normalized associated Legendre functions (fnALFs), their first-order derivatives, and the definite integrals of \( \bar{P}_{nm} \left( {\cos \theta } \right)\sin \theta \). From our tests, we claim that if fully normalized column-wise recurrence formulae are applied, the computational accuracies of fnALFs and their first-order derivatives up to complete degree and order 64,800 can reach at least 10−11. The computational accuracies of fully normalized column-wise recurrence formulae for computing definite integrals of \( \bar{P}_{nm} \left( {\cos \theta } \right)\sin \theta \) are almost 10 times higher than those of the X-number method up to degree 6000. From the statistical results, the computational efficiency of fully normalized column-wise recurrence formulae for computing fnALFs and their first-order derivatives are almost 1.5 times faster than those of the X-number method, and approximately 15–22% faster than those of the dynamical switching X-number method. However, the computational efficiency of definite integrals is slower than that of the X-number method and dynamical switching X-number method.
Similar content being viewed by others
Data availability
The datasets analyzed during the current study are available from https://doi.org/10.1007/s00190-011-0519-2 and http://edisk.cvt.stuba.sk/~xbuchab/.
References
Balmino G, Vales N, Bonvalot S, Briais A (2011) Spherical harmonic modelling to ultra-high degree of Bouguer and isostatic anomalies. J Geodesy 86:499–520. https://doi.org/10.1007/s00190-011-0533-4
Belikov MV (1991) Spherical harmonic analysis and synthesis with the use of column-wise recurrence relations. Manuscr Geod 16:384–410
Belikov MV, Taybatorov KA (1992) An efficient algorithm for computing the Earth’s gravitational potential and its derivatives at satellite altitudes. Manuscr Geod 17:104–116
Bettadpur SV (1995) Hotine’s geopotential formulation: revisited. Bull Géodésique 69:135–142
Bucha B, Janák J (2013) A MATLAB-based graphical user interface program for computing functionals of the geopotential up to ultra-high degrees and orders. Comput Geosci 56:186–196. https://doi.org/10.1016/j.cageo.2013.03.012
Cheong H-B (2000) Double Fourier series on a sphere: applications to elliptic and vorticity equations. J Comput Phys 157:327–349. https://doi.org/10.1006/jcph.1999.6385
Colombo O (1981) Numerical methods for harmonic analysis on the sphere. Report No. 310, The Ohio State University, Columbus Ohio, pp 147
Cunningham LE (1970) On the computation of the spherical harmonic terms needed during the numerical integration of the orbital motion of an artificial satellite. Celest Mech 2:207–216
Dmitrenko A (2012) Modern transformation of determination the geoid. Mineral, Krivoy Rog, p 218. ISBN 978-966-72-4 (in Russian)
Fantino E, Casotto S (2009) Methods of harmonic synthesis for global geopotential models and their first-, second- and third-order gradients. J Geodesy 83:595–619. https://doi.org/10.1007/s00190-008-0275-0
Fukushima T (2012a) Numerical computation of spherical harmonics of arbitrary degree and order by extending exponent of floating point numbers. J Geodesy 86:271–285. https://doi.org/10.1007/s00190-011-0519-2
Fukushima T (2012b) Numerical computation of spherical harmonics of arbitrary degree and order by extending exponent of floating point numbers: II first-, second-, and third-order derivatives. J Geodesy 86:1019–1028. https://doi.org/10.1007/s00190-012-0561-8
Fukushima T (2014) Numerical computation of spherical harmonics of arbitrary degree and order by extending exponent of floating point numbers: III integral. Comput Geosci 63:17–21. https://doi.org/10.1016/j.cageo.2013.10.010
Fukushima T (2016) Numerical computation of point values, derivatives, and integrals of associated legendre function of the first kind and point values and derivatives of oblate spheroidal harmonics of the second kind of high degree and order. Proc IAG Symp 143:193–197. https://doi.org/10.1007/1345_2015_124
Gleason DM (1985) Partial sums of Legendre series via Clenshaw summation. Manuscr Geod 10:15
Gruber C, Novák P, Sebera J (2011) FFT-based high-performance spherical harmonic transformation. Stud Geophys Geod 55:489
Hirt C, Rexer M (2015) Earth 2014: 1 arc-min shape, topography, bedrock and ice-sheet models—available as gridded data and degree-10,800 spherical harmonics. Int J Appl Earth Obs Geoinf 39:103–112. https://doi.org/10.1016/j.jag.2015.03.001
Hirt C, Bucha B, Meng Y et al (2019) A numerical study of residual terrain modelling (RTM) techniques and the harmonic correction using ultra-high-degree spectral gravity modelling. J Geodesy. https://doi.org/10.1007/s00190-019-01261-x
Hofmann-Wellenhof B, Moritz H (2005) Physical geodesy. Springer, New York
Hofsommer DJ, Potters ML (1960) Table of Fourier coefficients of associated legendre functions. Indag Math Proc 63:460–480. https://doi.org/10.1016/s1385-7258(60)50058-8
Holmes SA, Featherstone WE (2002) A unified approach to the Clenshaw summation and the recursive computation of very high degree and order normalised associated Legendre functions. J Geodesy 76:279–299. https://doi.org/10.1007/s00190-002-0216-2
Jekeli C, Lee JK, Kwon JH (2007) On the computation and approximation of ultra-high-degree spherical harmonic series. J Geodesy 81:603–615
Koop R, Stelpstra D (1989) On the computation of the gravitational potential and its first and second order derivatives. Manuscripta Geodaetica 14:373–382
Liu ZW, Liu SH, Huang O (2011) Scale factors in recursion of ultra-high degree and order Legendre functions and Horner’s scheme of summation. Acta Geodaetic et Cartographica Sinica 40(4):454–458 (in Chinese)
Métris G, Xu J, Wytrzyszczak I (1998) Derivatives of the gravity potential with respect to rectangular coordinates. Celest Mech Dyn Astron 71:137–151
Novikova E, Dmitrenko A (2016) Problems and methods of calculating the Legendre functions of arbitrary degree and order. Geod Cartogr 65:283–312. https://doi.org/10.1515/geocart-2016-0017
Paul MK (1978) Recurrence relations for integrals of associated Legendre functions. Bull Géodésique 52:177–190
Pavlis NK, Holmes SA, Kenyon SC, Factor JK (2012) The development and evaluation of the earth gravitational model 2008 (EGM2008). J Geophys Res Solid Earth. https://doi.org/10.1029/2011jb008916
Peng FQ, Xia ZR (2004) Algorithms for computing ultra-high-degree disturbing geopotential elements. Chin J Geophys 47(6):1023–1028 (in Chinese)
Petrovskaya MS, Vershkov AN (2010) Construction of spherical harmonic series for the potential derivatives of arbitrary orders in the geocentric Earth-fixed reference frame. J Geodesy 84:165–178. https://doi.org/10.1007/s00190-009-0353-y
Pines S (1973) Uniform representation of the gravitational potential and its derivatives. AIAA J 11:1508–1511
Sebera J, Wagner CA, Bezděk A et al (2013) Short guide to direct gravitational field modelling with Hotine’s equations. J Geodesy 87:223–278. https://doi.org/10.1007/s00190-012-0591-2
Sneeuw N, Bun R (1996) Global spherical harmonic computation by two-dimensional Fourier methods. J Geodesy 70:224–232
Strakhov VN (1980) On synthesis of the outer gravitational potential in spherical harmonic series. Doklady Akad Nauk SSSR 254(4):839–841 (in Russian)
Swarztrauber PN (1993) The vector harmonic transform method for solving partial differential equations in spherical geometry. Mon Weather Rev 121:3415–3437
Tscherning CC, Poder K (1982) Some geodetic applications of Clenshaw summation. Boll Geod Sci 4:349–375
Wang JQ, Zhao GQ, Zhu GB (2009) Contrastive analysis of common computing methods of ultra-high degree and order fully normalized associated Legendre function. J Geod Geodyn 29(2):126–130 (in Chinese)
Wenzel G (1998) Ultra high degree geopotential models GPM98A and GPM98B to degree 1, 800. In: International Gravity Commission and International Geoid Commission, Tieste, pp 7–12
Wittwer T, Klees R, Seitz K, Heck B (2007) Ultra-high degree spherical harmonic analysis and synthesis using extended-range arithmetic. J Geodesy 82:223–229. https://doi.org/10.1007/s00190-007-0172-y
Yu J, Wan X, Zeng Y (2012) The integral formulas of the associated Legendre functions. J Geodesy 86:467–473. https://doi.org/10.1007/s00190-011-0529-0
Yu JH, Zeng YY, Zhu YC et al (2015) A recursion arithmetic formula for Legendre functions of ultra-high degree and order on every other degree. Chin J Geophys 58(3):748–755 (in Chinese)
Zhang CD, Xu HZ, Wu X (2004) On the torus approach for global spherical harmonic computation. In: Proceedings of the Geodesy and Geodynamics. Science and Technology Press, Hubei, pp 302–314 (in Chinese)
Acknowledgements
The author thanks the anonymous referees for their valuable suggestions and fruitful comments, which improved the quality of the article. We thank Maxine Garcia, PhD, from Liwen Bianji, Edanz Group, China (www.liwenbianji.cn/ac), for editing the English text of a draft of this manuscript.
Author information
Authors and Affiliations
Contributions
ZX and SL designed the research; ZX and MT performed the research; DF and CZ analyzed the data; and ZX and MT wrote the paper.
Corresponding author
Rights and permissions
About this article
Cite this article
Xing, Z., Li, S., Tian, M. et al. Numerical experiments on column-wise recurrence formula to compute fully normalized associated Legendre functions of ultra-high degree and order. J Geod 94, 2 (2020). https://doi.org/10.1007/s00190-019-01331-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00190-019-01331-0