From 450afbb5349e0b17b1cda6e57b92c07240ca5c39 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Wed, 28 Sep 2022 17:04:59 +0200 Subject: [PATCH] Polish --- Inst_eddies/Documentation_texfol/documentation.tex | 8 ++++++++ Overlap/spher_polygon_area.f90 | 6 +++--- README.md | 13 ++----------- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Inst_eddies/Documentation_texfol/documentation.tex b/Inst_eddies/Documentation_texfol/documentation.tex index 2eccb4be..18dd8e36 100644 --- a/Inst_eddies/Documentation_texfol/documentation.tex +++ b/Inst_eddies/Documentation_texfol/documentation.tex @@ -264,6 +264,10 @@ l'amplitude minimale. Même si un contour extérieur est trouvé (avec une amplitude supérieure à l'amplitude minimale par construction), il peut ne pas être valide à cause du critère de surface minimale. +Le principe général est que la composante \verb+speed_cont+ est vide +s'il n'y a pas mieux que \verb+out_cont+ comme contour de vitesse +maximale. + \begin{tabular}{p{5cm}cp{5cm}} \hline Le champ speed de extremum.dbf vaut \verb+missing_speed+ @@ -1412,6 +1416,10 @@ Déplacer des champs de \verb+extremum.dbf+ à vitesse, radius4, valid ? C'est possible mais ce n'est pas sûr qu'on y gagne en clarté et en facilité d'utilisation. +Modifier le critère de recouvrement : intersection des contous +extérieurs supérieure à 50 \% et intersection des contours de vitesse +maximale non nulle. + \subsection{Grille non longitude-latitude} Comment faire si la grille n'est pas une grille longitude-latitude ? diff --git a/Overlap/spher_polygon_area.f90 b/Overlap/spher_polygon_area.f90 index c4b32028..91f1b149 100644 --- a/Overlap/spher_polygon_area.f90 +++ b/Overlap/spher_polygon_area.f90 @@ -6,9 +6,9 @@ contains pure real function spher_polygon_area(p) - ! Assuming p is a polygon in longitude, latitude, compute the area - ! of a polygon in longitude, sin(latitude) with the same - ! vertices. Result in m2. + ! Assuming p is a polygon in longitude, latitude, compute the + ! (positive) area of a polygon in longitude, sin(latitude) with + ! the same vertices. Result in m2. ! Libraries: use gpc_f, only: polygon diff --git a/README.md b/README.md index 359f4534..e7800b69 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,5 @@ This code implements ideas and methods described in the following articles: [Pegliasco et al., 2015](https://doi.org/10.1002/2015jc010950); [Laxenaire et al., 2018](https://doi.org/10.1029/2018JC014270). -Dependencies: -graph-tool -networkx -pyshp -f90nml -cartopy -pygifsicle -ipython -h5py -pynco -pygraphviz +Dependencies: graph-tool networkx pyshp f90nml cartopy pygifsicle +ipython h5py pynco pygraphviz -- GitLab