There is a newer version of this record available.

Software Open Access

SHTOOLS: Version 3.0

Mark Wieczorek; Matthias Meschede

SHTOOLS is an archive of Fortran 95 and Python software that can be used to perform spherical harmonic transforms and reconstructions, rotations of data expressed in spherical harmonics, and multitaper spectral analyses on the sphere.

SHTOOLS is extremely versatile:

  • It can accommodate any standard normalization of the spherical harmonic functions ("geodesy" 4π normalized, Schmidt semi-normalized, orthonormalized, and unnormalized).
  • Both real and complex spherical harmonics are supported.
  • Spherical harmonic transforms are calculated by exact quadrature rules using either the sampling theorem of Driscoll and Healy (1994) where data are equally sampled (or spaced) in latitude and longitude, or Gauss-Legendre quadrature.
  • One can choose to use or exclude the Condon-Shortley phase factor of (-1)m with the associated Legendre functions.
  • The spherical harmonic transforms are proven to be accurate to approximately degree 2800, corresponding to a spatial resolution of better than 4 arc minutes.
  • Routines are included for performing localized multitaper spectral analyses.
  • Routines are included for performing standard gravity and magnetic field calculations, such as computation of the geoid and the determination of the potential associated with finite-amplitude topography.
  • The routines are fast. Spherical harmonic transforms and reconstructions take on the order of 1 second for bandwidths less than 600 and about 3 minutes for bandwidths close to 2800.

SHTOOLS can be used in any Fortran 95 or Python program. The base SHTOOLS software is written in Fortran 95, and Python wrappers allow simple access to all fortran-compiled routines. SHTOOLS makes use of the freely available Fourier transform package FFTW and the linear algebra packages LAPACK and BLAS.

Installation of SHTOOLS can be as simple as executing the following commands in a unix terminal:

make
make python

More information can be found on the GitHub wiki and in the SHTOOLS documentation.

Files (5.7 MB)
Name Size
SHTOOLS-v3.0.zip
md5:e1286f987af2dc4d8129d6f850b20de2
5.7 MB Download
516
86
views
downloads
All versions This version
Views 51659
Downloads 865
Data volume 1.4 GB28.7 MB
Unique views 47958
Unique downloads 413

Share

Cite as