File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
examples/tracking_diagnostics Expand file tree Collapse file tree 2 files changed +4
-6
lines changed 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
11
10
12
11
13
12
a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
14
13
c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
15
14
a = a .merge (c )
16
15
# Plot
17
16
fig = plt .figure (figsize = (20 , 8 ))
18
- ax = fig .add_subplot (111 , projection = 'plat_carre' )
17
+ ax = fig .add_subplot (111 )
19
18
ax .set_xlim (- 5 , 37 )
20
19
ax .set_ylim (30 , 46 )
21
20
step = .1
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
11
10
12
11
13
12
a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
14
13
c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
15
14
16
15
# Plot
17
16
fig = plt .figure (figsize = (15 , 20 ))
18
- ax_a = fig .add_subplot (311 , projection = 'plat_carre' )
17
+ ax_a = fig .add_subplot (311 )
19
18
ax_a .set_title ('Anticyclonic frequency' )
20
- ax_c = fig .add_subplot (312 , projection = 'plat_carre' )
19
+ ax_c = fig .add_subplot (312 )
21
20
ax_c .set_title ('Cyclonic frequency' )
22
- ax_all = fig .add_subplot (313 , projection = 'plat_carre' )
21
+ ax_all = fig .add_subplot (313 )
23
22
ax_all .set_title ('All eddies frequency' )
24
23
25
24
step = 0.1
You can’t perform that action at this time.
0 commit comments