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 77from matplotlib import pyplot as plt
88from py_eddy_tracker .observations .tracking import TrackEddiesObservations
99import py_eddy_tracker_sample
10- import pylook
1110
1211
1312a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
1413c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
1514a = a .merge (c )
1615# Plot
1716fig = plt .figure (figsize = (20 , 8 ))
18- ax = fig .add_subplot (111 , projection = 'plat_carre' )
17+ ax = fig .add_subplot (111 )
1918ax .set_xlim (- 5 , 37 )
2019ax .set_ylim (30 , 46 )
2120step = .1
Original file line number Diff line number Diff line change 77from matplotlib import pyplot as plt
88from py_eddy_tracker .observations .tracking import TrackEddiesObservations
99import py_eddy_tracker_sample
10- import pylook
1110
1211
1312a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
1413c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
1514
1615# Plot
1716fig = plt .figure (figsize = (15 , 20 ))
18- ax_a = fig .add_subplot (311 , projection = 'plat_carre' )
17+ ax_a = fig .add_subplot (311 )
1918ax_a .set_title ('Anticyclonic frequency' )
20- ax_c = fig .add_subplot (312 , projection = 'plat_carre' )
19+ ax_c = fig .add_subplot (312 )
2120ax_c .set_title ('Cyclonic frequency' )
22- ax_all = fig .add_subplot (313 , projection = 'plat_carre' )
21+ ax_all = fig .add_subplot (313 )
2322ax_all .set_title ('All eddies frequency' )
2423
2524step = 0.1
You can’t perform that action at this time.
0 commit comments