Animating drifter trajectories#

Trajan supports animating trajectory datasets using a builder pattern. Start with ds.traj.animate(), chain configuration methods, then call .show() to display interactively or .save() to write a file.

import logging
import numpy as np
import xarray as xr
import coloredlogs
import trajan as ta

coloredlogs.install(level=logging.DEBUG, logger=logging.getLogger('trajan'))

Load the Barents Sea drifter dataset, drop short gaps and grid to 6-hourly.

2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting time-variable for "obs"..
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: obs, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Ragged trajectory dataset
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting time-variable for "obs"..
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: obs, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Ragged trajectory dataset
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting time-variable for "obs"..
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: obs, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Ragged trajectory dataset
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: time, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Orthogonal trajectory dataset
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting time-variable for "obs"..
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: obs, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Ragged trajectory dataset
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: time, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Orthogonal trajectory dataset
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detecting trajectory dimension
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected obs-dim: time, detected time-variable: time.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.accessor[4511] DEBUG Detected Orthogonal trajectory dataset

Basic animation — just call .animate() and .show(). The title shows the current timestamp automatically.

ds.traj.animate().set_title('Barents Sea drifters').show()
Barents Sea drifters
2026-11-17 14:15:20 ip-10-0-129-17 trajan.traj[4511] DEBUG Setting up new plot object.
2026-11-17 14:15:20 ip-10-0-129-17 trajan.plot[4511] DEBUG Creating new figure and axes..
2026-11-17 14:15:20 ip-10-0-129-17 trajan.animation[4511] DEBUG Dataset is already regularly gridded, skipping gridtime
2026-11-17 14:15:20 ip-10-0-129-17 trajan.animation[4511] DEBUG Building animation: 192 frames


Colour particles by drift speed. Pass the DataArray directly to color_by — no need to add it to the dataset.

(ds.traj.animate()
    .color_by(speed, cmap='plasma', vmin=0, vmax=1,
              label='Speed  [m/s]')
    .set_title('Drifter speed')
    .show())
Drifter speed
2026-11-17 14:15:34 ip-10-0-129-17 trajan.plot[4511] DEBUG Creating new figure and axes..
2026-11-17 14:15:34 ip-10-0-129-17 trajan.animation[4511] DEBUG Dataset is already regularly gridded, skipping gridtime
2026-11-17 14:15:34 ip-10-0-129-17 trajan.animation[4511] DEBUG Building animation: 192 frames
2026-11-17 14:15:34 ip-10-0-129-17 matplotlib.colorbar[4511] DEBUG locator: <matplotlib.ticker.AutoLocator object at 0x7fb952ce4710>


Show static trajectory lines in the background so the full path of each drifter is always visible.

(ds.traj.animate()
    .color_by(speed, cmap='plasma', vmin=0, vmax=1,
              label='Speed  [m/s]')
    .show_trajectories(alpha=0.15)
    .set_title('Speed with trajectory history')
    .show())
Speed with trajectory history
2026-11-17 14:15:49 ip-10-0-129-17 trajan.plot[4511] DEBUG Creating new figure and axes..
2026-11-17 14:15:49 ip-10-0-129-17 trajan.animation[4511] DEBUG Dataset is already regularly gridded, skipping gridtime
2026-11-17 14:15:49 ip-10-0-129-17 trajan.animation[4511] DEBUG Building animation: 192 frames
2026-11-17 14:15:49 ip-10-0-129-17 trajan.plot[4511] DEBUG Plotting lines
2026-11-17 14:15:49 ip-10-0-129-17 trajan.plot[4511] DEBUG Plotting to existing Cartopy axes
2026-11-17 14:15:49 ip-10-0-129-17 matplotlib.colorbar[4511] DEBUG locator: <matplotlib.ticker.AutoLocator object at 0x7fb94f038d40>


Save the animation to an MP4 file (faster and smaller than GIF).

(ds.traj.animate()
    .color_by(speed, cmap='plasma', vmin=0, vmax=1,
              label='Speed  [m/s]')
    .show_trajectories(alpha=0.2)
    .set_title('Barents Sea drifters')
    .set_fps(10)
    .save('barents_drifters.mp4'))
