generate_movie() uses moviepy to convert a mpg to other format. If the mpg movie does not have duration parameter set moviepy will guess incorrectly and the converted movie is too short. Adding code to loop through mpg movie to get correct duration for conversion.
[ X] Tests added
[X ] Documentation reflects changes
[ X] PEP8 Standards or use of linter
[ X] Xarray Dataset or DataArray variable naming follows 'ds' or 'da' naming
generate_movie() uses moviepy to convert a mpg to other format. If the mpg movie does not have duration parameter set moviepy will guess incorrectly and the converted movie is too short. Adding code to loop through mpg movie to get correct duration for conversion.