There is an issue guessing the duration of the MPG movie when converting to another file type. If the time step of the movie is more than 0.1 then there can be multiple images that are the same. Checking multiple images being the same is how to determine the end of the movie. This fix allows some fudge factor by checking for multiple repeating images to signify the end.
[ X] Documentation reflects changes
[ X] PEP8 Standards or use of linter
[ X] Xarray Dataset or DataArray variable naming follows 'ds' or 'da' naming
There is an issue guessing the duration of the MPG movie when converting to another file type. If the time step of the movie is more than 0.1 then there can be multiple images that are the same. Checking multiple images being the same is how to determine the end of the movie. This fix allows some fudge factor by checking for multiple repeating images to signify the end.