Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly set movie duration for conversion #818

Merged
merged 4 commits into from
Apr 5, 2024

Conversation

kenkehoe
Copy link
Contributor

@kenkehoe kenkehoe commented Apr 5, 2024

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

@zssherman
Copy link
Collaborator

zssherman commented Apr 5, 2024

@kenkehoe Thanks for the PR! Looks like some PEP8 fixes are needed.

@zssherman zssherman merged commit 920d254 into ARM-DOE:main Apr 5, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants