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!
1515
1616.. toctree ::
1717 :maxdepth: 2
18- :caption: Contents :
18+ :caption: Toolbox gallery :
1919
2020 python_module/index
2121
Original file line number Diff line number Diff line change 1+ Tracking diagnostics
2+ =======================
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
1011
1112
1213a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
1314c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
1415a = a .merge (c )
1516# 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' )
1919ax .set_xlim (- 5 , 37 )
2020ax .set_ylim (30 , 46 )
2121step = .1
File renamed without changes.
File renamed without changes.
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
1011
1112
1213a = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr" ))
1314c = TrackEddiesObservations .load_file (py_eddy_tracker_sample .get_path ("eddies_med_adt_allsat_dt2018/Cyclonic.zarr" ))
1415
1516# Plot
1617fig = plt .figure (figsize = (15 , 20 ))
17- ax_a = fig .add_subplot (311 )
18+ ax_a = fig .add_subplot (311 , projection = 'plat_carre' )
1819ax_a .set_title ('Anticyclonic frequency' )
19- ax_c = fig .add_subplot (312 )
20+ ax_c = fig .add_subplot (312 , projection = 'plat_carre' )
2021ax_c .set_title ('Cyclonic frequency' )
21- ax_all = fig .add_subplot (313 )
22+ ax_all = fig .add_subplot (313 , projection = 'plat_carre' )
2223ax_all .set_title ('All eddies frequency' )
2324
2425step = 0.1
File renamed without changes.
You can’t perform that action at this time.
0 commit comments