Keywords

9.1 Introduction

A wealth of data exists to describe physical parameters in the near-Earth environment with data sets taken from instruments that are either discretely located or in constant motion taking measurements that range in spatial and temporal resolution. Although examination of these individual data sets provides important information on the evolution of the parameter at a single location over time, or at several discrete locations at a single time, it is often desirable to ascertain what is happening over a specific spatial region at a given time through interpolation or mapping techniques. The technique examined in this Chapter is a form of harmonic analysis, which involves the series expansion of an infinite set of appropriately chosen basis functions. The choice of which basis functions to use is dependent on the distribution of data, the area of interest, and the nature of the function being mapped. For data distributed about the entire spherical Earth, the normal approach is spherical harmonic analysis with basis functions that are comprised of the Associated Legendre polynomials in co-latitude and trigonometric functions in longitude. However, when either the data or region of interest are confined to only a portion of the sphere, a spherical harmonic expansion cannot be applied because it is not defined across the entire natural interval (i.e. the sphere), and new basis functions must be defined for the relevant portion of the sphere. Although the new basis functions are less convenient because the function is not likely periodic over the subinterval, they are mathematically correct and allow the expansion to be applied. In the case of mapping data over a portion of a sphere, a spherical cap harmonic analysis (SCHA) technique has been developed.

Spherical cap harmonic analysis was originally developed by G. V. Haines for mapping regional magnetic fields, and has been applied to create regional maps across the globe (e.g. Haines 1985a, 1988, 2007; An 1993; An et al. 1998; De Santis et al. 1997b; Feng et al. 2015; Ji et al. 2006; Kotze, 2014; Pavón-Carrasco et al. 2008; Pothier et al. 2015; Stening et al. 2008; Tozzi et al. 2013; Weimer 2013; Waters et al. 2015). As a practical example, the Canadian Geomagnetic Reference Field (CGRF) is a regional magnetic field map that was produced every 5 years from 1985 to 2005 over Canada and adjacent regions (Haines and Newitt 1997).

Spherical cap harmonic analysis has been used for mapping a wide variety of ionospheric and magnetospheric parameters including secular variation over Canada (Haines 1985c, 1993), China (Chen et al. 2011), Europe (Korte and Haak 2000), Italy (De Santis et al. 1997a), the North Atlantic (Pavón-Carrasco et al. 2013), South Africa (Nahavo et al. 2011) and Spain (Garcia et al. 1991; Torta et al. 1992); vertical magnetic field anomalies poleward of 40° (Haines 1985b); magnetic field intensity (Kotzé 2002); Birkeland current systems (Green et al. 2006); equivalent current systems (Gaya-Pique et al. 2008; Haines and Torta 1994); ionospheric total electron content (TEC) (Liu et al. 2011, 2014; Ghoddousi-Fard et al. 2011; Otsuki et al. 2011); electric fields (Fiori et al. 2010), ionospheric conductance estimates (Green et al. 2007); and the critical frequency of the F2 layer (foF2 peak) (De Santis et al. 1991, 1992, 1994; Lazo et al. 2004). Notably, SCHA algorithms have been incorporated into the Assimilative Mapping of Ionospheric Electrodynamics (AMIE) mapping algorithm (Richmond and Kamide 1988). In addition to ionospheric and magnetospheric parameters, SCHA has been applied for mapping other quantities. One example is regional gravity field modelling on the moon (Han 2008), and on the Earth to which SCHA was originally applied by Jiancheng et al. (1995) with clarifications and corrections on its use by De Santis and Torta (1997) and additional work by Hwang et al. (2012). Another example is modelling sea level data (Hwang and Chen 1997).

This Chapter discusses the application of SCHA for mapping plasma flow in the high-latitude ionosphere based on data from multi-satellite missions such as is available from the Swarm mission.

9.2 Theory

The theory of SCHA was originally described in Haines (1985a) for mapping regional magnetic fields. It is assumed that a data set or region of interest is described on a limited portion of the spherical Earth described by a spherical cap. Data may be mapped in one, two or three dimensions. For the purpose of the electrostatic potential and plasma flow, two-dimensional mapping is considered. The necessary theory is summarized here with discussions on the relevant boundary conditions and recommendations on the appropriate choice of mapping parameters.

9.2.1 Spherical Cap Geometry

The spherical cap is constructed by extracting a conical section of angular radius θc from a sphere and considering the outer slab of the section which extends from radius r1 to r2, see Fig. 9.1. A spherical cap coordinate system is defined with respect to the centre of the outer shell of the spherical cap with θ and \( \upphi \) representing co-latitude and longitude, respectively, in the spherical cap coordinate system. Co-latitude spans from 0° to θc whereas \( {\upvarphi } \) spans the full 0°–360° range. For the two-dimensional mapping considered here, r1 = r2 and the spherical cap reduces to a thin spherical cap shell. In general, the parameter being mapped is given in a spherical coordinate system (i.e. geographic or geomagnetic) and it is necessary to first transform both coordinate locations and the vector-pointing directions to the spherical cap coordinate system to simplify calculations.

Fig. 9.1
figure 1

Three-dimensional spherical cap

Figure 9.2 illustrates the transformation from an arbitrary spherical coordinate system to the spherical cap coordinate system. Consider an arbitrary point P in the spherical coordinate system having coordinates (θ′, \( \upphi^{{\prime }} \)) measured with respect to the North Pole (NP). Point P has corresponding coordinates of (θ, \( \upphi \)) in the spherical cap coordinate system which is centred about the spherical cap pole (SCP), which does not necessarily coincide with NP. If the location of SCP corresponds to (θSCP, \( {\upvarphi }_{\text{SCP}} \)) in the spherical coordinate system, then (θ, \( \upphi \)) can be determined from (θ′, \( \upphi^{{\prime }} \)) using spherical trigonometry as follows:

Fig. 9.2
figure 2

Cartoon illustrating the transformation of the north-pole centred coordinate system to the spherical-cap coordinate system

$$ \cos \theta = \cos \theta^{\prime}\cos \theta_{SCP} + \sin \theta^{\prime}\sin \theta_{SCP} \cos \left( {\varphi^{\prime} - \varphi_{SCP} } \right) $$
(9.1)
$$ \cos \left( {180^\circ - \theta^{\prime}} \right) = \cos \theta \cos \left( {180^\circ - \theta_{SCP} } \right) + \sin \theta \sin \left( {180^\circ - \theta_{SCP} } \right)\cos \varphi , $$
(9.2)

where Eq. (9.2) can be rearranged to solve for \( \upphi \)

$$ \cos \varphi = \frac{{\cos \theta \cos \theta_{SCP} - cos\theta^{\prime}}}{{\sin \theta \sin \theta_{SCP} }}. $$
(9.3)

Appropriate selection of the size and location of the spherical cap is necessary to ensure optimal performance of the SCHA algorithm. Both the central location of the spherical cap and θc should be chosen to ensure adequate data coverage across the entire spherical cap to support the desired spatial resolution of the resultant mapped data (e.g. see Sect. 9.5). When data are not distributed uniformly techniques can be applied to describe the region of the spherical cap which is adequately constrained by data to produce an accurate map. Such techniques are discussed in Sect. 9.5.

9.2.2 Mapping Electrostatic Potential and Ion Flow by Series Expansion

It is often desirable to represent the electrostatic potential \( {{(\Phi }}_{E} ) \) over a global or discrete region. For regional mapping, SCHA may be applied. Consider a spherical cap located on a thin spherical shell within the ionosphere on which the potential is to be mapped. Regional mapping of \( {\Phi }_{E} \) is performed by representing \( {\Phi }_{E} \) by series expansion (e.g. Fiori et al. 2010)

