Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Detection eddies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
914e26e8
Commit
914e26e8
authored
1 year ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
9b44e485
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Trajectories/Documentation_texfol/documentation.tex
+43
-18
43 additions, 18 deletions
Trajectories/Documentation_texfol/documentation.tex
Trajectories/Tests/tests.json
+1
-1
1 addition, 1 deletion
Trajectories/Tests/tests.json
with
44 additions
and
19 deletions
Trajectories/Documentation_texfol/documentation.tex
+
43
−
18
View file @
914e26e8
...
...
@@ -7,6 +7,7 @@
\usepackage
[T1]
{
fontenc
}
\usepackage
{
lmodern
}
\usepackage
{
algorithmic
}
\usepackage
{
babel
}
\usepackage
{
graphicx
}
...
...
@@ -29,6 +30,9 @@
\begin{document}
\maketitle
\tableofcontents
\section
{
Divers
}
Lorsque plusieurs tourbillons fusionnent ou lorsqu'un tourbillon se
divise, il peut être utile de suivre dans le futur un des tourbillons
...
...
@@ -77,8 +81,6 @@ k0998, équation (1)) qui permet de faire un choix à travers la
jonction. Ou bien utilisation de la fonction de coût de Le Vu (2018
k1000).
Les trajectoires forment une partition du graphe en géodésiques.
\verb
+
cost_function.py
+
. En extrayant les
$
10
^
6
$
premières arêtes dans
le graphe des tourbillons instantanés, les tourbillons sont étalés sur
un an environ. Le graphe des segments contient environ
\np
{
8e4
}
...
...
@@ -121,22 +123,6 @@ Mémoire vive nécessaire pour charger le graphe global sur 28 ans, sans
attributs, avec Graph-tool : environ
\np
{
6.1
}
GiB. Il faut au moins 11
GiB avec Networkx.
Script
\verb
+
trajectory.py
+
. Cf. tableau
\ref
{
tab:trajectory
}
.
\begin{table}
[htbp]
\centering
\begin{tabular}
{
llll
}
Cas
&
v0.28
&
v0.29
&
v0.30
\\
\hline
Greece
\_
trajectories
&
OK
&
KO
&
OK
\\
Division
\_
fusion
&
KO
&
OK
&
OK
\\
Test
\_
order
\_
edges
&
OK
&
KO
&
OK
\\
Traj
\_
component
&
KO
&
KO
&
OK
\\
\end{tabular}
\caption
{
Tests du script
\texttt
{
trajectory.py
}
. KO signifie que les
trajectoires obtenues par le script ne sont pas satisfaisantes.
}
\label
{
tab:trajectory
}
\end{table}
\section
{
\texttt
{
segments.py
}}
Définition d'un segment : si un tourbillon se divise, c'est-à-dire si
...
...
@@ -185,4 +171,43 @@ segment isolé.
La révision 6f5bb0c1 donne exactement le même résultat que la 787726e0
sur le graphe global 1993-2020.
\section
{
Script
\texttt
{
trajectory.py
}}
Les trajectoires forment une partition du graphe en géodésiques.
Cf. tableau
\ref
{
tab:trajectory
}
.
\begin{table}
[htbp]
\centering
\begin{tabular}
{
llll
}
Cas
&
v0.28
&
v0.29
&
v0.30
\\
\hline
Greece
\_
trajectories
&
OK
&
KO
&
OK
\\
Division
\_
fusion
&
KO
&
OK
&
OK
\\
Test
\_
order
\_
edges
&
OK
&
KO
&
OK
\\
Traj
\_
component
&
KO
&
KO
&
OK
\\
\end{tabular}
\caption
{
Tests du script
\texttt
{
trajectory.py
}
. KO signifie que les
trajectoires obtenues par le script ne sont pas satisfaisantes.
}
\label
{
tab:trajectory
}
\end{table}
On peut en principe construire
\verb
+
traj_vert_ind
+
à partir de
\verb
+
traj_prop
+
après la boucle sur les noeuds du graphe :
\begin{algorithmic}
\STATE
traj
\_
vert
\_
ind =
\{\}
\FOR
{
n in topology.topological
\_
sort(g)
}
\IF
{
traj
\_
prop[n] in traj
\_
vert
\_
ind
}
\STATE
traj
\_
vert
\_
ind[traj
\_
prop[n]].append(n)
\ELSE
\STATE
traj
\_
vert
\_
ind[traj
\_
prop[n]] = [n]
\ENDIF
\ENDFOR
\STATE
traj
\_
vert
\_
ind = [traj
\_
vert
\_
ind(t) for t in
range(len(traj
\_
vert
\_
ind))]
\end{algorithmic}
L'avantage serait de clarifier la première boucle sur les noeuds du
graphe, qui aurait pour seule mission de définir
\verb
+
traj_prop
+
. Mais ce serait probablement plus long.
\end{document}
This diff is collapsed.
Click to expand it.
Trajectories/Tests/tests.json
+
1
−
1
View file @
914e26e8
...
...
@@ -137,7 +137,7 @@
"$src_dir/Trajectories/trajectories.py"
,
"$src_dir/Trajectories/Tests/segments_cost.graphml"
],
"description"
:
"A toy case of division followed by fusion."
"description"
:
"A toy case of division followed by fusion.
Note this is a phantom pattern.
"
},
"Test_order_edges"
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment