import netCDF_Reader as nrd
filename = 'history.nc'
wave = nrd.import_Wave(filename)
wave?
wave.variable_list()
Data variables: p (time, y, x) float64 ...
We can choose our variable
variable = 'p'
How works the method animate?
wave.animate?
So, we just have to use the method with the variable that we choose
wave.animate(variable, save=True)
MovieWriter PillowWriter unavailable; trying to use <class 'matplotlib.animation.PillowWriter'> instead.
...........Done!