shared module¶
Shared routines for plotting
-
shared.png_ffmpeg(source, target)¶ Make a movie from a set of sequential png files
- Parameters
source (str) – Path to sequentially named image files Example: ‘/path/to/images/prefix_%04d_varname.png’
target (str) – Path to location to store output video file Example: ‘/path/to/output/prefix_varname.mp4’
-
shared.set_diff_filename(ncfile: str, varname: str, target: str)¶ create a standard named output filename to more easily make animations from plots
-
shared.set_filename(ncfile: str, varname: str, target: str)¶ create a standard named output filename to more easily make animations from plots