drm-to-movie
drm-to-movie: Convert DRM to movie
This is a wrapper around the python driver, keepout_path_graphics.py. It mainly handles annoying filename transformations, so you only need to supply the DRM file name.
Usage:
drm-to-movie.sh [-F] [-l N] [-d D] DRM
to make a movie from the given DRM file. Note, the star-planet config file (SPC) corresponding to the DRM is also needed, as is the JSON script. These filenames are generated from the DRM filename, see "Conventions" below.
where:
-F signals to make only the final frame. Don't use -l with -F.
-l N is the movie length in years.
Supply -l 0 to use the "missionLife" in the script.
Default is the keepout_path_graphics default, 0.5 years.
-d D is the delta-t between frames in days.
Default is the keepout_path_graphics default, 5 days.
-c signals to output certain cumulative graphics.
and less-used options are:
-C signals to write a coronagraph-only movie, even if a starshade is present
-f signals to output frame-by-frame graphics. Don't use with -F.
-D means to load the python debugger while running -- developer use only
Conventions: The SPC file is deduced from the DRM filename. The script file (.json) is deduced from the DRM filename (directory component). The movie output name is generated from the DRM. E.g.: drm = sims/HabEx_4m_TS_dmag26p0_20180206/drm/163191934.pkl spc = sims/HabEx_4m_TS_dmag26p0_20180206/spc/163191934.spc json = Scripts/HabEx_4m_TS_dmag26p0_20180206.json movie = sims/HabEx_4m_TS_dmag26p0_20180206/path/163191934.mp4 (output)
turmon feb 2018