Barents Sea drifters
2026-11-17 14:16:06 ip-10-0-129-17 trajan.plot[4511] DEBUG Creating new figure and axes..
2026-11-17 14:16:06 ip-10-0-129-17 trajan.animation[4511] DEBUG Dataset is already regularly gridded, skipping gridtime
2026-11-17 14:16:06 ip-10-0-129-17 trajan.animation[4511] DEBUG Building animation: 192 frames
2026-11-17 14:16:06 ip-10-0-129-17 trajan.plot[4511] DEBUG Plotting lines
2026-11-17 14:16:06 ip-10-0-129-17 trajan.plot[4511] DEBUG Plotting to existing Cartopy axes
2026-11-17 14:16:06 ip-10-0-129-17 matplotlib.colorbar[4511] DEBUG locator: <matplotlib.ticker.AutoLocator object at 0x7fb952ce5520>
2026-11-17 14:16:06 ip-10-0-129-17 trajan.animation[4511] DEBUG Saving 192 frames to barents_drifters.mp4
2026-11-17 14:16:06 ip-10-0-129-17 trajan.animation[4511] INFO Saving animation to barents_drifters.mp4..

Saving barents_drifters.mp4:   0%|          | 0/192 [00:00<?, ?frame/s]2026-11-17 14:16:06 ip-10-0-129-17 matplotlib.animation[4511] INFO Animation.save using <class 'matplotlib.animation.FFMpegWriter'>
2026-11-17 14:16:06 ip-10-0-129-17 matplotlib.animation[4511] DEBUG frame size in pixels is 1090 x 1100
2026-11-17 14:16:06 ip-10-0-129-17 matplotlib.animation[4511] INFO MovieWriter._run: running command: ffmpeg -f rawvideo -vcodec rawvideo -s 1090x1100 -pix_fmt rgba -framerate 10 -i pipe: -vcodec libx264 -b 1800k -profile:v baseline -vf 'crop=trunc(iw/2)*2:trunc(ih/2)*2' -pix_fmt yuv420p -an -y barents_drifters.mp4
2026-11-17 14:16:06 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   1%|          | 2/192 [00:00<00:18, 10.00frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.
2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   2%|▏         | 4/192 [00:00<00:21,  8.59frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   3%|▎         | 5/192 [00:00<00:22,  8.33frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   3%|▎         | 6/192 [00:00<00:22,  8.18frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   4%|▎         | 7/192 [00:00<00:22,  8.09frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   4%|▍         | 8/192 [00:00<00:22,  8.04frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   5%|▍         | 9/192 [00:01<00:22,  8.02frame/s]2026-11-17 14:16:07 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   5%|▌         | 10/192 [00:01<00:22,  7.97frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   6%|▌         | 11/192 [00:01<00:22,  8.01frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   6%|▋         | 12/192 [00:01<00:22,  8.03frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   7%|▋         | 13/192 [00:01<00:22,  8.07frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   7%|▋         | 14/192 [00:01<00:22,  8.07frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   8%|▊         | 15/192 [00:01<00:22,  8.04frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   8%|▊         | 16/192 [00:01<00:21,  8.05frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   9%|▉         | 17/192 [00:02<00:21,  8.07frame/s]2026-11-17 14:16:08 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:   9%|▉         | 18/192 [00:02<00:21,  8.05frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  10%|▉         | 19/192 [00:02<00:21,  8.06frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  10%|█         | 20/192 [00:02<00:21,  8.09frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  11%|█         | 21/192 [00:02<00:21,  8.10frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  11%|█▏        | 22/192 [00:02<00:20,  8.10frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  12%|█▏        | 23/192 [00:02<00:20,  8.10frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  12%|█▎        | 24/192 [00:02<00:20,  8.12frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  13%|█▎        | 25/192 [00:03<00:20,  8.14frame/s]2026-11-17 14:16:09 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  14%|█▎        | 26/192 [00:03<00:20,  8.13frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  14%|█▍        | 27/192 [00:03<00:20,  8.14frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  15%|█▍        | 28/192 [00:03<00:20,  8.16frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  15%|█▌        | 29/192 [00:03<00:19,  8.17frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  16%|█▌        | 30/192 [00:03<00:19,  8.13frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  16%|█▌        | 31/192 [00:03<00:19,  8.09frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  17%|█▋        | 32/192 [00:03<00:19,  8.05frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  17%|█▋        | 33/192 [00:04<00:19,  8.02frame/s]2026-11-17 14:16:10 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  18%|█▊        | 34/192 [00:04<00:19,  7.97frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  18%|█▊        | 35/192 [00:04<00:20,  7.85frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  19%|█▉        | 36/192 [00:04<00:19,  7.87frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  19%|█▉        | 37/192 [00:04<00:19,  7.91frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  20%|█▉        | 38/192 [00:04<00:19,  7.93frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  20%|██        | 39/192 [00:04<00:19,  7.94frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  21%|██        | 40/192 [00:04<00:19,  7.96frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  21%|██▏       | 41/192 [00:05<00:18,  7.96frame/s]2026-11-17 14:16:11 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  22%|██▏       | 42/192 [00:05<00:18,  7.95frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  22%|██▏       | 43/192 [00:05<00:18,  7.94frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  23%|██▎       | 44/192 [00:05<00:18,  7.93frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  23%|██▎       | 45/192 [00:05<00:18,  7.92frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  24%|██▍       | 46/192 [00:05<00:18,  7.90frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  24%|██▍       | 47/192 [00:05<00:18,  7.88frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  25%|██▌       | 48/192 [00:05<00:18,  7.88frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  26%|██▌       | 49/192 [00:06<00:18,  7.87frame/s]2026-11-17 14:16:12 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  26%|██▌       | 50/192 [00:06<00:18,  7.88frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  27%|██▋       | 51/192 [00:06<00:17,  7.83frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  27%|██▋       | 52/192 [00:06<00:17,  7.78frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  28%|██▊       | 53/192 [00:06<00:17,  7.85frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  28%|██▊       | 54/192 [00:06<00:17,  7.94frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  29%|██▊       | 55/192 [00:06<00:17,  7.92frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  29%|██▉       | 56/192 [00:06<00:17,  7.96frame/s]2026-11-17 14:16:13 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  30%|██▉       | 57/192 [00:07<00:16,  7.96frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  30%|███       | 58/192 [00:07<00:16,  7.95frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  31%|███       | 59/192 [00:07<00:16,  7.92frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  31%|███▏      | 60/192 [00:07<00:16,  7.97frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  32%|███▏      | 61/192 [00:07<00:16,  8.01frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  32%|███▏      | 62/192 [00:07<00:16,  7.97frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  33%|███▎      | 63/192 [00:07<00:16,  7.97frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  33%|███▎      | 64/192 [00:07<00:16,  7.95frame/s]2026-11-17 14:16:14 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  34%|███▍      | 65/192 [00:08<00:16,  7.93frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  34%|███▍      | 66/192 [00:08<00:15,  7.93frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  35%|███▍      | 67/192 [00:08<00:15,  7.95frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  35%|███▌      | 68/192 [00:08<00:15,  7.96frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  36%|███▌      | 69/192 [00:08<00:15,  7.96frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  36%|███▋      | 70/192 [00:08<00:15,  7.96frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  37%|███▋      | 71/192 [00:08<00:15,  7.98frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  38%|███▊      | 72/192 [00:08<00:15,  7.97frame/s]2026-11-17 14:16:15 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  38%|███▊      | 73/192 [00:09<00:14,  7.99frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  39%|███▊      | 74/192 [00:09<00:14,  7.98frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  39%|███▉      | 75/192 [00:09<00:14,  8.02frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  40%|███▉      | 76/192 [00:09<00:14,  8.07frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  40%|████      | 77/192 [00:09<00:14,  8.10frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  41%|████      | 78/192 [00:09<00:14,  8.09frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  41%|████      | 79/192 [00:09<00:13,  8.08frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  42%|████▏     | 80/192 [00:09<00:13,  8.07frame/s]2026-11-17 14:16:16 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  42%|████▏     | 81/192 [00:10<00:13,  8.04frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  43%|████▎     | 82/192 [00:10<00:13,  8.03frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  43%|████▎     | 83/192 [00:10<00:13,  7.98frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  44%|████▍     | 84/192 [00:10<00:13,  7.98frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  44%|████▍     | 85/192 [00:10<00:13,  7.93frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  45%|████▍     | 86/192 [00:10<00:13,  7.93frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  45%|████▌     | 87/192 [00:10<00:13,  7.94frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  46%|████▌     | 88/192 [00:10<00:13,  7.91frame/s]2026-11-17 14:16:17 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  46%|████▋     | 89/192 [00:11<00:13,  7.90frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  47%|████▋     | 90/192 [00:11<00:12,  7.91frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  47%|████▋     | 91/192 [00:11<00:12,  7.92frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  48%|████▊     | 92/192 [00:11<00:12,  7.95frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  48%|████▊     | 93/192 [00:11<00:12,  7.95frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  49%|████▉     | 94/192 [00:11<00:12,  7.96frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  49%|████▉     | 95/192 [00:11<00:12,  7.98frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  50%|█████     | 96/192 [00:11<00:12,  7.99frame/s]2026-11-17 14:16:18 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  51%|█████     | 97/192 [00:12<00:11,  8.00frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  51%|█████     | 98/192 [00:12<00:11,  7.99frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  52%|█████▏    | 99/192 [00:12<00:11,  7.97frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  52%|█████▏    | 100/192 [00:12<00:11,  7.97frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  53%|█████▎    | 101/192 [00:12<00:11,  7.94frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  53%|█████▎    | 102/192 [00:12<00:11,  7.93frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  54%|█████▎    | 103/192 [00:12<00:11,  7.91frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  54%|█████▍    | 104/192 [00:12<00:11,  7.93frame/s]2026-11-17 14:16:19 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  55%|█████▍    | 105/192 [00:13<00:10,  7.96frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  55%|█████▌    | 106/192 [00:13<00:10,  7.99frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  56%|█████▌    | 107/192 [00:13<00:10,  7.96frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  56%|█████▋    | 108/192 [00:13<00:10,  7.96frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  57%|█████▋    | 109/192 [00:13<00:10,  7.95frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  57%|█████▋    | 110/192 [00:13<00:10,  7.95frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  58%|█████▊    | 111/192 [00:13<00:10,  7.96frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  58%|█████▊    | 112/192 [00:13<00:10,  7.97frame/s]2026-11-17 14:16:20 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  59%|█████▉    | 113/192 [00:14<00:09,  7.97frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  59%|█████▉    | 114/192 [00:14<00:09,  7.95frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  60%|█████▉    | 115/192 [00:14<00:09,  7.94frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  60%|██████    | 116/192 [00:14<00:09,  7.83frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  61%|██████    | 117/192 [00:14<00:09,  7.86frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  61%|██████▏   | 118/192 [00:14<00:09,  7.88frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  62%|██████▏   | 119/192 [00:14<00:09,  7.90frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  62%|██████▎   | 120/192 [00:15<00:09,  7.90frame/s]2026-11-17 14:16:21 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  63%|██████▎   | 121/192 [00:15<00:08,  7.91frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  64%|██████▎   | 122/192 [00:15<00:08,  7.94frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  64%|██████▍   | 123/192 [00:15<00:08,  7.94frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  65%|██████▍   | 124/192 [00:15<00:08,  7.84frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  65%|██████▌   | 125/192 [00:15<00:08,  7.86frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  66%|██████▌   | 126/192 [00:15<00:08,  7.86frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  66%|██████▌   | 127/192 [00:15<00:08,  7.87frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  67%|██████▋   | 128/192 [00:16<00:08,  7.86frame/s]2026-11-17 14:16:22 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  67%|██████▋   | 129/192 [00:16<00:08,  7.84frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  68%|██████▊   | 130/192 [00:16<00:07,  7.85frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  68%|██████▊   | 131/192 [00:16<00:07,  7.88frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  69%|██████▉   | 132/192 [00:16<00:07,  7.85frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  69%|██████▉   | 133/192 [00:16<00:07,  7.89frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  70%|██████▉   | 134/192 [00:16<00:07,  7.90frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  70%|███████   | 135/192 [00:16<00:07,  7.89frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  71%|███████   | 136/192 [00:17<00:07,  7.91frame/s]2026-11-17 14:16:23 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  71%|███████▏  | 137/192 [00:17<00:06,  7.92frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  72%|███████▏  | 138/192 [00:17<00:06,  7.92frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  72%|███████▏  | 139/192 [00:17<00:06,  7.90frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  73%|███████▎  | 140/192 [00:17<00:06,  7.82frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  73%|███████▎  | 141/192 [00:17<00:06,  7.83frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  74%|███████▍  | 142/192 [00:17<00:06,  7.83frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  74%|███████▍  | 143/192 [00:17<00:06,  7.82frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  75%|███████▌  | 144/192 [00:18<00:06,  7.84frame/s]2026-11-17 14:16:24 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  76%|███████▌  | 145/192 [00:18<00:05,  7.87frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  76%|███████▌  | 146/192 [00:18<00:05,  7.87frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  77%|███████▋  | 147/192 [00:18<00:05,  7.89frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  77%|███████▋  | 148/192 [00:18<00:05,  7.83frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  78%|███████▊  | 149/192 [00:18<00:05,  7.87frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  78%|███████▊  | 150/192 [00:18<00:05,  7.88frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  79%|███████▊  | 151/192 [00:18<00:05,  7.89frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  79%|███████▉  | 152/192 [00:19<00:05,  7.89frame/s]2026-11-17 14:16:25 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  80%|███████▉  | 153/192 [00:19<00:04,  7.90frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  80%|████████  | 154/192 [00:19<00:04,  7.89frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  81%|████████  | 155/192 [00:19<00:04,  7.87frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  81%|████████▏ | 156/192 [00:19<00:04,  7.80frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  82%|████████▏ | 157/192 [00:19<00:04,  7.83frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  82%|████████▏ | 158/192 [00:19<00:04,  7.86frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  83%|████████▎ | 159/192 [00:19<00:04,  7.88frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  83%|████████▎ | 160/192 [00:20<00:04,  7.91frame/s]2026-11-17 14:16:26 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  84%|████████▍ | 161/192 [00:20<00:03,  7.95frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  84%|████████▍ | 162/192 [00:20<00:03,  7.97frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  85%|████████▍ | 163/192 [00:20<00:03,  7.99frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  85%|████████▌ | 164/192 [00:20<00:03,  7.97frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  86%|████████▌ | 165/192 [00:20<00:03,  7.97frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  86%|████████▋ | 166/192 [00:20<00:03,  7.95frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  87%|████████▋ | 167/192 [00:20<00:03,  7.95frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  88%|████████▊ | 168/192 [00:21<00:03,  7.97frame/s]2026-11-17 14:16:27 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  88%|████████▊ | 169/192 [00:21<00:02,  7.94frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  89%|████████▊ | 170/192 [00:21<00:02,  7.91frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  89%|████████▉ | 171/192 [00:21<00:02,  7.93frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  90%|████████▉ | 172/192 [00:21<00:02,  7.87frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  90%|█████████ | 173/192 [00:21<00:02,  7.89frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  91%|█████████ | 174/192 [00:21<00:02,  7.88frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  91%|█████████ | 175/192 [00:21<00:02,  7.91frame/s]2026-11-17 14:16:28 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  92%|█████████▏| 176/192 [00:22<00:02,  7.90frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  92%|█████████▏| 177/192 [00:22<00:01,  7.87frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  93%|█████████▎| 178/192 [00:22<00:01,  7.89frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  93%|█████████▎| 179/192 [00:22<00:01,  7.89frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  94%|█████████▍| 180/192 [00:22<00:01,  7.76frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  94%|█████████▍| 181/192 [00:22<00:01,  7.77frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  95%|█████████▍| 182/192 [00:22<00:01,  7.81frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  95%|█████████▌| 183/192 [00:23<00:01,  7.84frame/s]2026-11-17 14:16:29 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  96%|█████████▌| 184/192 [00:23<00:01,  7.85frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  96%|█████████▋| 185/192 [00:23<00:00,  7.87frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  97%|█████████▋| 186/192 [00:23<00:00,  7.89frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  97%|█████████▋| 187/192 [00:23<00:00,  7.91frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  98%|█████████▊| 188/192 [00:23<00:00,  7.84frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  98%|█████████▊| 189/192 [00:23<00:00,  7.94frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  99%|█████████▉| 190/192 [00:23<00:00,  7.92frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4:  99%|█████████▉| 191/192 [00:24<00:00,  7.93frame/s]2026-11-17 14:16:30 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.

Saving barents_drifters.mp4: 100%|██████████| 192/192 [00:24<00:00,  7.91frame/s]2026-11-17 14:16:31 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter.grab_frame: Grabbing frame.
2026-11-17 14:16:31 ip-10-0-129-17 matplotlib.animation[4511] DEBUG MovieWriter stderr:
ffmpeg version 9.0.2 Copyright (c) 2000-2026 the FFmpeg developers
  built with gcc 15.3.0 (conda-forge gcc 15.3.0-7)
  configuration: --prefix=/home/runner/micromamba/envs/trajan --cc=x86_64-conda-linux-gnu-cc --cxx=x86_64-conda-linux-gnu-c++ --nm=x86_64-conda-linux-gnu-nm --ar=x86_64-conda-linux-gnu-ar --disable-doc --enable-openssl --enable-demuxer=dash --enable-hardcoded-tables --enable-libfreetype --enable-libharfbuzz --enable-libfontconfig --enable-libopenh264 --enable-libdav1d --disable-gnutls --enable-libvpx --enable-libass --enable-libplacebo --enable-pthreads --enable-alsa --enable-libpulse --enable-libvpl --enable-vaapi --enable-libopenvino --enable-gpl --enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-pic --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libvorbis --enable-libopus --enable-librsvg --enable-libjxl --enable-libwebp --enable-ffplay --enable-vulkan --pkg-config=/home/conda/feedstock_root/build_artifacts/ffmpeg_1794632927986/_build_env/bin/pkg-config
  libavutil      61.  1.102 / 61.  1.102
  libavcodec     63.  1.102 / 63.  1.102
  libavformat    63.  1.102 / 63.  1.102
  libavdevice    63.  1.102 / 63.  1.102
  libavfilter    12.  1.102 / 12.  1.102
  libswscale     10.  1.102 / 10.  1.102
  libswresample   7.  1.102 /  7.  1.102
Input #0, rawvideo, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: 383680 kb/s
  Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 1090x1100, 383680 kb/s, 10 tbr, 10 tbn
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
[libx264 @ 0x55eaed8f8140] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x55eaed8f8140] profile Constrained Baseline, level 3.2, 4:2:0, 8-bit
[libx264 @ 0x55eaed8f8140] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'barents_drifters.mp4':
  Metadata:
    encoder         : Lavf63.1.102
  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 1090x1100, q=2-31, 1800 kb/s, 10 fps, 10240 tbn
    Metadata:
      encoder         : Lavc63.1.102 libx264
    Side data:
      CPB properties: bitrate max/min/avg: 0/0/1800000 buffer size: 0 vbv_delay: N/A
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:00.50
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:01.00
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:01.50
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:02.00
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:02.50
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:03.00
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:03.50
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:04.00
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:04.50
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:05.00
frame=    0 fps=0.0 q=0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:05.50
frame=    1 fps=0.2 q=20.0 size=       0KiB time=00:00:00.10 bitrate=   3.8kbits/s speed=0.0167x elapsed=0:00:06.00
frame=    5 fps=0.8 q=10.0 size=       0KiB time=00:00:00.50 bitrate=   0.8kbits/s speed=0.0769x elapsed=0:00:06.50
frame=    9 fps=1.3 q=4.0 size=       0KiB time=00:00:00.90 bitrate=   0.4kbits/s speed=0.129x elapsed=0:00:07.00
frame=   13 fps=1.7 q=2.0 size=       0KiB time=00:00:01.30 bitrate=   0.3kbits/s speed=0.173x elapsed=0:00:07.50
frame=   17 fps=2.1 q=0.0 size=       0KiB time=00:00:01.70 bitrate=   0.2kbits/s speed=0.212x elapsed=0:00:08.00
frame=   21 fps=2.5 q=0.0 size=       0KiB time=00:00:02.10 bitrate=   0.2kbits/s speed=0.247x elapsed=0:00:08.50
frame=   25 fps=2.8 q=0.0 size=       0KiB time=00:00:02.50 bitrate=   0.2kbits/s speed=0.278x elapsed=0:00:09.00
frame=   29 fps=3.1 q=0.0 size=       0KiB time=00:00:02.90 bitrate=   0.1kbits/s speed=0.305x elapsed=0:00:09.50
frame=   33 fps=3.3 q=0.0 size=       0KiB time=00:00:03.30 bitrate=   0.1kbits/s speed=0.33x elapsed=0:00:10.00
frame=   37 fps=3.5 q=0.0 size=       0KiB time=00:00:03.70 bitrate=   0.1kbits/s speed=0.352x elapsed=0:00:10.50
frame=   41 fps=3.7 q=0.0 size=       0KiB time=00:00:04.10 bitrate=   0.1kbits/s speed=0.373x elapsed=0:00:11.00
frame=   45 fps=3.9 q=0.0 size=       0KiB time=00:00:04.50 bitrate=   0.1kbits/s speed=0.391x elapsed=0:00:11.50
frame=   49 fps=4.1 q=0.0 size=       0KiB time=00:00:04.90 bitrate=   0.1kbits/s speed=0.408x elapsed=0:00:12.00
frame=   53 fps=4.2 q=0.0 size=       0KiB time=00:00:05.30 bitrate=   0.1kbits/s speed=0.424x elapsed=0:00:12.50
frame=   57 fps=4.4 q=0.0 size=       0KiB time=00:00:05.70 bitrate=   0.1kbits/s speed=0.438x elapsed=0:00:13.00
frame=   61 fps=4.5 q=0.0 size=       0KiB time=00:00:06.10 bitrate=   0.1kbits/s speed=0.452x elapsed=0:00:13.50
frame=   65 fps=4.6 q=0.0 size=       0KiB time=00:00:06.50 bitrate=   0.1kbits/s speed=0.464x elapsed=0:00:14.00
frame=   69 fps=4.8 q=0.0 size=       0KiB time=00:00:06.90 bitrate=   0.1kbits/s speed=0.476x elapsed=0:00:14.50
frame=   73 fps=4.9 q=0.0 size=       0KiB time=00:00:07.30 bitrate=   0.1kbits/s speed=0.487x elapsed=0:00:15.00
frame=   77 fps=5.0 q=0.0 size=       0KiB time=00:00:07.70 bitrate=   0.0kbits/s speed=0.497x elapsed=0:00:15.50
frame=   81 fps=5.1 q=0.0 size=       0KiB time=00:00:08.10 bitrate=   0.0kbits/s speed=0.506x elapsed=0:00:16.00
frame=   85 fps=5.2 q=0.0 size=       0KiB time=00:00:08.50 bitrate=   0.0kbits/s speed=0.515x elapsed=0:00:16.50
frame=   89 fps=5.2 q=0.0 size=       0KiB time=00:00:08.90 bitrate=   0.0kbits/s speed=0.523x elapsed=0:00:17.00
frame=   93 fps=5.3 q=0.0 size=       0KiB time=00:00:09.30 bitrate=   0.0kbits/s speed=0.531x elapsed=0:00:17.50
frame=   97 fps=5.4 q=0.0 size=       0KiB time=00:00:09.70 bitrate=   0.0kbits/s speed=0.539x elapsed=0:00:18.00
frame=  101 fps=5.5 q=0.0 size=       0KiB time=00:00:10.10 bitrate=   0.0kbits/s speed=0.546x elapsed=0:00:18.50
frame=  104 fps=5.5 q=0.0 size=       0KiB time=00:00:10.50 bitrate=   0.0kbits/s speed=0.553x elapsed=0:00:19.00
frame=  108 fps=5.5 q=0.0 size=       0KiB time=00:00:10.80 bitrate=   0.0kbits/s speed=0.554x elapsed=0:00:19.50
frame=  112 fps=5.6 q=0.0 size=       0KiB time=00:00:11.20 bitrate=   0.0kbits/s speed=0.56x elapsed=0:00:20.00
frame=  116 fps=5.7 q=0.0 size=       0KiB time=00:00:11.60 bitrate=   0.0kbits/s speed=0.566x elapsed=0:00:20.50
frame=  120 fps=5.7 q=0.0 size=       0KiB time=00:00:12.00 bitrate=   0.0kbits/s speed=0.571x elapsed=0:00:21.00
frame=  124 fps=5.8 q=0.0 size=       0KiB time=00:00:12.40 bitrate=   0.0kbits/s speed=0.577x elapsed=0:00:21.50
frame=  128 fps=5.8 q=0.0 size=       0KiB time=00:00:12.80 bitrate=   0.0kbits/s speed=0.582x elapsed=0:00:22.00
frame=  132 fps=5.9 q=0.0 size=       0KiB time=00:00:13.20 bitrate=   0.0kbits/s speed=0.587x elapsed=0:00:22.50
frame=  136 fps=5.9 q=0.0 size=       0KiB time=00:00:13.60 bitrate=   0.0kbits/s speed=0.591x elapsed=0:00:23.00
frame=  140 fps=6.0 q=0.0 size=       0KiB time=00:00:14.00 bitrate=   0.0kbits/s speed=0.596x elapsed=0:00:23.50
frame=  144 fps=6.0 q=0.0 size=       0KiB time=00:00:14.40 bitrate=   0.0kbits/s speed= 0.6x elapsed=0:00:24.00
[out#0/mp4 @ 0x55eaed8f7680] video:182KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.858700%
frame=  192 fps=7.9 q=-1.0 Lsize=     184KiB time=00:00:19.20 bitrate=  78.5kbits/s speed=0.795x elapsed=0:00:24.15
[libx264 @ 0x55eaed8f8140] frame I:1     Avg QP: 2.99  size: 32122
[libx264 @ 0x55eaed8f8140] frame P:191   Avg QP: 0.82  size:   806
[libx264 @ 0x55eaed8f8140] mb I  I16..4: 88.0%  0.0% 12.0%
[libx264 @ 0x55eaed8f8140] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.7%  0.0%  0.0%  0.0%  0.0%    skip:99.1%
[libx264 @ 0x55eaed8f8140] final ratefactor: -17.67
[libx264 @ 0x55eaed8f8140] coded y,uvDC,uvAC intra: 9.8% 6.9% 6.8% inter: 0.3% 0.1% 0.1%
[libx264 @ 0x55eaed8f8140] i16 v,h,dc,p: 89% 10%  2%  0%
[libx264 @ 0x55eaed8f8140] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 29% 22%  3%  3%  3%  3%  3%  4%
[libx264 @ 0x55eaed8f8140] i8c dc,h,v,p: 95%  3%  2%  0%
[libx264 @ 0x55eaed8f8140] ref P L0: 91.6%  4.6%  3.7%
[libx264 @ 0x55eaed8f8140] kb/s:77.56


Saving barents_drifters.mp4: 100%|██████████| 192/192 [00:24<00:00,  7.90frame/s]


gallery/animations/example_animation_0.gif

Total running time of the script: (1 minutes 27.471 seconds)

Gallery generated by Sphinx-Gallery