-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Hi! Lots of delay, but I was able to save the datasets! This seems like a simple and silly problem, but I'm trying to run some of the post-processing files on the eddy tracking datasets.
I've ran most of the post-processing scripts and most of them work (for example, I can display the fields, find tracks that go through an area, plot one track, etc). However, I'm having trouble with the "track animation" where you choose one eddy and track it over time. In the documentation,
from py_eddy_tracker.appli.gui import Anim
from py_eddy_tracker.observations.tracking import TrackEddiesObservations
# Load experimental atlas, and we select one eddy
a = TrackEddiesObservations.load_file("/content/drive/MyDrive/Ocean/tracks/Anti_tracks/Anticyclonic.nc")
eddy = a.extract_ids([1000]).index(slice(0, 35))
a = Anim(eddy, sleep_event=0.1, intern=True, figsize=(8, 3.5), cmap="viridis") # sleep_event = 1e-10
a.txt.set_position((17, 34.6))
a.ax.set_xlim(xmin, xmax)
a.ax.set_ylim(ymin, ymax)
a.show(infinity_loop=False)However, I just get an empty grid. I have been reading through some of the documentation on saving animations from python, but it seems like the Anim function from py_eddy_tracker isn't intuitive to me and the normal animation saving methods. Is there a way to save the animation to see if it is working but just not showing up?
Let me know what you think! Thanks
Originally posted by @boatwrva in #100 (comment)