1
- =====================
2
- Eddies identification
3
- =====================
1
+ ===================
2
+ Eddy identification
3
+ ===================
4
4
5
- Run an identification on a grid
6
- *******************************
5
+ Run the identification process for a single day
6
+ ***********************************************
7
7
8
8
Activate verbose
9
9
10
10
.. code-block :: python
11
11
12
12
import logging
13
- logging.getLogger().setLevel(' DEBUG' ) # Values : ERROR, WARNING, INFO, DEBUG
13
+ logging.getLogger().setLevel(' DEBUG' ) # Available options : ERROR, WARNING, INFO, DEBUG
14
14
15
15
Run identification
16
16
@@ -21,14 +21,14 @@ Run identification
21
21
h.bessel_high_filter(' adt' , 500 , order = 3 )
22
22
date = datetime(2019 , 2 , 23 )
23
23
a, c = h.eddy_identification(
24
- ' adt' , ' ugos' , ' vgos' , # Variable to use for identification
24
+ ' adt' , ' ugos' , ' vgos' , # Variables used for identification
25
25
date, # Date of identification
26
26
0.002 , # step between two isolines of detection (m)
27
- pixel_limit = (5 , 2000 ), # Min and max of pixel can be include in contour
28
- shape_error = 55 , # Error maximal of circle fitting over contour to be accepted
27
+ pixel_limit = (5 , 2000 ), # Min and max pixel count for valid contour
28
+ shape_error = 55 , # Error max (%) between ratio of circle fit and contour
29
29
)
30
30
31
- Plot identification
31
+ Plot the resulting identification
32
32
33
33
.. code-block :: python
34
34
@@ -45,7 +45,7 @@ Plot identification
45
45
46
46
.. image :: ../share/png/eddies.png
47
47
48
- Save identification datas
48
+ Save identification data
49
49
50
50
.. code-block :: python
51
51
0 commit comments