<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="brief-report" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Astron. Space Sci.</journal-id>
<journal-title>Frontiers in Astronomy and Space Sciences</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Astron. Space Sci.</abbrev-journal-title>
<issn pub-type="epub">2296-987X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">852222</article-id>
<article-id pub-id-type="doi">10.3389/fspas.2022.852222</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Astronomy and Space Sciences</subject>
<subj-group>
<subject>Perspective</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Understanding Large-Scale Structure in Global Ionospheric Maps With Visual and Statistical Analyses</article-title>
<alt-title alt-title-type="left-running-head">Verkhoglyadova et al.</alt-title>
<alt-title alt-title-type="right-running-head">Structure in Global Ionospheric Maps</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Verkhoglyadova</surname>
<given-names>Olga</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1414243/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Meng</surname>
<given-names>Xing</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/1659686/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Kosberg</surname>
<given-names>Jacob</given-names>
</name>
</contrib>
</contrib-group>
<aff>
<institution>Jet Propulsion Laboratory</institution>, <institution>California Institute of Technology</institution>, <addr-line>Pasadena</addr-line>, <addr-line>CA</addr-line>, <country>United States</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1026744/overview">Philip J. Erickson</ext-link>, Massachusetts Institute of Technology, United States</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/119321/overview">Alexei V. Dmitriev</ext-link>, Lomonosov Moscow State University, Russia</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1545176/overview">Ercha Aa</ext-link>, Massachusetts Institute of Technology, United States</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Olga Verkhoglyadova, <email>Olga.Verkhoglyadova@jpl.nasa.gov</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Space Physics, a section of the journal Frontiers in Astronomy and Space Sciences</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>29</day>
<month>04</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>9</volume>
<elocation-id>852222</elocation-id>
<history>
<date date-type="received">
<day>10</day>
<month>01</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>03</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Verkhoglyadova, Meng and Kosberg.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Verkhoglyadova, Meng and Kosberg</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>We applied two different techniques to identify high-density structures in global maps of height-integrated electron density of the Earth&#x2019;s ionosphere. We discuss benefits and limitations of these approaches to structure identification. We suggest that they are complementary and can aid our understanding of the properties of the global ionosphere. We stress out importance of a consistent definition of large-scale ionospheric structures.</p>
</abstract>
<kwd-group>
<kwd>ionosphere</kwd>
<kwd>machine learning</kwd>
<kwd>statistics</kwd>
<kwd>electron density</kwd>
<kwd>geomagnetic activity</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>Introduction</title>
<p>Global ionospheric state of the Earth&#x2019;s upper atmosphere is frequently characterized by the total electron content (TEC) that is vertically integrated electron density. TEC distribution over the globe features prominent daytime equatorial ionization anomalies (EIAs), see for instance (<xref ref-type="bibr" rid="B8">Schunk and Nagy, 2009</xref>). Observations and follow-up modeling provide evidence of multiple regions with elevated TEC (<xref ref-type="bibr" rid="B5">Maruayama et al., 2016</xref>; <xref ref-type="bibr" rid="B2">Astafyeva et al., 2016</xref>; <xref ref-type="bibr" rid="B1">Astafyeva et al., 2017</xref>) that also include EIAs, i.e., high density regions (HDRs). Physical mechanisms responsible for HDR formations are not well understood. However, knowledge of HDRs, their occurrence, morphology, and evolution are important for space weather forecasting. We suggest that a robust methodology needs to be developed to identify TEC structures, i.e., HDRs, and create an extensive database of the structure occurrences. Such a database should contain information on locations of HDRs, TEC magnitude, time and local time of occurrences, and ancillary information on geomagnetic and solar activity. The data will be crucial for identifying physical mechanisms, testing physical hypotheses and validating modeling results.</p>
<p>To illustrate two different approaches to HDR identification, we use a timeseries of global ionospheric maps (GIMs), a gridded 2D data product for TEC that is commonly used to visualize global ionospheric state. We used two techniques, a mixture method approach and a computer vision approach, that can be utilized to address the following questions. How many anomalies and how many HDRs are present in a GIM? How does the number of the HDRs and their intensities depend on solar and geomagnetic activity? We used the GIM dataset (binned 1&#xb0; by 1&#xb0; for every 15&#xa0;min, <ext-link ext-link-type="uri" xlink:href="https://sideshow.jpl.nasa.gov/pub/iono_daily/gim_for_research/jpli/">https://sideshow.jpl.nasa.gov/pub/iono_daily/gim_for_research/jpli/</ext-link>) produced by Jet Propulsion Laboratory, California Institute of Technology for over 20&#xa0;years to demonstrate these two approaches. We would like to note that there are several GIM data products available (see the reviews by <xref ref-type="bibr" rid="B4">Hernandez-Pajares et al. (2017)</xref>; <xref ref-type="bibr" rid="B7">Roma-Dollase et al. (2018)</xref>). We chose JPL GIM in this study as a representative GIM dataset with 15-min temporal resolution. <xref ref-type="fig" rid="F1">Figure 1</xref> shows an example of JPL GIM with two EIAs over the South America and several other HDRs. Below we will briefly discuss our approaches. We focus on large-scale (thousands of km) structuring of the ionosphere.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Example of GIM on 4 March, 2014. TEC is shown in TEC units (TECU), where 1 TECU &#x3d; 10<sup>16</sup> electrons/m<sup>2</sup>. Horizontal and vertical axes correspond to geographic longitude and latitude, correspondingly.</p>
</caption>
<graphic xlink:href="fspas-09-852222-g001.tif"/>
</fig>
</sec>
<sec id="s2">
<title>Mixture Method</title>
<p>An unsupervised Gaussian Mixture (GM) method, as implemented by scikit-learn (<xref ref-type="bibr" rid="B6">Pedregosa et al., 2011</xref>) is utilized to identify unique TEC sub-populations or HDRs (<ext-link ext-link-type="uri" xlink:href="https://scikit-learn.org/stable/modules/mixture.html#mixture">https://scikit-learn.org/stable/modules/mixture.html&#x23;mixture</ext-link>). This approach is informative and can be used to understand hierarchical layering of Gaussian clusters. We assume TEC data points arise from a mixture of a finite number of Gaussian distributions whose parameters are unknown. Due to the topology of GIMs, we had to extend scikit&#x2019;s GM implementation to account for periodic boundaries, i.e., a high-density region that &#x201c;wraps around&#x201d; the zero meridian will not be counted as two regions. For each possible number of expected clusters (one to ten, but no higher, to reduce computational requirements and match the order of magnitude of the Computer Vision Method), we compute GM parameters and identify the associated Bayesian Information Criteria (BIC) of each fit. The optimal cluster count was then selected by choosing the knee of the emerging plot of cluster count vs. BIC. This method is sometimes called the Elbow method in statistical clustering. <xref ref-type="fig" rid="F2">Figures 2A,B</xref> show examples of identifications of 2 and 5 clusters, correspondingly. Here, horizontal axes correspond to geographic latitude and longitude. The vertical axis shows the cluster number. This approach is based on statistical properties of the TEC distribution and is sensitive to visually small changes in background density. Note that the GM method designates the background as one of the clusters. Thus, upon visual inspection there is one HDR on <xref ref-type="fig" rid="F2">Figure 2A</xref>. However, it is difficult to determine visually which cluster or clusters correspond to the background density in <xref ref-type="fig" rid="F2">Figure 2B</xref>. For our purpose of understanding large-scale structure, we appreciate that this method accounts for information contained in the data which has physical significance, whether or not that information is visually discernible. For this reason, we believe the following method based on image processing to be complementary.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Results of GM method application to HDR identification for a GIM on 27 October, 2002 <bold>(A)</bold> and on 19 July, 2001 <bold>(B)</bold>. Corresponding results for the image processing approach are shown in <bold>(C,D)</bold>. For 27 October, 2002, the GM method identifies 3 HDRs <bold>(A)</bold>, while the image processing approach identifies 3 HDRs <bold>(C)</bold>. For 19 July, 2001, the GM method identifies 5 HDRs <bold>(B)</bold>, while the image processing approach identifies 6 HDRs <bold>(D)</bold>.</p>
</caption>
<graphic xlink:href="fspas-09-852222-g002.tif"/>
</fig>
</sec>
<sec id="s3">
<title>Computer Vision Method</title>
<p>Large scale TEC dynamics was analyzed by <xref ref-type="bibr" rid="B3">Dmitriev (2018)</xref> by applying visual analysis to individual GIMs. This technique allowed to consider detailed dynamics and provided insight into corresponding physical processes. We advocate building upon such visual approaches and develop ways for automated classification of large-scale TEC features that will be applicable for large datasets. Alternatively, the image processing library OpenCV for Python together with edge-enhancing technique was applied to identify HDRs in a selected GIM dataset with visual inspection. This is an improvement upon our image classification approach (<xref ref-type="bibr" rid="B9">Verkhoglyadova et al., 2021</xref>). First, for each TEC map, represented by gridded TEC values, we round the float TEC values to integer numbers and linearly scale the TEC values to numbers between 0 and 255. The TEC map is thus converted to a gray-scale image. Second, we apply the Laplacian operator often used to detect edges in an image, to the gray-scale TEC image brightness over the 2D map. Third, going back to the original TEC map, we neglect regions with TEC values smaller than the half of the TEC global maximum and regions with the Laplacian values greater than a threshold chosen after visual testing of a variety of values for the limited number of TEC maps, and then apply the Dilate, Erode, and medianBlur methods from OpenCV. Finally, HDRs on the TEC map are identified and counted by OpenCV&#x2019;s connectedComponents operator. A minimum absolute-value threshold for an &#x201c;edge sharpness&#x201d; in an image can be applied in order to focus on regions with significantly higher TEC than the surrounding area. Wide range of thresholds were tested and classification results were qualitatively compared to find an optimal value. We found out that our approach works successfully when there are visually identified sharp edges to a TEC brightening. We are fairly confident in selection of an HDR as relatively bright TEC region (by the TEC magnitude) compared to neighboring regions. Since success of the automated classification relies partially on sharpness of the main features of a TEC map, visual inspection is necessary to correctly identify HDRs. <xref ref-type="fig" rid="F2">Figures 2C,D</xref> show examples of identifications of 3 and 6 HDRs on a latitude by longitude map, correspondingly. Introducing an additional procedure of image sharpening allowed to separate two EIAs and identify faint HDRs even if they are not well separated. However, there is a bias in adapting this algorithm to accommodate for visual perception. The identification results are not evident for everyone but for an expert in ionospheric physics and GIMs. Additional complication is encountered when neighboring bright regions are not well separated. We suggest that development of a quantitative criterion of a degree of separation based on statistical properties of TEC distribution is necessary to determine efficiency and applicability of the method.</p>
</sec>
<sec sec-type="discussion" id="s4">
<title>Discussion</title>
<p>The unexpected result of the study is a realization that different approaches to GIM classification and TEC feature extraction result in different HDR counts and provide different information, each with their own utility for identifying large-scale structure. The GM method is an advanced mixture method that identifies TEC clusters as sub-populations in a GIM by assuming Gaussian distribution of TEC within the clusters. Background TEC is also selected as a separate cluster. GM is a robust method that utilizes optimization tools to select the most common clustering result and account for periodic boundaries. However, it does not always identify visually bright structures inside an extended but less bright structure as separate clusters. Instead, the image classification approach allows for a threshold on TEC value to select the most intense HDRs and ignore the background. The results were validated by visual inspection. However, the latter approach is biased towards sharpening edges of bright features in a map and does not have a selection criterion based on strict statistical properties of TEC distribution. Inter-comparison between these two methods showed different clustering results for several GIMs. Thus, the algorithm based on visual perception of bright regions and the algorithm based on statistical properties of TEC sub-populations in a GIM can produce different outcomes. These results raise an important question of how to robustly define HDRs in GIMs and calls for further investigation. How physical is the definition of distinct HDRs and EIAs? Shall we rely on strict statistics-based approaches or the ones tailored to human eye? How to determine if bright TEC regions are well separated? It is likely that a realistic view of global ionosphere includes HDRs of varying density embedded into backgrounds of varying density that change with solar cycle phases in long term and eruptive solar events in short-term. Depending on the purpose of specific studies, HDRs could be identified using a universal criterion to allow for cross comparison among different background TECs, or using different criteria to make the HDRs outstanding in individual TEC maps. Sharp gradients between different large-scale ionospheric features may not typically occur. Addressing these questions and further research will provide important insights into large -scale ionospheric structure and are crucial for space weather forecast.</p>
</sec>
</body>
<back>
<sec id="s5">
<title>Data Availability Statement</title>
<p>The datasets used in this study can be found in <ext-link ext-link-type="uri" xlink:href="https://sideshow.jpl.nasa.gov/pub/iono_daily/gim_for_research/jpli/">https://sideshow.jpl.nasa.gov/pub/iono_daily/gim_for_research/jpli/</ext-link>.</p>
</sec>
<sec id="s6">
<title>Author Contributions</title>
<p>The authors equally contributed to the ideas presented in the manuscript. XM developed software for the image processing approach. JK developed software for mixture method approach. OV took a lead on writing the manuscript.</p>
</sec>
<sec sec-type="COI-statement" id="s7">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s8">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ack>
<p>Portions of work were performed at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with NASA. Sponsorship of the Heliophysics Division of the NASA Science Mission Directorate is gratefully acknowledged.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Astafyeva</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Zakharenkova</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Huba</surname>
<given-names>J. D.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Three-Peak Ionospheric Equatorial Ionization Anomaly: Development, Drivers, Statistics</article-title>,&#x201d; in <conf-name>Proceedings of the 15th ionospheric effects symposium</conf-name>, <conf-loc>Alexandria, VA</conf-loc>, <conf-date>May 9&#x2013;11, 2017</conf-date>. </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Astafyeva</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Zakharenkova</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Pineau</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Occurrence of the Dayside Three-Peak Density Structure in the F2 and the Topside Ionosphere</article-title>. <source>J. Geophys. Res.</source> <volume>121</volume> (<issue>6936</issue>), <fpage>6936</fpage>&#x2013;<lpage>6949</lpage>. <pub-id pub-id-type="doi">10.1002/2016ja022641</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dmitriev</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Spatial Characteristics of Recurrent Ionospheric Storms at Low Latitudes during Solar Minimum</article-title>. <source>J. Atmos. Solar-Terrestrial Phys.</source> <volume>179</volume>, <fpage>553</fpage>&#x2013;<lpage>561</lpage>. <pub-id pub-id-type="doi">10.1016/j.jastp.2018.09.013</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hern&#xe1;ndez-Pajares</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Roma-Dollase</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Krankowski</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Garc&#xed;a-Rigo</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Or&#xfa;s-P&#xe9;rez</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Methodology and Consistency of Slant and Vertical Assessments for Ionospheric Electron Content Models</article-title>. <source>J. Geod</source> <volume>91</volume>, <fpage>1405</fpage>&#x2013;<lpage>1414</lpage>. <pub-id pub-id-type="doi">10.1007/s00190-017-1032-z</pub-id> </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Maruayama</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.-Y.</given-names>
</name>
<name>
<surname>Richards</surname>
<given-names>P. G.</given-names>
</name>
<name>
<surname>Middlecoff</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>T.-W.</given-names>
</name>
<name>
<surname>Fuller-Rowell</surname>
<given-names>T. J.</given-names>
</name>
<etal/>
</person-group> (<year>2016</year>). <article-title>A New Source of the Midlatitude Ionospheric Peak Density Structure Revealed by a New Ionosphere-Plasmasphere Model</article-title>. <source>Geophys. Res. Lett.</source> <volume>43</volume> (<issue>2429</issue>), <fpage>2429</fpage>&#x2013;<lpage>2435</lpage>. <pub-id pub-id-type="doi">10.1002/2015GL067312</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pedregosa</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Varoquaux</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Gramfort</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Michel</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Thirion</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Grisel</surname>
<given-names>O.</given-names>
</name>
<etal/>
</person-group> (<year>2011</year>). <article-title>Scikit-Learn: Machine Learning in Python</article-title>. <source>J. Machine Learn. Res.</source> <volume>12</volume> (<issue>85</issue>), <fpage>2825</fpage>&#x2013;<lpage>2830</lpage>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://jmlr.csail.mit.edu/papers/v12/pedregosa11a.html">https://jmlr.csail.mit.edu/papers/v12/pedregosa11a.html</ext-link>
</comment>. </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Roma-Dollase</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Hern&#xe1;ndez-Pajares</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Krankowski</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Kotulak</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Ghoddousi-Fard</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Yuan</surname>
<given-names>Y.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Consistency of Seven Different GNSS Global Ionospheric Mapping Techniques during One Solar Cycle</article-title>. <source>J. Geod</source> <volume>92</volume>, <fpage>691</fpage>&#x2013;<lpage>706</lpage>. <pub-id pub-id-type="doi">10.1007/s00190-017-1088-9</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Schunk</surname>
<given-names>R. W.</given-names>
</name>
<name>
<surname>Nagy</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2009</year>). <source>Ionospheres: Physics, Plasma Physics, and Chemistry</source>. <publisher-loc>Cambridge</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>. </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Verkhoglyadova</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Maus</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Classification of High Density Regions in Global Ionospheric Maps with Neural Networks</article-title>. <source>Earth Space Sci.</source> <volume>8</volume>, <fpage>e2021EA001639</fpage>. <pub-id pub-id-type="doi">10.1029/2021ea001639</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>