File tree Expand file tree Collapse file tree 7 files changed +10
-7
lines changed
examples/tracking_diagnostics Expand file tree Collapse file tree 7 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Welcome to py-eddy-tracker's documentation!
15
15
16
16
.. toctree ::
17
17
:maxdepth: 2
18
- :caption: Contents :
18
+ :caption: Toolbox gallery :
19
19
20
20
python_module/index
21
21
Original file line number Diff line number Diff line change
1
+ Tracking diagnostics
2
+ =======================
Original file line number Diff line number Diff line change 7
7
from matplotlib import pyplot as plt
8
8
from py_eddy_tracker .observations .tracking import TrackEddiesObservations
9
9
import py_eddy_tracker_sample
10
+ import pylook
10
11
11
12
12
13
a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
13
14
c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
14
15
a = a .merge (c )
15
16
# Plot
16
- fig = plt .figure (figsize = (15 , 8 ))
17
- ax = fig .add_subplot (111 )
18
- ax .set_aspect ("equal" )
17
+ fig = plt .figure (figsize = (20 , 8 ))
18
+ ax = fig .add_subplot (111 , projection = 'plat_carre' )
19
19
ax .set_xlim (- 5 , 37 )
20
20
ax .set_ylim (30 , 46 )
21
21
step = .1
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
from matplotlib import pyplot as plt
8
8
from py_eddy_tracker .observations .tracking import TrackEddiesObservations
9
9
import py_eddy_tracker_sample
10
+ import pylook
10
11
11
12
12
13
a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
13
14
c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
14
15
15
16
# Plot
16
17
fig = plt .figure (figsize = (15 , 20 ))
17
- ax_a = fig .add_subplot (311 )
18
+ ax_a = fig .add_subplot (311 , projection = 'plat_carre' )
18
19
ax_a .set_title ('Anticyclonic frequency' )
19
- ax_c = fig .add_subplot (312 )
20
+ ax_c = fig .add_subplot (312 , projection = 'plat_carre' )
20
21
ax_c .set_title ('Cyclonic frequency' )
21
- ax_all = fig .add_subplot (313 )
22
+ ax_all = fig .add_subplot (313 , projection = 'plat_carre' )
22
23
ax_all .set_title ('All eddies frequency' )
23
24
24
25
step = 0.1
File renamed without changes.
You can’t perform that action at this time.
0 commit comments