$$ {\Phi }_{E} (\theta ,\varphi ) = \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{{M_{max} }} \left[ {A_{km} \cos \left( {m\varphi } \right) + B_{km} \sin \left( {m\varphi } \right)} \right]P_{{n_{k} (m)}}^{m} \left( {cos\theta } \right) $$
(9.4)

where θ and \( {\upvarphi } \) represent co-latitude and longitude in the spherical cap coordinate system, \( P_{{n_{k} (m) }}^{m} \left( {cos\theta } \right) \) are the Associated Legendre functions of the first kind having a non-integer degree nk(m) and order m, k is an integer degree-indexing term, and Kmax and Mmax are the maximum degree-index and order which truncate the series expansion. Mmax ≤ Kmax and the choice of both Mmax and Kmax is dependent on the desired latitudinal and longitudinal mapping resolution and the distribution of data within the spherical cap. In the following notation, \( M_{max} \) is taken to be k. In Eq. (9.4), coefficients \( A_{km} \) and \( B_{km} \) are constants for each combination of k and m which represent the amplitude of the harmonics. These coefficients must be determined to describe \( {\Phi }_{E} \) at any point within the spherical cap. Equations for calculating the Associated Legendre functions with non-integer degree follow in Sect. 9.2.3.

Electrostatic potential is related to the electric field (E) and velocity (v) on the spherical shell through

$$ \varvec{E} = - \nabla {\Phi }_{E} , $$
(9.5)

and

$$ \begin{aligned} {\mathbf{v}} & = \frac{{{\mathbf{E}} \times {\mathbf{B}}}}{{{\text{B}}^{2} }} \\ & = \frac{{E_{\varphi } }}{B}\hat{\theta } + \frac{{E_{\theta } }}{B}\hat{\varphi } \\ \end{aligned} $$
(9.6)

where B is magnetic field and is commonly taken to be the radial component of either the dipole magnetic field or of the International Geomagnetic Reference Field (IGRF), although measurements could be used. Breaking Eq. (9.5) into components yields

$$ E_{\varphi } = - \frac{1}{r\sin \theta }\frac{{d{\Phi }_{E} }}{d\varphi } = \frac{1}{r\sin \theta } \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{k} \left[ {A_{km} \sin \left( {m\varphi } \right) - B_{km} \cos \left( {m\varphi } \right)} \right]mP_{{n_{k} (m)}}^{m} \left( {cos\theta } \right) $$
(9.7)
$$ E_{\theta } = - \frac{1}{r}\frac{{d{\Phi }_{E} }}{d\theta } = - \frac{1}{r} \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{k} \left[ {A_{km} \cos \left( {m\varphi } \right) - B_{km} \sin \left( {m\varphi } \right)} \right]\frac{{dP_{{n_{k} (m) }}^{m} \left( {cos\theta } \right)}}{d\theta } $$
(9.8)

which can be substituted into Eq. (9.6) to describe velocity as

$$ v_{\theta } = \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{k} \left[ {A_{km} \sin \left( {m\varphi } \right) - B_{km} \cos \left( {m\varphi } \right)} \right]\frac{{mP_{{n_{k} (m) }}^{m} \left( {cos\theta } \right)}}{{r \, {\text{Bsin}}\theta }} $$
(9.9)
$$ v_{\varphi } = \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{k} \left[ {A_{km} \cos \left( {m\varphi } \right) + B_{km} \sin \left( {m\varphi } \right)} \right]\frac{1}{rB}\frac{{dP_{{n_{k} (m) }}^{m} \left( {cos\theta } \right)}}{d\theta }. $$
(9.10)

In Eqs. (9.7)–(9.10) r represents the radius of the spherical shell on which the surface is mapped. Typically this is taken to be the radius of measurement. For representing ionospheric plasma flow this is more commonly the radius of the F-region ionosphere (typically ~300 km altitude), and it is sometimes necessary to map measurements to this altitude.

Coefficients \( A_{km} \) and \( B_{km} \) are determined by minimizing the difference between parameters that are measured by the instrument and represented using Eqs. (9.4), (9.7) and (9.8), or (9.9) and (9.10), depending on the parameter being measured. Minimization is performed using a method such as linear regression or singular value decomposition (SVD) (Press et al. 1992; Brandt 1998). To minimize anomalies due, for example, to a poorly constrained solution over a portion of the spherical cap, the coefficient rejection procedure described in Haines and Fiori (2013), which eliminates non-significant fitting coefficients, can be applied.

To better understand how the fitting coefficients are determined regardless of whether \( {\Phi }_{E} \), E, or v is known, consider observations of some arbitrary parameter \( f\left( {r,\theta ,\varphi } \right) \) scattered across a spherical cap which can be represented as

$$ {\text{f}}\left( {r,\theta ,\varphi } \right) = \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{k} A_{km} {\text{c}}_{km} \left( {r,\theta ,\varphi } \right) + B_{km} {\text{d}}_{km} \left( {r,\theta ,\varphi } \right) $$
(9.11)

where \( A_{km} \) and \( B_{km} \) are fitting coefficients as before, and \( {\text{c}}_{km} \left( {r,\theta ,\varphi } \right) \) and \( {\text{d}}_{km} \left( {r,\theta ,\varphi } \right) \) are basis functions. Here there are \( \left( {K_{max} + 1} \right)^{2} \) fitting coefficients. To model \( {\text{f}}\left( {r,\theta ,\varphi } \right) \) anywhere within the spherical cap, physical measurements fi must be substituted into Eq. (9.11) to solve for the fitting coefficients where

$$ {\text{f}}_{i} \left( {r_{i} ,\theta_{i} ,\varphi_{i} } \right) = \sum \limits_{k = 0}^{{K_{max} }} \sum \limits_{m = 0}^{k} A_{km} {\text{c}}_{km} \left( {r_{i} ,\theta_{i} ,\varphi_{i} } \right) + B_{km} {\text{d}}_{km} \left( {r_{i} ,\theta_{i} ,\varphi_{i} } \right) $$
(9.12)

Consider N observations of some measured quantity \( {\text{f}}_{i} \left( {r_{i} ,\theta_{i} ,\varphi_{i} } \right) \). An array of N equations may be written as follows:

$$ \begin{array}{*{20}c} {f_{1} = A_{00} c_{{00_{1} }} + B_{00} d_{{00_{1} }} + A_{10} c_{{10_{1} }} + B_{10} d_{{10_{1} }} + \cdots + A_{KK} c_{{KK_{1} }} + B_{KK} d_{{KK_{1} }} } \\ {f_{2} = A_{00} c_{{00_{2} }} + B_{00} d_{{00_{2} }} + A_{10} c_{{10_{2} }} + B_{10} d_{{10_{2} }} + \cdots + A_{KK} c_{{KK_{2} }} + B_{KK} d_{{KK_{2} }} } \\ \vdots \\ {f_{N} = A_{00} c_{{00_{N} }} + B_{00} d_{{00_{N} }} + A_{10} c_{{10_{N} }} + B_{10} d_{{10_{N} }} + \cdots + A_{KK} c_{{KK_{N} }} + B_{KK} d_{{KK_{N} }} } \\ \end{array} $$

where, for simplification, the notation K = Kmax, \( {\text{c}}_{{km_{i} }} = {\text{c}}_{km} \left( {r_{i} ,\theta_{i} ,\varphi_{i} } \right) \), and \( {\text{d}}_{{km_{i} }} = {\text{d}}_{km} \left( {r_{i} ,\theta_{i} ,\varphi_{i} } \right) \) has been used. Such equations may be written in matrix form as

