{'fraction_non_alphanumeric': 0.03705202037028223, 'fraction_numerical': 0.015872638141925657, 'mean_word_length': 4.476736608888309, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 2, 'https://': 4, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Identification of Kuroshio meanderings south of Japan via a topological data analysis for sea surface height

This study proposes an algorithm to identify stable Kuroshio meanderings by extracting topological features from a sea surface height (SSH) gridded dataset in 1993–2020. Based on the mathematical theory of topological classifications for streamline patterns, the algorithm provides a unique symbolic representation and a discrete graph structure, which is referred to as the partially cyclically ordered rooted tree (COT) representation and the Reeb graph, respectively, to structurally stable Hamiltonian vector fields. We have confirmed that the temporal variations in the Kuroshio southernmost position south of the Tokai district captured by the algorithm are well consistent with the existing results by the Japan Meteorological Agency (JMA). The algorithm based on the topology detects five meandering periods: The three of them correspond to large meandering events detected by the JMA, while the two of them are offshore non-large meandering events. The topological data analysis reveals that a large cyclonic eddy inside of the meandering is split into two small eddies near the termination of the most meandering events.


Introduction
The Kuroshio is the western boundary current in the North Pacific subtropical gyre. It originates from the northern branch of the North Equatorial Current off the Philippines, flowing north-northeastward in the East China Sea. After it passes through the Tokara Strait south of the Kyushu, it turns to follow south of Japan, separates from the Boso Penisula, and finally flows into the Pacific basin as the Kuroshio Extension. As pointed out by Kawabe (1995), the Kuroshio path south of Japan undergoes interannual to decadal variations which might be classified into three typical types (Fig. 1a): the nearshore non-large meander (nNLM), offshore non-large meander (oNLM), and large meander (LM). The Kuroshio flows straight along the southern coast of Japan without meanderings during the nNLM period, whereas it meanders south of the Kanto and Tokai districts with a cool cyclonic eddy during the oNLM and LM periods, respectively. Thus, the Kuroshio has a southward meandering in both oNLM and LM periods but at different positions.
The Kuroshio path variations have substantial impacts on the fisheries such as sardine and anchovy catches (Nakata et al. 2000), marine transport, and Japanese weather such as hot summer (Sugimoto et al. 2020) and winter heavy snowfall (Nakamura et al. 2012) in the Kanto district during the LM period. Consequently, ocean predictions with a focus on the Kuroshio path have been conducted using high-resolution regional ocean data assimilation systems (e.g. Miyazawa et al. 2005;Usui et al. 2006;Hirose et al. 2019), and the information has been provided to users such as fisheries and marine transport companies. (Miyazawa et al. 2009; http:// www. jamst ec. go. jp/ jcope/ htdocs/ e/ kow/ index. html).

3
To detect the LM events, the Japan Meteorological Agency (JMA) constructs a time series of the southernmost latitude of the Kuroshio path in 136°-140°E south of the Tokai district using temperatures at 200 m depth and satellite sea surface temperatures (SSTs) (Fig. 1b). The sea-level differences between Kushimoto and Uragami from historical tide gauge measurements are also used as an indicator, because the difference tends to be small during the LM periods ( Fig. 1c) (Kawabe 1980). In addition, specific sea surface height (SSH) contour and maximum flow speed at the sea surface and 100 m depth are assumed to be the Kuroshio axis in the previous studies (Ambe et al. 2004;Miyazawa et al. 2005;Usui et al. 2006Usui et al. , 2013Tsujino et al. 2006;Aoki et al. 2020). However, since the abundant fronts and eddies result in complex flow fields such as bifurcated strong currents around the Kuroshio region (figure not shown), these existing methods might not accurately capture the spatiotemporal variations in the Kuroshio path. Therefore, an objective algorithm is required to classify the Kuroshio path.
Since orbital satellites have been observing SSH anomalies and the accurate mean dynamic ocean topography is derived from surface drifter buoys and atmospheric datasets (Maximenko et al. 2009), observation-based SSH datasets with sufficient skill in reproducing the geostrophic flow field are available since late 1992 (Ducet et al. 2000;Taburet et al. 2019). For the SSH h(x, y) on (x, y) ∈ D ⊂ ℝ 2 , the geostrophic flow u g is defined by f k × u g = −g∇h [i.e. u g = −g∕f ( h∕ y, − h∕ x)] , where f is the vertical component of the Coriolis parameter, k is the unit vector in the vertical direction and g(= 9.8ms −2 ) is the gravitational acceleration. Since the velocity field u is approximately represented by u = u g + u a ≈ u g around western boundary current regions where the geostrophic flow is much stronger than the ageostrophic flow u a (i.e., u g ≫ u a ). Moreover, owing to ∇h • u g = 0 , the contour lines of the SSH h are equivalent to streamlines characterizing geometric features of the Kuroshio current. Since the Kuroshio path entraps a cyclonic eddy off the Tokai-Kanto districts south of Japan in the meandering periods, it would be possible to detect meandering occurrence and termination by extracting the eddy flow structure in terms of topology from a gridded SSH dataset. Yokoyama and Sakajo (2013) have developed a mathematical theory classifying the topological structure of streamlines of Hamiltonian vector fields in a uniform flow. In this theory, the vector fields are assumed to be structurally stable. By structural stability, we mean that the topological structure of streamlines is unchanged under small perturbations in the space of continuously differentiable functions. Based on the theory, the previous studies (Yokoyama and Sakajo 2013;Sakajo and Yokoyama 2018;Uda et al. 2019) demonstrated that the topological structure of streamlines generated by structurally stable Hamiltonian vector fields is in one-to-one correspondence with discrete graph structure, called Reeb graphs, and their associated symbolic expressions, called partially cyclically ordered rooted tree (COT) representations. Topological flow data analysis (TFDA) is a new method of data analysis using the unique Reeb graph and its associated COT symbol expressing the topological structure of particle orbits generated by two-dimensional vector fields. We note that the assumption of structural stability does not give rise to critical restriction theoretically or practically. Since structurally unstable Hamiltonian vector fields immediately transfer to structurally stable ones subject to infinitely small perturbations, they are approximated by a sequence of structurally stable Hamiltonian vector fields. Moreover, in practical data analyses, since data usually contain noise and errors, structurally unstable flows hardly appear. Based on the topological classification theory for structurally stable Hamiltonian vector fields, this study aims to characterize the Kuroshio meandering states in terms of topology, thereby detecting the occurrence and termination of the meanderings from the observational SSH dataset. Datasets used in this study are introduced in Section 2. In Section 3, after reviewing the topological classification theory for structurally stable Hamiltonian vector fields, we show some snapshots that TFDA applied to the SSH dataset. We also introduce the algorithm detecting the meandering periods. In Section 4, applying the algorithm to the SSH dataset from January 1993 to April 2020, we show detected meandering periods and validate the results by TFDA with those by JMA. Furthermore, we discuss the relationship between temporal changes in entrapped eddy structure and the Kuroshio path. The summary is given in the last section. Fig. 1 a Topography (color) and three typical Kuroshio paths (black lines; Kawabe 1995): nearshore non-large meander (nNLM), offshore non-large meander (oNLM), and large meander (LM). b Southernmost latitude of the Kuroshio path in 136°-140°E off the Tokai district estimated by the Japan Meteorological Agency (JMA; red) and topological flow data analysis (TFDA; blue). c Sea level anomaly difference between Kushimoto and Uragami from the JMA. In a, the locations of Kushimoto, Uragami, Tokai and Kanto districts, Izu Ridge, and Shikoku and Kyushu Islands are shown. In b and c, orange (cyan) color indicates the LM (meandering) periods detected by the JMA (the TFDA algorithm developed in this study), and capital letters A-E denote the meandering periods detected by the TFDA algorithm ◂

Data
In this study, we use a gridded SSH dataset from Archiving, Validation and Interpretation of Satellite Oceanographic data (AVISO; Ducet et al. 2000;Taburet et al. 2019) with horizontal resolution of 0.25° from January 1993 to April 2020. We adopt the monthly Kuroshio southernmost latitude in 136°-140°E (https:// www. data. jma. go. jp/ kaiyou/ data/ shind an/b_ 2/ urosh io_ stream/ kuro_ slat. txt) from the JMA, which is estimated by SSTs, temperatures at 200 m depth, and the monthly sea level differences from tide gauge measurements between Kushimoto and Uragami (https:// www. data. jma. go. jp/ kaiyou/ data/ shind an/b_ 2/ urosh io_ stream/ ksur. txt). Here, the JMA datasets are utilized not to compare the ability with TFDA, but to validate results by our TFDA method. We also use the Kuroshio transport across the 137°E section in summer and winter (https:// www. data. jma. go. jp/ gmd/ kaiyou/ data/ shind an/b_ 2/ urosh io_ flow/ kt137. txt) provided by the JMA. We note that the Kuroshio southernmost latitude dataset contains about 35% missing values in 1993-99. The vector field is given by u = H∕ y and v = − H∕ x , and it is called the Hamiltonian vector field. As clear from ∇H • u = 0 , particle orbits in the Hamiltonian vector field are identical to contour lines of the Hamiltonian H referred to as streamlines. As discussed in Sect. 1, the geostrophic vector field can be regarded as a structurally stable Hamiltonian vector field in a uniform flow, where the Hamiltonian is equivalent to the SSH. Figure 2 shows all topological streamline patterns appearing in structurally stable Hamiltonian flows in the uniform flow. A unique symbolic expression referred to as a COT symbol is assigned to each streamline pattern. The topological streamline patterns in Fig. 2a, b, d, g have been shown in Uda et al. (2021) in which atmospheric blocking events are detected via TFDA. Additionally, we present streamline patterns in Fig. 2c, e, f related to topographic boundaries (islands). Figure 2a indicates a uniform flow referred to as root structure, whose COT symbol is represented by a ∅ (◻ 1 a ⋅ ⋯ ⋅ ◻ n a ). Here, each box symbol ◻ i a for i = 1, … , n in the COT symbol expresses that either a streamline pattern a ± in Fig. 2b or a 2 in Fig. 2c is embedded in the uniform flow, i.e. ◻ i a ∈ {a ± , a 2 } for i = 1, … , n . The COT symbols corresponding to these streamline patterns are arranged in order by picking them up from bottom to top when the uniform flow direction is from left to right. Figure 2b shows streamline patterns with a self-connected saddle separatrix embedded in the root structure. To distinguish the flow directions of the saddle separatrix, we assign the COT symbol a + (◻ b + ) [ a − (◻ b − ) ] to the streamline pattern when the flow along the saddle separatrix turns in the counter-clockwise (clockwise) direction. The streamline pattern inside the self-connected saddle separatrix is chosen from either b ±± , b ±∓ in Fig. 2d, ± in Fig. 2f, or ± in Fig. 2g, i.e. ◻ b ± ∈{b ±± , b ±∓ , ± , ± }, in which double signs correspond.

Topological classification theory of streamline patterns
As shown in Fig. 2c, a streamline pattern embedded in the root structure is represented by the COT symbol a 2 ◻ c+s , ◻ c−s . This consists of a physical boundary with two saddles to which streamlines of the uniform flow are connected. Although this illustration schematically draws the boundary as a circular disc, it can be transformed continuously to any shapes, because the shape of the boundary does not affect TFDA results in terms of topology. Any number of streamline patterns c − ( c + ) are attached to the upper (lower) side of the boundary, and their details are described later. The box symbol ◻ c±s is an abbreviation for a sequence of streamline patterns of c ± , i.e. ◻ c+s = ◻ 1 , respectively, where s(> 0) is the number of the streamline patterns attached to the boundary. Streamline patterns consisting of two self-connected saddle separatrices are shown in Fig. 2d. When the counterclockwise (clockwise) saddle separatrices form a figure eight pattern, the COT symbol is assigned, where ◻ b± represents inner streamline patterns enclosed by the two saddle separatrices, and the parentheses {•} expresses that the inner streamline patterns are arranged in cyclic order. When one counter-clockwise (clockwise) saddle separatrix encloses the other clockwise (counterclockwise) saddle separatrix, the COT symbol of the streamline pattern is given by An orbit connecting two saddles at the same boundary forms a streamline pattern denoted by the COT symbol c ± (Fig. 2e). Inside the domain enclosed by the saddle separatrix and the boundary, it is necessary to embed one streamline pattern represented by ◻ b ± ∈{b ±± , b ±∓ , ± , ± }. When the flow direction of the outer saddle separatrix is counterclockwise (clockwise), the COT symbol Here, any number of c ± streamline patterns can be attached to the boundary, and the COT symbol ◻ i An isolated physical boundary, to which any number of c ± streamline patterns are attached, is shown in Fig. 2f. Its COT symbol is represented by , in which the sign corresponds to the flow direction along the boundary, and c ± streamline patterns are arranged in cyclic order. When any c ± structure is not attached to the boundary, the COT symbol is simply denoted as ± , and this is an innermost streamline pattern having no internal structure. Another innermost streamline pattern in structurally stable Hamiltonian flows is an isolated elliptic center associated with counter-clockwise (clockwise) periodic orbits in its neighborhood. Its COT symbol is denoted by + ( − ) (Fig. 2g).
The procedure providing a unique COT representation for a given structurally stable Hamiltonian flow in the uniform flow is as follows. [See Uda et al. (2019) for the detailed description of the algorithm]: First, streamline patterns a ± and a 2 are detected in the uniform flow, and then the COT symbols are arranged in the root struc- Identifying inner streamline patterns of b ±± , b ±∓ , ± , or ± in the streamline patterns a ± and a 2 , the COT symbols are substituted in ◻ b ± and ◻ c±s . Here, , and ◻ c ± is chosen from c ± (◻ b ± , ◻ c±s ) . Repeating this step and their streamline patterns identified by TFDA. a A COT symbol a ∅ (◻ 1 a , ◻ 2 a , ⋯ , ◻ n a ); A uniform flow referred to as root structure. b a + (◻ b + ) ( a − (◻ b − ) ); A streamline pattern with one self-connected saddle separatrix rotating counter-clockwise (clockwise). c a 2 (◻ c+s , ◻ c−s ); A streamline pattern with a physical boundary having two saddles embedded in a uniform flow.
) in the right panel; A streamline pattern with two self-connected saddle separatrices, where the inner clockwise (counter-clockwise) separatrix is enclosed by the outer counter-clockwise (clockwise) separatrix. e c ± (◻ b ± , ◻ c∓s ) ; A saddle separatrix connecting two different saddles on a physical boundary. f ± {◻ c∓s } ( ± ) attached with (without) streamline structure c ± ; An isolated physical boundary. g + ( − ); An elliptic center surrounded by counter-clockwise (clockwise) periodic orbits in its neighborhood. We note that elliptic centers ± and physical boundaries ± are innermost streamline patterns with no internal structure recursively to every streamline pattern until the streamline patterns reach innermost structure such as elliptic centers ± and physical boundaries ± , the COT representation for the structurally stable Hamiltonian flow is finally obtained. Furthermore, at every step in this procedure, by regarding the outer and embedded inner streamline patterns as parent and child nodes, respectively, the edges between these nodes are created. At the same time, the value of the Hamiltonian is associated with each node. This produces a planar acyclic graph with height values, called Reeb graph. As described in Sect. 1, it is mathematically assured that every structurally stable Hamiltonian vector field has a unique Reeb graph and its associated COT representation, and therefore they are utilized as topological identifiers of the Hamiltonian flow in terms of topology.
We have developed a practical software, psiclone, to compute the Reeb graph and its associated COT representation and perform TFDA for a given Hamiltonian gridded dataset. The software has the following two important functions useful for data analyses: First, defining the length of an edge as the height difference between nodes connected by the edge, edges with a shorter length than a prescribed threshold can be cut off. This function acts as a low-pass filter removing small-scale topological streamline patterns such as noises. Second, regions enclosed by saddle separatrices of streamline patterns a ± , b ±± , b ±∓ , and c ± can be extracted, and they are referred to as regions of influence. This function plays an important role in detecting the Kuroshio meanderings from the SSH dataset.

Application of TFDA to the SSH dataset
Since the SSH contour lines correspond to geostrophic streamlines except for the tropical regions, we apply TFDA to the SSH dataset using psiclone to represent topological features of the geostrophic flows in the mid-latitude regions. While the slip boundary condition is assumed in the topological classification theory (Yokoyama and Sakajo 2013), this condition is not necessarily satisfied with the SSH dataset used in this study. In some cases, the no-slip boundary condition is adopted, but in other cases, the slip boundary condition is assumed. Hence, we have applied both slip and no-slip boundary conditions to TFDA. The original SSH dataset can be regarded to satisfy the slip boundary condition. On the other hand, to satisfy the no-slip condition, we adjust land grid cells along coastlines as follows: An SSH value at each land grid cell is set to that at an ocean grid cell normal to the land. As a result, we have confirmed that the results are the same regardless of the slip and no-slip boundary conditions. This is because any artificial saddles along the coast-lines are not created by this procedure for the no-slip boundary condition.
In this study, to reduce computational costs, we restrict the analysis domain to off the southern-eastern coast of Japan as shown in Fig. 3. This is referred to as the region of interest (ROI) and denoted by Ω . We set the threshold of the length of an edge for the low-pass filter to be 4.0 × 10 −2 m. As a result, small-scale structure, such that the SSH differences at both ends between nodes are smaller than the threshold, is not identified. We have confirmed that the qualitatively same results are obtained even if the different analysis domains and thresholds are applied. Figure 3b shows an output of psiclone for the SSH dataset in December 2004 when the Kuroshio LM occurs south of the Tokai district (135°-140°E, 30°-35°N). The COT representation of this streamline pattern is described as where denotes the non-existence of the streamline pattern for ◻ c−s in a 2 . Here, the symbols ± representing elliptic centers are not shown to reduce the length of the COT representation. The superscript numbers are assigned to the COT symbols a ± and c + in (1) to identify which streamline patterns are represented by the COT symbols. A Reeb graph associated with the COT representation is also shown in the same panel. Nodes of the Reeb graph (red stars in Fig. 3b) are placed at saddle points for a ± and b ++ structure, elliptic centers, and a boundary saddle for the a 2 structure. Edges are drawn as gray segments connecting these nodes.
Here, we describe an important note about outputs from psiclone, which is caused by the opposite sign between the geostrophic and Hamiltonian velocity fields in the Northern Hemisphere with the positive Coriolis parameter ( f > 0 ). As described in Sect. 1, the geostrophic velocity field is calculated from the SSH h(x, y) through the formula u g = g∕f (− h∕ y, h∕ x) , whereas psiclone assumes that the Hamiltonian vector field with a Hamiltonian H is given by u = ( H∕ y, − H∕ x) . This leads that the uniform flow direction in psiclone (Fig. 2a) is recognized as the opposite to the actual geostrophic flow. Consequently, in the psiclone calculation, the COT symbols ◻ i a for i = 1, … , n in a ∅ are arranged from the left to the right by picking up a ± and a 2 streamline patterns from the north to the south, and for instance the COT symbol a + ( a − ) expresses an anticyclonic (cyclonic) eddy in the Northern Hemisphere.
Based on the COT representation (1) and its associated Reeb graph, the topological structure around the Kuroshio region is characterized (Fig. 3b). The sub-sequence a 0 − • a 1 + • a 2 + in the COT representation correspond to the streamline patterns on the northern side of the Kuroshio Extension. Streamline patterns on the southern side of the Kuroshio and Kuroshio Extension are represented by the sub-sequence a 6 − ⋯ a 11 + after a 2 . The streamline pattern represented by a 3 − has a self-connected saddle separatrix enclosing a cyclonic eddy associated with the LM between the Kuroshio and the southern coast of the Tokai district. The streamline pattern represented by a 4 − is located between the Kyushu and Shikoku Islands on the northern side of the Kuroshio, and the COT symbol a 2 c 0 + , indicates that the Shikoku Island is a physical boundary with two boundary saddles connecting to the Kuroshio, entrapping an anticyclonic eddy represented by the COT symbol c 0 + . In Fig. 3b, different colors are painted to show the flow domains surrounded by saddle separatrices of the streamline patterns a ± , b ++ , c + (i.e. the regions of influence), and this color map is referred to as a partition plot associated with the COT representation. Each eddy is shaded by the different color, and therefore psiclone successfully extracts the regions of influence. The region of influence enclosed by the saddle separatrix of the streamline pattern a 3 − south of the Tokai district (dark blue in Fig. 3b) indicates an area where the cyclonic eddy is entrapped by the Kuroshio during the LM period. Accordingly, area and geometric centers of the cyclonic eddies south off the Tokai and Kanto districts estimated from the region of influence enable us to detect the Kuroshio meanderings using TFDA. The COT representation of the streamline pattern at the header, nodes (red stars) and edges (gray segments) of the Reeb graph, and the partition plot associated with the COT representation (color). In a, the area with the contours indicates the region of interest. Contour intervals are 0.15 m

Algorithm detecting the Kuroshio meanderings
We develop a TFDA algorithm proposed for the detection of atmospheric blocking (Uda et al. 2021) to detect periods when the Kuroshio stably meanders southward south of Japan. The monthly mean SSH on (x, y) ∈ Ω at a time t is represented as h t (x, y) . Here we describe a time t in the form of t = YYYYMM , where YYYY and MM denote a year and month. For each month, psiclone calculates a unique COT representation, Reeb graph, and the partition plot from the SSH h t , as shown in Fig. 3b. The COT representations contain an a 2 symbol attached to the Shikoku Island throughout the whole analysis period, and the COT symbols on the left side of the a 2 symbol indicate topological features on the northern side of the Kuroshio and Kuroshio Extension. Hence, we utilize the region of influence represented by a − on the left side of the a 2 symbol in the COT representations. The algorithm to detect the stable Kuroshio meanderings south of the Kanto and Tokai districts comprises four steps. First, we identify domains where cyclonic eddies stay over 3 months by focusing on the region of influence associated with the COT symbols a − . Second, we create chronological links between at present and previous months by tracking the geometric centers of the cyclonic eddies. Third, we extract links expressing a stable cyclonic eddy entrapped by the Kuroshio current south of the Kanto and Tokai districts. Finally, we distinguish the detected meandering periods into the oNLM and LM. The details are described as follows: At first, to identify domains with stable cyclonic eddies, we construct the union of the regions of influence enclosed by the saddle separatrices of the a − streamline patterns, denoted by A(h t ) , at a time t , and then define the following histogram C t,Δt (x) estimating how long the region of influence stays over x ∈ Ω in the time window of [t − Δt∕2, t + Δt∕2): where #A denotes the number of elements contained in a set A , denotes a month. In this study, we use Δt = 6 months to identify stable Kuroshio meanderings. The histogram C t,Δt (x) is calculated by adding 1 month whenever a region of influence in A(h ) exists over x in the period ∈ [t − Δt∕2, t + Δt∕2),and, therefore, 0 ≤ C t,Δt (x) ≤ Δt . Figure 4a shows the histogram C t,Δt (x) constructed from the SSH in March 2005 ( t = 200503 ). The support of the histogram with positive values consists of four connected domains (Fig. 4a): southwest of the Kyushu Island, between the Kyushu and Shikoku Islands, south of the Tokai district, and on the northern side of Kuroshio Extension. Since C t,Δt (x) means how long a cyclonic eddy represented by the a − symbol stays within 3 months before and after at a time t , the high C t,Δt (x) values off the southern coast of the Tokai district are consistent with the LM. Consequently, we extract the disjoint domains B n t , where C t,Δt (x) is longer than the threshold ∶= Δt∕2 = 3 months at a time t . We thus obtain the union of such disjoint domains t = {B n t } N t n=1 ⊂ Ω , where N t denotes the number of connected components (Fig. 4b).
The resulting support of C t,Δt (x) are then divided into several connected components, belonging to t , and a large connected component with C t,Δt (x) = 6 months is located south of the Tokai district (a blue rectangle in Fig. 4b). This represents that the Kuroshio meandering with a cyclonic eddy is maintained 3 months before and after March 2005 in this domain.
In the second step, we track all connected components in = ∪ t t in the temporal direction to extract the period when the Kuroshio meanders south of the Kanto and Tokai districts. Specifically, we adopt a chronological link among the connected components in as follows: When the geometric center of a disjoint domain B n � t+1 ⊂ t at a time t + 1 (2) . 4 a (left) Histogram C t,Δt (x) on x ∈ Ω calculated from the SSH dataset in March 2005 using the 6-month analysis window. b (right) Connected components belonging to B t , where C t,Δt (x) is larger than the threshold of 3 months is contained in a domain B n t ⊂ t at a time t , we create a directed edge between them such as B n � t+1 → B n t , since the domain B n � t+1 is likely to move from the domain B n t . Here, the geometric center of a domain B n t is estimated from the position vectors for a certain fixed point in B n t . Applying this operation to all domains in leads to a directed acyclic graph (DAG) of . The DAG of comprises several disjoint links, called paths, connecting the connected components in t in the backward chronological order. The maximum number of nodes of DAG contained in a path is referred to as a lifespan of the path, expressing how many months the stable cyclonic eddy persists.
From February to April 2005, there are several connected components extracted in the first step as shown in Fig. 5. Here, we focus on a substantial connected component south of the Tokai district. Since the geometric center of the connected component in April 2005 is contained in that in March 2005, we create a directed edge linking between them. From March to February 2005, similarly, we can create a directed edge. All nodes in the link (bottom boxes in Fig. 5) contain the location of the geometric center and area of the connected component. We apply this procedure to all connected components during the whole analysis period. If the area of a disjoint domain at a time t is small, its geometric center is less likely to be contained in the previous month, and thus paths between the disjoint domains are hardly created.
In the third step, we identify paths associated with stable Kuroshio meanderings. Since a cyclonic eddy is located south of the Tokai and Kanto districts during the LM and oNLM periods (Fig. 1a), respectively, we pick up paths of the disjoint domains whose geometric centers exist within [133°-141°E, 31°-35°N]. We then extract nodes and connecting directed edges from the obtained paths if the area exceeds S 0 (= 40 pixels) and the lifespan exceeds three months to detect stable meanderings. The area of S 0 = 40 pixels roughly corresponds to an eddy with the 100 km radius. We have confirmed that only the number of nodes of DAG is slightly changed at S 0 = 35 − 45 pixels.
Finally, we distinguish the obtained meandering periods into the oNLM and LM periods. As described in Sect. 1, the Kuroshio meanders southward off the Kanto district passing through the southern gate of the Izu Ridge during the oNLM period, whereas it forms southward meandering off the Tokai district and then flows along the southern coast around the Kanto district during the LM period. Consequently, we define the oNLM (LM) events if the Kuroshio flows south (north) of 34°N along 140°E section. Here, the Kuroshio position is defined as the southernmost latitude of the COT symbol a − representing a cyclonic eddy. If any cyclonic eddies do not exist south of the Kanto district along 140°E, the Kuroshio position is assumed to be 35.5°N.

Results
We apply the TFDA algorithm to the SSH dataset from the AVISO to detect the Kuroshio meanderings from April 1993 to January 2020. We note that the results are obtained during this period because of the analysis window of ± 3 months although we use the AVISO dataset from January 1993 to April 2020. To check the accuracy of the temporal variations in the Kuroshio position extracted by TFDA, we first compare the Kuroshio southernmost latitude south of the Tokai district (136°-140°E) detected by the JMA and TFDA (Fig. 1b). Here, we define the southernmost latitude of the Kuroshio as that of the COT symbol a − within 136°-140°E. As clear from Fig. 1b, the temporal variations in the Kuroshio position detected by the JMA and TFDA correspond well with each other, and a correlation coefficient is 0.997. However, the Kuroshio position by TFDA is located north of the JMA throughout the whole period, and the bias relative to the JMA is 0.90°. This is probably because the TFDA captures the northern edge of the Kuroshio current because of the definition that the Kuroshio position is detected by the southernmost latitude of the cyclonic eddy (figure not shown). From the above results, it is concluded that TFDA well captures the temporal variations in the Kuroshio position, although the Kuroshio position by TFDA shows the northward shifted bias. and episode E from September 2019 to January 2020. As clear from the definition in subsection 3.3, this study extracts the meanderings that persist longer than three months and whose area in the cyclonic eddy associated with the meanderings exceeds 40 pixels (Figs. 6 and 7b). The JMA reports that the Kuroshio LM occurs at two times in the analysis period based on the southernmost latitude position in 136°-140°E and the sea level difference between Kushimoto and Uragami (Fig. 1b During the episodes A, D, and E, the Kuroshio flows south of 33°N off the Tokai district (Fig. 1b), and then north of 35°N off the Kanto district (Fig. 7a). Furthermore, these episodes are almost consistent with the two LM periods detected by the JMA. In April-August 2019 between episodes D and E, however, the area of the cyclonic eddy is smaller than 40 pixels (Fig. 7b) and, therefore, the TFDA algorithm does not detect meanderings. Its details will be discussed in subsection 4.2.

Kuroshio meandering episodes
During the episodes B and C, as shown in Figs. 1b and 7a, the Kuroshio tends to flow north of 33°N off the Tokai district and then south of 34°N off the Kanto district. Figure 8 shows the partition plots and nodes of Reeb graphs on the left, and the regions of influence only shading the COT symbol a − on the right panels around the episode B period (from August 2013 to March 2014). The COT representation for each month is also shown at the top of the panels. In August 2013 (i.e., two months before the episode B starts), the southward meandering with the COT symbol a 2 − is located south of the Tokai district, moving eastward to off the southern coast of the Kanto district in September 2013. This is consistent with the announcement of the Kuroshio southward meandering south of the Tokai district in August 2013 on the JMA Web site (https:// www. data. jma. go. jp/ gmd/ kaiyou/ shind an/ rinji/ 2013/ 03/ kuros hio_ strea m2013 08. html). From October 2013 to February 2014, the meandering stays at almost the same position with the increase of the cyclonic eddy area. Although the period of the episode C is the shortest among the five episodes, it is shown that the Kuroshio meandering located south of the Tokai district in September 2016 moves to south of the Kanto district in October 2016, and then the Kuroshio passes around the southern gate of the Izu Ridge off the southern coast of the Kanto district in October-December 2016 as is similar to the episode B (figure not shown). Therefore, the episodes B and C are concluded to be the oNLM period.
Although Fig. 2a of Sugimoto and Hanawa (2012) shows that the oNLM occurs more frequently than this study, this discrepancy is caused by the definition of the event in the TFDA algorithm. In this study, we extract the stable Kuroshio meandering events with the period longer than three months and the area of the cyclonic eddy larger than 40 pixels. However, we might be able to identify more meandering events if the area of the cyclonic eddy in the TFDA algorithm is set to 20 pixels (Fig. 7b). Precise validation of the threshold is out of the scope of this study.

Topological features during the meandering periods
In this subsection, we focus on the topological features near the termination of the meandering periods. In January 2014 (i.e., 1 month before the end of the episode B in Fig. 8), for example, the TFDA algorithm indicates remarkable topological structure of a 3 − (b −− ) inside of the cyclonic eddy; inner structure of the eddy a 3 − is topologically divided into subdomains with two elliptic centers enclosed by saddle separatrices of b −− . Before and after January 2014, a single elliptic center exists inside the eddy associated with the meandering. A similar topological structure can be detected near the end of episodes A and D (in May 2005 and April 2019 in Fig. 9, respectively) except for the episode C. Usui et al. (2011)   the northern eddy a 3 − in May-June 2019. After July 2019 a single cyclonic eddy a 3 − starts to grow, and then the area of the eddy exceeds 40 pixels in September 2019. Thus, the TFDA algorithm appears to be difficult to identify the Kuroshio meandering events when the cyclonic eddy inside the meandering is unstable or separated into two eddies. However, this might provide beneficial information on whether the Kuroshio meandering is stable or unstable by comparing the results from the JMA.
When the topological structure of a 3 − (b −− ) is detected inside of the cyclonic eddy, the temporal tendency of the Kuroshio transport across the 137°E section is positive (Fig. 10), and this might be related to the break-up of the cyclonic eddies and the meandering termination. This might be in agreement with results from sensitivity experiments conducted by Usui et al. (2013) that strong Kuroshio transport is not a favorable condition to maintain the Kuroshio LM for a long time. Therefore, as shown in a schematic illustration in Fig. 11, we can suggest a process how the Kuroshio meandering develops and terminates from the viewpoint of topology; After the size of single entrapped cyclonic eddy increases, the inner structure of this eddy is divided into two smaller cyclonic eddies near the termination phase, and finally the meandering structure is lost. This process corresponds to a transition between topological streamline patterns of structurally stable Hamiltonian vector fields through a structurally unstable Hamiltonian vector fields described in Sakajo and Yokoyama (2015). Fig. 7 a Kuroshio position off the Kanto district defined by the southernmost latitude of the COT symbol a − along 140°E, and b area of the cyclonic with paths of the disjoint domains whose geometric centers exist within [133°-141°E, 31°-35°N]. In a, we assume that the Kuroshio is located at 35.5°N during no a − symbols along 140°E (blue dots). In a and b, cyan (orange) shade indicates the meandering (LM) periods identified by the TFDA algorithm (JMA), and capital letters A-E denote the meandering episodes detected by the TFDA algorithm the COT representation. In the COT representation, red characters indicate the COT symbols associated with the meanderings. In the right panel, the red (blue) domains indicate the region of influence associated with a − ( a + ) on the left side of the COT symbol a 2

Conclusion
The TFDA algorithm is developed and applied to the SSH gridded dataset to identify the Kuroshio meanderings from April 1993 to January 2020. The algorithm detects the stable Kuroshio oNLM and LM periods when the meandering with a cyclonic eddy, whose radius is larger than about 100 km, persists longer than three months. It also extracts the time series of the Kuroshio southernmost latitude in 136°-140°E south of the Tokai district and along 140°E south of the Kanto district, respectively, to confirm the accuracy of its temporal variation and distinguish the oNLM and LM periods. The temporal variation of the Kuroshio southernmost position south of the Tokai district detected by the TFDA corresponds well to that by the JMA (Fig. 1b), but it is located north of that by the JMA throughout the entire analysis period. This is because the TFDA algorithm detects the northern edge of the Kuroshio whereas the JMA captures the center of the Kuroshio. We detect the following five meandering periods (Figs. 1b, c, 6 (Fig. 1b) and flows along the southern coast of the Kanto district (Fig. 7a). Furthermore, these episodes are almost consistent with the occurrence period of the Kuroshio LM reported by the JMA. Therefore, the episodes A, D, and E are concluded to be the LM periods. During the episodes B and C, the Kuroshio is located near the southern coast of the Tokai district (Figs. 1b, 8) and then meanders southward off the Kanto district (Figs. 7a, 8). Consequently, the episodes B and C are assigned to the oNLM period. Thus, the TFDA algorithm can identify the difference between stable LM and oNLM path. In addition, the topological features obtained by TFDA suggest a process of how the meandering develops and terminates. With the increase of the size of a single cyclonic eddy and the positive temporal tendency of the Kuroshio transport, the cyclonic eddy is divided into two small eddies near the termination period, and finally the meandering structure is lost (Figs. 8-11). Usui et al. (2011) also indicates the break-up of the Fig. 10 Kuroshio transport across 137°E in boreal summer (red) and winter (blue). Gray dashed lines denote when the COT symbols b −− are detected inside of the cyclonic eddy associated with the meanderings. Cyan (Orange) shade indicates the meandering (LM) periods detected by the TFDA algorithm (JMA). Capital letters A-E show the meandering episodes detected by the TFDA algorithm Fig. 11 Schematic diagram of a topological change in the inner core of the cyclonic eddy entrapped by the Kuroshio meanderings cyclonic eddy at the decaying phase of the LM event in 2004-05. This study first demonstrates topologically the break-up of a single large eddy entrapped by the Kuroshio into two small eddies near the termination phase of the most meandering events. Although it is interesting to investigate the physical mechanisms of the meandering formation and termination as in the previous studies (e.g. Tsujino et al. 2006;Usui et al. 2011), this is beyond the scope of the present work. We will report the results of ensemble sensitivity analyses using an ensemble Kalman filter-based regional ocean data assimilation and prediction system (Ohishi et al. in review) in a future study. This study has applied TFDA to the oceanography field at the first time as far as we know. Although this study uses the monthly-mean SSH to identify the stable Kuroshio meandering south of Japan because of the computational cost and visualization, we are now improving psiclone to reduce the computation cost. The TFDA algorithm would become more useful tool to provide instantaneous flow features and presages of the termination of the Kuroshio meandering period. This can be carried out by applying to near-real-time daily observational datasets and outputs from ocean data assimilation and prediction systems. Also, it further could be developed for an eddy tracking method based on the topological features obtained by TFDA. Such directions are under way.