$$ \left( {\begin{array}{*{20}c} {f_{1} } \\ {f_{2} } \\ \vdots \\ {f_{N} } \\ \end{array} } \right) = \left( {\begin{array}{*{20}c} {c_{{00_{1} }} } & {d_{{00_{1} }} } & {c_{{10_{1} }} } & {d_{{10_{1} }} } & \cdots & {c_{{KK_{1} }} } & {d_{{KK_{1} }} } \\ {c_{{00_{2} }} } & {d_{{00_{2} }} } & {c_{{10_{2} }} } & {d_{{10_{2} }} } & \cdots & {c_{{KK_{2} }} } & {d_{{KK_{2} }} } \\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ {c_{{00_{N} }} } & {d_{{00_{N} }} } & {c_{{10_{N} }} } & {d_{{10_{N} }} } & \cdots & {c_{{KK_{N} }} } & {d_{{KK_{N} }} } \\ \end{array} } \right) \cdot \left( {\begin{array}{*{20}c} {A_{00} } \\ {B_{00} } \\ {A_{10} } \\ {B_{10} } \\ \vdots \\ {A_{KK} } \\ {B_{KK} } \\ \end{array} } \right) $$

or more simply as

$$ \varvec{F} = \varvec{CD} \cdot \varvec{AB} $$
(9.13)

where F represents an N × 1 matrix of the measured quantities, CD is an N × (Kmax + 1)2 matrix, and AB is a (Kmax + 1)2 × 1 matrix composed of the \( A_{km} \) and \( B_{km} \) fitting coefficients. In the case of electrostatic potential, electric field, and plasma flow considered in this Chapter, parameter fi is taken to represent measured values of \( {\Phi }_{E} \), or measured components of E or v, and CD is derived from Eq. (9.4) for \( {\Phi }_{E} \), and Eqs. (9.7) and (9.8) for E, or Eqs. (9.9) and (9.10) for v.

It is worth noting that matrix CD is entirely dependent on measurement coordinates. Applications of SCHA requiring the repeated mapping of data from fixed stations may take advantage of this fact as CD need only be calculated once. Such a consideration greatly enhances the speed of calculation.

9.2.3 Associated Legendre Functions

It is useful to define the Associated Legendre Functions and their calculation with a non-integer degree term. Haines (1985a, 1988) describe the Associated Legendre Functions of non-integer degree, nk(m), and order, m, as a power series given by

$$ P_{{n_{k} (m) }}^{m} \left( {\cos \theta } \right) = \sum \limits_{j = 0}^{\infty } A_{j} ( {m,n})\sin^{2j} \frac{\theta }{2} $$
(9.14)

with a derivative with respect to θ given by

$$ \frac{{dP_{{n_{k} (m) }}^{m} \left( {\cos \theta } \right)}}{d \theta } = \left\{ {\begin{array}{*{20}l} {\frac{sin\theta }{2} \sum \limits_{j = 1}^{\infty } jA_{j} (m,n)\sin^{2(j - 1)} \frac{\theta }{2} } \hfill & {m = 0} \hfill \\ {\frac{sin\theta }{2} \sum \limits_{j = 1}^{\infty } jA_{j} (m,n)\sin^{2(j - 1)} \frac{\theta }{2} + {\cos\uptheta }\left[ {\frac{m}{sin\theta }P_{{n_{k} (m)}}^{m} (\cos \theta )} \right]} \hfill & {m > 0} \hfill \\ \end{array} } \right. $$
(9.15)

where \( A_{j} ( {m,n}) \) is given by

$$ A_{j} ( {m,n}) = \left\{ {\begin{array}{*{20}l} {K_{n}^{m} \sin^{m} \theta } \hfill & {j = 0} \hfill \\ {A_{j - 1} ( {m,n})\frac{{\left( {j + m - 1} \right)\left( {j + m} \right) - n\left( {n + 1} \right)}}{{j\left( {j + m} \right)}}} \hfill & {j > 0} \hfill \\ \end{array} } \right. $$
(9.16)

and \( K_{n}^{m} \) is a normalization constant. Normalization is necessary to ensure manageable calculations in determining the solution of the expansion coefficients. Sample normalizations include the Schmidt or Neumann normalizations which take \( K_{n}^{m} = 1 \) for m = 0, and

$$ K_{n}^{m} = \frac{{2^{{\frac{1}{2}}} }}{{2^{m} m!}}\left[ {\frac{{\left( {n + m} \right)!}}{{\left( {n - m} \right)!}}} \right]^{{\frac{1}{2}}} $$
(9.17)
$$ K_{n}^{m} = \left( { - 1} \right)^{m} \frac{1}{{2^{m} m!}}\left[ {\frac{{\left( {n + m} \right)!}}{{\left( {n - m} \right)!}}} \right] $$
(9.18)

for m ≠ 0 where Eq. (9.17) represents the Schmidt normalization and Eq. (9.18) represents the Neumann normalization with the Condon–Shortley phase term. Ultimately, the choice of normalization coefficient is not in itself crucial, as long as the same normalization is used consistently throughout the calculation.

When dealing with a non-integer degree term, the factorials in the normalizations constants given by Eqs. (9.17) and (9.18) are replaced by

$$ n! = {\Gamma }\left( {n + 1} \right) $$
(9.19)

where the gamma function \( ({\Gamma }) \) is given by

$$ {\Gamma }\left( x \right) = \int \limits_{0}^{\infty } t^{x - 1} e^{ - t} dt. $$
(9.20)

In practice, the power series in Eq. (9.16) is truncated at J determined by evaluating each term during computation. Haines (1988) suggest a truncation limit of 60 terms.

9.2.4 Boundary Conditions and Basis Functions

The solution of Eq. (9.4) is, of course, subject to boundary conditions. The first boundary condition requires continuity in longitude such that

$$ \begin{aligned} & {\Phi }_{E} \left( {{\text{r}},{\uptheta }, \upvarphi } \right) = {\Phi }_{E} \left( {{\text{r}},{\uptheta }, \upvarphi + 2{\uppi }} \right) \\ & \frac{{\partial {\Phi }_{E} \left( {{\text{r}},{\uptheta }, \upvarphi } \right)}}{\partial \varphi } = \frac{{\partial {\Phi }_{E} \left( {{\text{r}},{\uptheta }, \upvarphi + 2{\uppi }} \right)}}{\partial \varphi } \\ \end{aligned} $$
(9.21)

restricting m to be both real and integer valued. The second boundary condition requires that \( {\Phi }_{E} \) be independent of \( {\upvarphi } \) at the spherical cap pole

$$ \begin{array}{*{20}c} {{\Phi }_{E} \left( {{\text{r}},0, \upvarphi} \right) = 0 } & {{\text{m}} \ne 0} \\ {\frac{{\partial {\Phi }_{E} \left( {{\text{r}},0,\upvarphi} \right)}}{\partial \theta } = 0} & {{\text{m}} = 0} \\ \end{array} $$
(9.22)

thereby ensuring regularity of \( {\Phi }_{E} \). This condition has already been satisfied by using Associated Legendre Functions of the first kind in Eq. (9.4) and excluding those of the second kind. The final boundary condition requires \( {\Phi }_{E} \) and \( \frac{{\partial {\Phi }_{E} }}{\partial \theta } \) be arbitrary at the boundary of the spherical cap (θ = θc):

$$ {\Phi }_{E} \left( {{\text{r}},{\uptheta }_{c} , \upvarphi} \right) = {\text{f}}\left( {{\text{r}},{\upvarphi }} \right) $$
(9.23)
$$ \frac{{\partial {\Phi }_{E} \left( {{\text{r}},\theta_{c} , \upvarphi} \right)}}{\partial \theta } = g\left( {r,\varphi } \right) $$
(9.24)

where \( {\text{f}}\left( {{\text{r}},{\upvarphi }} \right) \) and \( {\text{g}}\left( {{\text{r}},{\upvarphi }} \right) \) are arbitrary functions. This boundary condition is met by choosing nk(m) such that

$$ \left. {P_{{n_{k} (m) }}^{m} \left( {cos\theta } \right)} \right|_{{\theta = \theta_{c} }} = 0\quad {\text{k}} - {\text{m}} = {\text{odd}} $$
(9.25)
$$ \left. {\frac{{dP_{{n_{k} (m) }}^{m} \left( {cos\theta } \right)}}{d\theta }} \right|_{{\theta = \theta_{c} }} = 0\quad {\text{k}} - {\text{m}} = {\text{even}} $$
(9.26)

forming two sets of basis functions having a real degree nk(m) which is not necessarily an integer (Haines 1985a).

Although two basis functions are defined (Eqs. (9.25) and (9.26)) it is not necessary, and sometimes not advisable, to use both; there may be a physical significance behind choosing only one basis function, or it might be desirable to simplify the solution. The choice of basis functions depends on the parameter being mapped with consideration of the significance and cost of using one or two basis functions.

There are many examples in the literature where only the k–m = odd basis function (Eq. (9.25)) is used. Green et al. (2007) apply SCHA to mapping ionospheric conductance combining magnetic data from satellites and magnetometers, and electric field data from the Super Dual Auroral Radar Network (SuperDARN) and the Defense Meteorological Satellite Programs (DMSP) satellites. SCHA techniques are applied to all data sets using only the k–m = odd basis function, which forces the mapped parameter to zero at the boundary of the spherical cap. They do this by setting the spherical cap boundary to zero equatorward of the current systems to reduce the impacts on the mapped current systems. In one instance they set θc = 50° MLAT, but limited the plotting region to θ > 40°. Limiting the solution by calculating nk(m) using the k–m = 0 condition can be useful if it physically significant for the mapped parameter to be zeroed at the boundary of the spherical cap. Green et al. (2006) follow similar techniques in mapping the Birkeland currents based on Iridium and SuperDARN data. In another example, Weimer (2005) and Fiori et al. (2010) make use of this technique for mapping the ionospheric convection pattern using a spherical cap centred at the geomagnetic pole and extending to the equatorward boundary of the convection zone, where the plasma flow is expected to be zero. It should be noted that using only the k–m = odd basis function can lead to Gibb’s phenomenon (often referred to as ringing) at the boundary of the spherical cap. Torta et al. (1992) propose using a spherical cap much larger than the region mapped to accommodate the larger wavelength to solve this problem. Solutions outside of the mapping region are ignored. Limiting the solution using the k–m = 0 basis function forces the mapped parameter to zero at the boundary of the spherical cap which is a useful tool when it is physically significant to do so.

Other situations have required the use of only the k-m = even basis function (Eq. (9.26)), thereby forcing the derivative of the mapped parameter to zero at the spherical cap. Examples include Weimer et al. (2010), Weimer (2013) and Pothier et al. (2015) who use the k-m = even basis functions to map geomagnetic perturbations from ground-based magnetometer data for cap-sizes ranging from 50° to 90°. These three papers are related and use the SCHA algorithm described here with only the k-m = even basis functions to reduce unnatural oscillations at the low-latitude boundary of the spherical cap where data are more sparsely distributed. A widely used application of the k-m = even basis function is in the Assimilative Mapping of Ionospheric Electrodynamics (AMIE) technique which maps various electrodynamic quantities in the high-latitude ionosphere. AMIE fits data over the hemisphere using SCHA functions with k-m = even basis functions poleward of 56° magnetic latitude followed by another tapering function from 56° magnetic latitude to the equator (Richmond and Kamide 1988).

The selection of what basis function(s) to use requires a discussion of both uniform convergence and orthogonality of the function. Haines (1990) explains that independently these basis functions are uniformly convergent and orthogonal, but their derivatives are not uniformly convergent unless of course the solution really does have a zero slope at the boundary of the spherical cap. Considering both basis functions in the solution ensures that both the parameter being mapped, and its derivative is uniformly convergent.

The consequence of the uniform convergence gained by using both sets of basis functions is sparse non-orthogonality of the system over the expansion interval. The two functions \( P_{{n_{j} (m) }}^{m} \left( {cos\theta } \right) \) and \( P_{{n_{k} (m) }}^{m} \left( {cos\theta } \right) \) are orthogonal when j ≠ k and when j-m and k-m are either both even or both odd but they are not orthogonal when one is even and one is odd. Non-orthogonality means that the expansion terms must be expressed using a specific truncation limit (i.e. not infinity) and the coefficients determined are therefore dependent on the maximum truncation level and are dependent on the choice of Kmax. In terms of computation of the solution, non-orthogonality causes non-diagonal terms (ill-conditioning) in the least-squares matrix affecting the solution of the fitting coefficients. Korte and Holme (2003) criticize the commonly used practice of coefficient rejection discussed in Sect. 9.2.2 as having no physical justification in SCHA due to the incomplete orthogonality of the basis functions. Problems are more pronounced for high truncation levels, particularly if the field being mapped has a large amplitude, and for small spherical caps. Although this non-orthogonality is sparse, and it is possible to minimize the impacts, it should be considered when using both sets of basis functions.

Extreme care should be taken in determining whether or not one or both basis functions should be used. In general, limiting the solution with the k-m = odd basis functions severely limits the solution and should only be applied when it is physically significant to force the solution to zero at the boundary of the spherical cap. To allow the solution to take on an arbitrary value at the boundary of the spherical cap (unless of course the solution is required to be zero at the boundary), it is, therefore, recommended that if SCHA is to be applied with only one boundary condition, then the k-m = even boundary condition should be used. Although it may be desirable to promote orthogonality by using only one set of basis functions, keep in mind that the consequence is essentially throwing out half the solution, and this is a consequence that must be considered.

9.2.5 Non-integer Degree

SCHA requires the solution of a non-integer degree term nk(m) to describe the Associated Legendre Functions and their derivatives along the boundary of the spherical cap (i.e. Eqs. (9.25) and (9.26)). \( \left. {P_{{n_{k} (m) }}^{m} \left( {\cos \theta } \right)} \right|_{{\theta = \theta_{c} }} \) and \( \left. {\frac{{dP_{{n_{k} (m) }}^{m} \left( {\cos \theta } \right)}}{d\theta }} \right|_{{\theta = \theta_{c} }} \) are oscillating functions of nk(m) given m and θc. The degree-index term k starts at m and is incremented by one every time a root to either Eqs. (9.25) or (9.26) is found. These roots represent the nk(m) values and occur at a zero amplitude for k-m = odd (Eq. (9.25)) and at maximum amplitude for k-m = even (Eq. (9.26)). In this way, the difference k-m fluctuates between even and odd values as \( \left. {P_{{n_{k} (m) }}^{m} \left( {\cos \theta } \right)} \right|_{{\theta = \theta_{0} }} \) fluctuates between maximum and zero amplitude. Figure 9.3 shows an example of \( \left. {P_{{n_{k} (m) }}^{m} \left( {\cos \theta } \right)} \right|_{{\theta = \theta_{0} }} \) versus nk(m) for m = 0 and θ0 = 10°, 20°, and 30°. Table 9.1 provides an example of the nk(m) values for all combinations of k and m for θ0 = 30°.

Fig. 9.3
figure 3

Associated Legendre function \( \left. {{P}_{{{n}_{k} \left( {m} \right)}}^{m} \left( {\cos {\theta }} \right)} \right|_{{{\theta } = {\theta }_{c} }} \) versus non-integer degree nk(m) for m=0 and θc = 10°, 20°, and 30°

Table 9.1 Values of nk(m) for θc = 30°

Before continuing, it is useful to take a moment to fully understand what the non-integer degree term nk(m) represents. In ordinary SHA, nk(m) is equivalent to the integer-valued degree-indexing term k and describes the sectioning of features in both latitude and longitude across the sphere; there are k-m divisions in latitude and 2 m divisions in longitude. In SCHA, k and m also describe sectioning, but over the spherical cap opposed to the entire sphere; there are (k-m + 1)/2 divisions in latitude and 2 m divisions in longitude. Here sectioning defines the resolution of features that can be mapped using either SHA or SCHA, with a minimum resolution described for k = Kmax and m = 0 (for example see Fig. 9.2 of Fiori et al. 2014).

Regional mapping of ionospheric parameters using SCHA has advantages over global-scale mapping of the same parameters. Most notably, the distribution of ground-based observatories is highly dependent on the location of land and on political boundaries. It is, therefore, possible to obtain a higher resolution map over a specific region of interest (i.e. a specific country or continent) than over the globe. Both Haines (1990) and Amm and Viljanen (1999) point out that since nk(m) > k (see Table 9.1), the SCHA techniques uses higher order Associated Legendre functions than the SHA technique, and is, therefore, able to achieve a higher spectral resolution over SHA. As an example, the CGRF, which is a regional version of the IGRF with a spherical cap centred over Canada, is able to achieve a higher resolution depicting spatial variations of 833 km compared to 4000 km for the IGRF. In the case of a sparse global data set with irregularly spaced pockets of high-resolution data an SHA solution may require more basis function than data points resulting in a poor fit whereas an SCHA fit over a specific region of dense measurement offers a higher resolution fit with fewer basis functions. Practical considerations

In a theoretical setting, data are uniformly distributed about the spherical cap and the resolution of the mapped structures is a known quantity. Realistically conditions are much less ideal. This Section addresses some of the considerations necessary to apply SCHA based on a more realistic data set.

In practice, data are not uniformly distributed about the entire spherical cap as instrument locations are limited by physical parameters such as a satellite orbit or the availability of land. Mapping using a measurement-only data set has an optimal solution in the sense that the differences between the measured and calculated parameters are minimized. However, the coefficients are only well constrained over the region of measurement. Over regions not constrained by measurements, the same coefficients can cause wildly unrealistic solutions for the mapped parameter. If a smooth solution is required over the entire spherical cap, the fitting must be constrained over regions lacking measurements, using, for example, data from a statistical or empirical model.

There are numerous examples where a statistical model has been used to constrain a non-uniform data set (e.g. Richmond and Kamide 1988; Shepherd and Ruohoniemi 2000). Although the use of a model is sometimes statistically significant or necessary, care should be taken to ensure there are enough data points to overwhelm the model. Alternatively, weighting factors can be used to put more emphasis on measured data compared to the model. For an example of weighting applied to spherical harmonic mapping see Ruohoniemi and Baker (1998) who mapped ionospheric plasma flow using a modified form of spherical harmonic analysis, or Rogers and Honary (2015) who mapped absorption derived from riometer measurements.

Often it is not desirable to constrain an under sampled parameter with contributions from a statistical or empirical model, and other solutions must be explored. Walker (1989) faced a similar problem in applying SCHA techniques for mapping magnetic data based on a sparse distribution of magnetometer stations across Canada. He performed his mapping by reducing the number of longitudinal coefficients by selecting Mmax < Kmax in the spherical cap harmonic expansion to effectively reduce the longitudinal resolution of the model. He argues that this is applicable to magnetic data as the mapped features tend to have more latitudinal than longitudinal structure and reducing the number of longitudinal coefficients enhances zonal features. Such a process also serves to prevent the number of coefficients from exceeding the number of observations and provides a first order estimate of the mapped parameter. Weimer (1995) also proposes smoothing the data by selecting Mmax < Kmax for the purpose of mapping electrostatic potentials at high-latitudes, although it should be noted that their technique relies on a modified SHA algorithm opposed to SCHA. Weimer et al. (2010), Weimer (2013) and Pothier et al. (2015) handle the problem of sparse data at the boundary of a spherical cap by limiting the solution using only the k-m = 0 basis functions to reduce ringing at the boundary of the spherical cap. Although these sparse mapping techniques work well in the examples discussed, their use is not universal.

Another solution to handle an under sampled spherical cap is to apply a masking algorithm to map the mapped parameter only where constrained by data. Fiori et al. (2014) describe such an algorithm which they apply to limit mapping to a region of reliability surrounding measurement data points. They call the mapped region the ‘region of constraint’ or RoC. The method of determining the RoC is summarized here.

Essentially, a radius Δθ is defined to describe the region surrounding each data point around which the function is considered to be well constrained:

$$ \Delta \theta = \frac{{4\theta_{c} }}{{pK_{max} }} $$
(9.27)

where θc and Kmax are described as before, and p represents the number of points that must be known along a given wavelength to accurately map a given wavelength. For each data point, the number of additional data points located within \( \Delta \theta \) of the data point being evaluated is counted. If there are at least p data points, the region defined by \( \Delta \theta \) is considered valid. The sum of all valid regions constitutes the RoC.

For a given θc and Kmax, accurate portrayal of the mapped parameter requires an appropriate definition of the RoC, which, from Eq. (9.27) is entirely dependent on the selection of p. The appropriate choice of p is somewhat ambiguous. Theoretically, a uniform distribution of data points would require p = 2 (i.e. the Nyquist frequency) for each spatial dimension being mapped. For a more realistic distribution of points, larger values of p are recommended. An incorrect selection of p can unnecessarily restrict (p too large) or inflate (p too small) the RoC. Restricting the RoC would potentially cause the loss of valuable information, resulting in a smoothed solution, whereas inflating the RoC risks the inclusion of poorly constrained portions of the mapped function, which are not representative of the true mapped parameter.

Figure 9.4 presents examples of the RoC applied to hypothetical coordinates for the Swarm satellite mission. For the purpose of this Figure, data are considered at a 2 Hz resolution over a 4-min interval along a possible satellite path where the lower satellite pair (Swarm A/C) is illustrated in blue and green and the upper satellite (Swarm B) is illustrated in red. Figure 9.4a, b are for the case where the spherical cap is large and covers the entire high-latitude convection zone with θc = 32°, and the RoC is calculated for KMAX = 6. The RoC in Fig. 9.4a is shown for p = 6 and is much larger than the RoC of Fig. 9.4b where a more conservative value of p = 28 was chosen. In Fig. 9.4c a spherical cap centred over the area of measurement is considered and the RoC is shown for Kmax = 2 and p = 6.

Fig. 9.4
figure 4

Grey shading indicates the region of constraint (RoC) for measurements taken at a 2 Hz resolution along the hypothetical path of the Swarm A (blue), C (green), and B (red) satellites for a θc = 32°, KMAX = 6, and p = 6, b θc = 32°, KMAX = 6, and p = 28, and c θc = 10°, KMAX = 2, and p = 6. In a and b the spherical cap is centred on the north magnetic pole, and in c the spherical cap is indicated by a grey solid line. Illustration is in the magnetic latitude/MLT coordinate system

Regardless of the data distribution, it is necessary to select an appropriate value for Kmax, and therefore nk(m), to ensure an accurate representation of the mapped parameter based on the available data. Selecting too low a value of Kmax will result in an overly smooth map whereas too large a value will cause overfitting of the data. Consider, for example, mapping some arbitrary function on a spherical cap having a surface area A where

$$ \begin{aligned} A & = \int\limits_{0}^{2\pi } d s = \int\limits_{0}^{2\pi } {\int\limits_{0}^{{\theta_{0} }} {r^{2} } } \sin \theta d\theta d\varphi \\ & = 2\pi r^{2} \left( {1 - \cos \theta_{0} } \right) \\ & = 4\pi r^{2} \sin^{2} \frac{{\theta_{0} }}{2} \\ & = 4\pi \left( {\frac{{180^{^\circ } }}{\pi }} \right)^{2} \sin^{2} \frac{{\theta_{c} }}{2} \\ \end{aligned} $$
(9.28)

If there are n data points uniformly distributed about A, then the spacing, Δθ, between points is given by

$$ \Delta \theta = \sqrt {\frac{A}{n}} , $$
(9.29)

and the minimum wavelength (λmin) that can be mapped is given by (e.g. Bullard 1967)

$$ \begin{aligned} \lambda_{min} & = p\Delta \theta \\ & = \frac{{360^{^\circ } }}{{n_{k} (m)}} \\ \end{aligned} $$
(9.30)

where p is the minimum number of points that must be present on a given wavelength. By rearranging Eq. (9.30), \( n_{k} (m) \) can be written as

$$ \begin{aligned} n_{k} (m) & = \frac{{360^{^\circ } }}{p\Delta \theta } \\ & = \frac{{360^{^\circ } }}{p}\sqrt {\frac{n}{A}} \\ & = \frac{2\pi r}{p}\sqrt {\frac{n}{{4\pi r^{2} \sin^{2} \frac{{\theta_{0} }}{2}}}} \\ & = \frac{{\sqrt {\pi n} }}{{p\sin \frac{{\theta_{c} }}{2}}}. \\ \end{aligned} $$
(9.31)

Equation (9.31) defines the maximum values of nk(m) appropriate for mapping a given data set assuming a uniform distribution of points.

For the case of small m, nk(m) can be approximated by (Haines 1988)

$$ n_{k} (m) \approx \frac{{k90^{^\circ } }}{{\theta_{c} }}. $$
(9.32)

Equation (9.31) can then be used to approximate the maximum degree-index as

$$ K_{MAX} = \frac{4}{p}\sqrt {\frac{n}{\pi }.} $$
(9.33)

In reality, data are not distributed uniformly and it is necessary to select a lower value of Kmax, and therefore nk(m). Too large a value results in the formation of unphysical flow structures in the mapped field in regions of the spherical cap where the λmin defined by Kmax is less than the Δθ characterizing measurement locations within that specific region of the spherical cap. Such problems are more pronounced along the edges of the spherical cap as the solution is only bounded on one ‘side’ (i.e. within the spherical cap). However, this problem can be improved by including data from outside the spherical cap where possible, even though the solution to \( {\Phi }_{E} \) is limited to within the spherical cap. Alternatively, or additionally, a coefficient rejection procedure can be implemented to reject any insignificant coefficients which, although they may add a slight reduction to the minimization performed in the fitting procedure, do not contribute to the solution (Haines and Fiori 2013).

Green (2006) points out that the choice of Kmax must also necessarily depend on the number of available observations within the spherical cap. As Kmax increases (i.e. the spatial resolution decreases), the number of basis functions (i.e. the number of coefficients in the series expansion) increases. Care should be taken to ensure that the number of basis functions does not exceed the number of data points. Green (2006) provides an excellent example in their Sect. 9.3.

From Eq. (9.33) it is obvious that determination of the appropriate maximum value of nk(m) to map a given data set is dependent on an appropriate choice of p. As noted above, p = 2 is the absolute minimum, requiring 2 observations per wavelength. However, for a real data set with irregularly spaced observations most likely contaminated by noise, a larger value of p is more practical to ensure a good fit (Fiori et al. 2010). Bendat (1958) actually suggests that p should be chosen in the range of 10–20, but the author’s experience suggest that such a dense distribution of measurements is an unreasonable assumption. In practice the choice of p is largely dependent on the typical distribution and quality of data for a given data set and is up to the discretion of the user. As an example, Fiori et al. (2010) suggest p = 6 for mapping two-dimensional plasma flow based on a data set smoothly distributed throughout the spherical cap. In examining satellite data confined to a narrow track transecting the spherical cap, Fiori et al. (2014) provide recommendations for selecting p based on evaluating the goodness-of-fit of the resultant map.

An additional consideration is the location and size of the spherical cap, given by \( \theta_{c} \). Ideally, the cap should be placed either centred over the data set having a radius which fully encompasses the data, or over a specific geographic (or geomagnetic) region of interest. Errors associated with cap-size may arise when attempting to map wavelengths that are larger than the spherical cap, for example, when mapping secular variation. Such a problem is commonly encountered when mapping magnetic field data and is solved by subtracting a known reference field, such as the IGRF, to represent the residual value, and adding the reference field back after solving for the fitting coefficients. Haines (1985a) proposes this as a solution to a poor fit at the boundary of the spherical cap due to not including data outside of the spherical cap.

9.3 Practical Example of Mapping Ionospheric Plasma Flow Using SHA and SCHA Approaches

The Super Dual Auroral Radar Network (SuperDARN) (Greenwald et al. 1995; Chisham et al. 2007) samples the high-latitude plasma flow pattern every 1-2 min in both the northern and southern hemisphere. The advantage of the large spread of measurements has been modelling of the ionospheric electric potential. Restriction of measurements to only roughly 1/3 of the sphere leads to ill-conditioning of the least-squares modelling of the potential using SHA approaches. Ruohoniemi and Baker (1998) instead take the approach of redistributing the data in co-latitude across a larger region in a method commonly referred to as either the map potential or FIT technique. The FIT technique redistributes the data located poleward of a predefined boundary (θFIT) across the entire sphere opposed to the hemisphere. The redistribution is performed by scaling co-latitude by \( \alpha = 180^\circ /\theta_{FIT} \) to effectively ‘stretch’ the data across the sphere. Following redistribution, SHA is applied in the usual way by representing the electrostatic potential as a series expansion built with Associated Legendre Functions of integer degree and order. Once the electrostatic potential is modelled, the model is carefully ‘un-stretched’ from the entire sphere to the high-latitude region poleward of θFIT.

Redistribution of data across the entire sphere forces the boundary defined by θFIT to a single point at θ = 180° thereby forcing the electrostatic potential at θFIT to zero. Although undesirable for general mapping, the consequence to mapping the electrostatic potential does have physical significance, as the ionospheric convection pattern is expected to close at some low-latitude boundary (i.e. Hairston and Heelis 1990; Heppner and Maynard 1987; Rich and Hairson, 1994; Weimer 1995; Fiori et al. 2016). In the FIT technique, the low-latitude boundary given by θFIT is determined based on the distribution of low-velocity (<100 m/s) measured velocities. Zeroing the electrostatic potential at θFIT would be difficult to achieve using SHA without redistribution of the data and would require a very-high-order fit. In contrast, the SCHA algorithm could be used with only the k-m = odd basis functions, which has been investigated by Weimer et al. (2005) and Fiori et al. (2010, 2013).

Care should be used when applying the FIT technique in general. It is not clear what impact the changing data density caused by the redistribution of data has on the overall fit. For example, consider two pairs of observations separated by 111 km located at θ1 = 29.5° and θ2 = 10° for θFIT = 30°. In the transformed regime, θ1′ = 177° and θ2′ = 60°, and the pair of points are now separated by 12 km and >500 km, respectively. The impact of this redistribution is unclear. Mapping electrostatic potential through the FIT technique also requires the exact location of the low-latitude boundary of the ionospheric convection pattern, defined by θFIT to be known. For example, Fiori (2011) show that one consequence of a boundary located too far equatorward is the reduction of the calculated cross-polar cap potential (CPCP), which is a significant finding as SuperDARN electrostatic potential maps are shown to consistently report lower CPCP compared to values determined by other means using other instruments (i.e. Shepherd 2007).

Fiori et al. (2010) point out that constraints applied by the FIT technique to ensure a smooth fit over the high-latitude region, namely forcing a low-latitude boundary to the flow and the use of a statistical convection model (see Sect. 9.5), potentially distort the mapped convection. They apply an SCHA algorithm for mapping ionospheric convection based on SuperDARN measurements using the techniques discussed above and examine the impacts on both global-scale and regional-scale mapping. The SCHA technique is shown to perform comparably to the FIT technique over regions of good data coverage, and to provide a better solution over regions of highly variable flow, particularly near the low-latitude boundary of the convection zone near θFIT.

9.4 Application of SCHA for Mapping Ionospheric Plasma Flow Based on Swarm Satellite Ion Drift Measurements

An application of the SCHA algorithm discussed in this Chapter is the mapping of ionospheric data from multi-spacecraft missions. Satellite data from various missions have been incorporated into single or multi-instrument data sets using techniques not limited to SCHA for magnetic field mapping (e.g. An et al. 1998; AMIE; Green et al. 2007; Haines 1985b; Kotzé 2002), or for mapping statistical convection patterns based on satellite data collected over a long period of time (e.g. Heppner and Maynard 1987; Rich and Maynard 1989; Hairston and Heelis 1990; Rich and Hairston 1994; Papitashvili et al. 1999; Papitashvili and Rich 2002; Weimer 1995). However, as of the time of writing, the authors of this Chapter are not aware of the application of SCHA to the instantaneous mapping of satellite data. However, extensive work has been performed in Fiori et al. (2013, 2014) to evaluate the potential for mapping ionospheric plasma flow based on artificially generated Swarm ion drift measurements. This Section provides a summary of this work.

One objective of the Swarm mission is an investigation of electric currents flowing in the Earth’s ionosphere which drive ionospheric electric fields and ion drift. Each satellite is therefore equipped with an electric field instrument (EFI) capable of measuring the three-dimensional ion drift (Knudsen et al. 2003, 2017). Ion drift measured in the along-track and cross-track directions by two orthogonal bi-dimensional Thermal Ion Imagers (TIIs) are combined to create a two-dimensional ion drift vectors describing plasma flowing in the horizontal plane. Such vectors may be processed using the SCHA mapping procedures described in this Chapter to map the two-dimensional plasma flow. The algorithm is fairly straightforward and is described as follows. (1) For the interval of interest, combine along-track and cross-track ion drift measurements to create two-dimensional vectors of the horizontal ion drift. If desirable these ion drift vectors can be mapped down from the satellite altitude to the F-region peak of the ionosphere (e.g. Walker and Sofko 2015). For example, ion drifts mapped down from 470 km to 300 km, would be reduced by approximately 4%. (2) Build the matrices described by Eq. (9.13). If there are N measurements, then matrix F represents a 2 N × 1 matrix of the measured ion drift in the θ (vθ) and \( {\varphi } \) (vφ) directions. Note that each ion drift component is calculated from the two-dimensional ion drift and then considered separately. CD is a 2 N × (Kmax + 1)2 matrix derived from Eqs. (9.9) and (9.10) for vθ and vφ, and AB is a (Kmax + 1)2 × 1 matrix composed of the \( A_{km} \) and \( B_{km} \) fitting coefficients. (3) The fitting coefficients are solved as described in Sect. 9.2.2. (4) Fitting coefficients are used to calculate the two-dimensional ion drift within the spherical cap where adequately constrained by data. This SCHA algorithm has been applied to (1) examine convection mapping on a global-scale spanning the entire convection zone in the high-latitude region based on both a Swarm-only data set and a multi-instrument data set (Fiori et al. 2013), and (2) explore the possibility of convection mapping with a Swarm-only data set over a localized region centred over the satellites’ orbit, and determine parameters for evaluating the appropriate size of the localized region and the goodness-of-fit that can be obtained (Fiori et al. 2014). Note that due to the unavailability of definitive Swarm data at the time of publication, Fiori et al. (2013, 2014) rely on artificially generated ion drifts emulated from a statistical model along hypothetical Swarm satellite tracks. For a full description of the emulation technique, see either paper. The SCHA techniques described here could equivalently be applied to hypothetical or real data.

Fiori et al. (2013) examined SCHA for mapping the high-latitude ionospheric convection pattern based on a Swarm data set using a global-scale spherical cap. In order to map the entire high-latitude convection patter, the spherical cap was centred at the north magnetic pole extending to ~60° MLAT (θc = 30°). They show that even when all three satellites cross the spherical cap at the same approximate time, the Swarm data coverage is insufficient to support such large-scale convection mapping based on a Swarm-only data set; the RoC does not exceed the measurement location. However, they do show that inclusion of the Swarm data with a complementary data set has the potential to increase the region of the spherical cap populated by data thereby improving resultant convection maps.

In the case of Fiori et al. (2013), the complementary data set under consideration was the SuperDARN (Greenwald et al. 1995; Chisham et al. 2007) which samples the high-latitude plasma flow pattern continuously every 1–2 min in both the northern and southern hemisphere. Currently, SuperDARN consists of radars with a collective field of view that covers the majority of the high-latitude region (within ~30° of either magnetic pole), extending to mid-latitudes. However, despite this superior coverage, there are frequently gaps in the data due to a variety of circumstances including geomagnetic activity, solar activity, season, and magnetic local time (MLT) of observation (Ruohoniemi and Greenwald 1996; Danskin et al. 2002; Shepherd et al. 2002; Koustov et al. 2004; Shepherd 2007). It is common practice within the SuperDARN community to supplement real data with data from a statistical convection model to produce a well-constrained and smooth map (Ruohoniemi and Baker 1998; Shepherd and Ruohoniemi 2000; Ruohoniemi and Greenwald 2005; Cousins and Shepherd 2010; Pettigrew et al. 2010). Statistical models are useful in expanding convection data so that the RoC covers the entire high-latitude region during periods of stable convection but do not always accurately represent the true plasma flow during more turbulent conditions (e.g. Fiori et al. 2010). In such instances, it is more useful to include data from other instruments, such as is available from the Swarm satellites to fill in gaps in the SuperDARN data set in order to increase the overall RoC that can be mapped.

Examples presented in Fiori et al. (2013) demonstrate how effectively data from the Swarm satellite can increase the RoC for global-scale convection mapping with SuperDARN. For instance, Fiori et al. (2013) present one case (reproduced in Fig. 9.5) where despite excellent SuperDARN coverage the RoC is insufficient to determine the cross-polar cap potential (CPCP) without adding contributions from a statistical model or other instruments. Figure 9.5a illustrates hypothetical measurement locations for the SuperDARN and Swarm instruments. In Fig. 9.5b, convection is mapped based on a global-scale spherical cap (θc = 32°) centred at the north magnetic pole for Kmax = 6 and p = 6. Black contours indicate the electrostatic potential associate with the convection pattern, and the plus sign indicates the maximum potential. Because the minimum potential cannot be mapped, it is not possible to determine the CPCP. Addition of data from a single Swarm satellite (here data has been artificially generated based on a statistical model based on solar wind and IMF conditions), slightly enlarges the RoC. Inclusion of hypothetical data from all three Swarm satellites increases the RoC sufficiently to allow determination of the CPCP.

Fig. 9.5
figure 5

a Gridded coordinate locations for the Swarm A (blue), Swarm C (green), Swarm B (red), and SuperDARN (black) data sets. SuperDARN data are based on gridded measurement coordinates for 20 January 2011 11:20–11:24 UT. bd Convection calculated for θc = 32°, Kmax = 6, p = 6 based on artificial measurements generated from a statistical mode at possible coordinates of b SuperDARN, c SuperDARN and Swarm B, and d SuperDARN and Swarm A, B and C measurements shown in (a). Convection vectors are plotted along an evenly spaced grid of size 1° of magnetic latitude throughout the RoC. Contours are plotted with a 6 kV contour spacing. The plus and cross indicate the maximum and minimum potential and the CPCP is indicated where it can be determined. (Reproduction of Fiori et al. 2013, Fig. 9.6.)

Fiori et al. (2013) show that the addition of Swarm ion drift data to a SuperDARN data set can cause an average relative increase in the RoC of 12.5% for periods when 1–3 Swarm satellites are located in the high-latitude region, with the greatest contributions being made when Swarm data are located at auroral latitudes.

In addition to supplementing other data sets for the purpose of global-scale convection mapping, Swarm data may also be considered independently for mapping more localized regions. For localized convection mapping data may be considered for three different satellite configurations: a single satellite track (upper satellite Swarm B), a double satellite track (lower satellite pair Swarm A/C), or for the case where all three satellites overlap. As an example, consider a regional spherical cap with θc = 10°, which corresponds to roughly 4-min of observation processed with Kmax = 3. Figure 9.6 shows two statistical convection models within such a spherical cap centred at 80° magnetic latitude and 12 MLT. Figure 9.6c indicates the location of sample satellite tracks. Artificially generated Swarm ion drift vectors generated from these statistical models along the satellite paths illustrated in Fig. 9.6c can be used to map convection on the localized spherical cap. Such maps are shown in Fig. 9.7 where the RoC is described by p = 6. Maps in Fig. 9.7a, b can be compared to the original statistical model in Fig. 9.6a, b (and mapped using black vectors in Fig. 9.7), respectively. The visual comparison indicates good overall agreement between the mapped vectors and the statistical model, with the greatest difference occurring at the outlying region of the RoC, suggesting the RoC could be reduced by increasing the value of p.

Fig. 9.6
figure 6

Portion of two sample statistical model convection patterns for the case of a IMF Bz< 0 and b IMF Bz> 0 within a spherical cap centred at 80° MLAT and 12 MLT with \( \upvartheta_{c} = \, 10^\circ \). The Cousins and Shepherd (2010) models employed in Fiori et al. (2013, 2014) are used. c shows a 4-min segment of the Swarm A (blue), C (green), and B (red) satellite orbits

Fig. 9.7
figure 7

Coloured vectors indicate convection determined based on Swarm measurements artificially generated along the satellite tracks shown in Fig. 9.6c based on the statistical models mapped in a Figs. 9.6a, b for a spherical cap centred at 80° MLAT and 12 MLT with θc = 10° and K = 3. The RoC is defined with p = 6

Although a three-satellite map offers more data for convection mapping, and is, therefore, more likely to produce a more accurate map, it is not a frequent occurrence. In the next example, consider the case where only the lower satellite pair is available for mapping. In Fig. 9.8a the IMF Bz > 0 convection pattern illustrated in Fig. 9.6b is used to artificially generate Swarm ion drifts for the Swarm A/C satellite pair which follow a dawn/dusk orientation. Artificially generated ion drifts are processed to create the convection pattern shown where the RoC is limited by p = 12. In Fig. 9.8b a similar map is generated for a noon/midnight satellite orientation using the IMF Bz < 0 statistical convection model shown in Fig. 9.6a. Both maps indicate good agreement between the mapped convection and the statistical convection model.

Fig. 9.8
figure 8

Coloured vectors indicate convection calculated for θc = 10° and Kmax = 3 for a spherical cap centred at 70° MLAT and 12 MLT for Swarm A and C measurements artificially generated using the a IMF Bz> 0 convection pattern for a Swarm A satellite track offset 80° from the 12 MLT meridian and p = 12 and b IMF Bz<0 convection pattern for a Swarm A satellite track offset 170° from the 12 MLT meridian and p = 12. Black vectors in (a) and (b) indicate the direction of the statistical model convection

Fiori et al. (2014) examined the use of SCHA for mapping convection using a localized spherical cap centred over the lower Swarm satellite pair. Convection maps were created using the SCHA technique based on artificially generated Swarm measurements within a localized spherical cap having an angular radius, θc, ranging from 4° to 15°. These maps used a KMAX that was calculated so that the SCHA mapping resolution matched that of the statistical model used to generate measurements. Within the study, the artificially generated Swarm data were used to generate 2502 maps for a variety of satellite orientations with RoC determined for varying values of p. Comparisons were made between the statistical model used to create the artificially generated measurements and the convection mapped using SCHA. These comparisons were used to categorize the maps as being well constrained or poorly constrained. Based on this analysis it was determined that the SCHA algorithm ideally maps Swarm data for θc, = 10°, and was unreliable for θc, ≥ 14°. Fiori et al. (2014) determined that Swarm-based measurements could successfully map convection over a localized region surrounding the satellite track to examine small-scale features in the flow, and that larger scale convection mapping can be achieved through combining multiple spherical caps.

9.5 Summary

This Chapter provides detailed explanations of how to map ionospheric plasma flows in the high-latitude region based on hypothetical ion drifts from the Swarm satellites using spherical cap harmonic analysis. SCHA is a useful technique for mapping data limited in space, and is closely related to spherical harmonic analysis which is commonly applied on a larger global scale. Although originally developed for mapping the three-dimensional magnetic field on a regional scale, SCHA techniques have been used to map a variety of one-, two- and three-dimensional properties. This Chapter provides a summary of the relatively new application of SCHA to two-dimensional mapping of ion drift.

Section 9.2 provides the necessary theory for applying SCHA to mapping ionospheric plasma flow, or convection. Equations for mapping electrostatic potential, electric field, and plasma flow in the ionosphere are provided along with discussion regarding the relevant basis functions and boundary conditions considered in the solution. Practical considerations such as the appropriate cap-size to use for a given data set and how to determine where the solution is adequately constrained by measurements are discussed. Section 9.3 provides an example of SHA and SCHA mapping of ionospheric convection based on the SuperDARN data. In Sect. 9.4 the theory developed in this Chapter is applied to the mapping of ionospheric ion drift measured by the Swarm satellites. Sample convection maps are presented which illustrate SCHA mapping of Swarm ion drift data (1) on a global scale in combination with measurements from additional ground-based instruments and (2) on a local scale using satellite measurements alone.

This Chapter clearly demonstrates the application of spherical-cap harmonic analysis techniques for mapping plasma flow patterns based on ion drift measurements from the Swarm satellite.