Changes between Version 7 and Version 8 of Examples/Ear5Animating
- Timestamp:
- 07/10/18 11:57:27 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Examples/Ear5Animating
v7 v8 13 13 }}} 14 14 15 For JURECA software stage 2018a, the modules can be loaded by:15 For JURECA software stage 2018a, the needed modules are: 16 16 {{{ 17 17 #!bash … … 51 51 {{{ 52 52 #!bash 53 module spider python53 module spider h5py 54 54 }}} 55 55 {{{ … … 137 137 How To transfer colormaps from GUI to script:\\ 138 138 Once you have designed a good colormap in the GUI, you can save it there as a preset. This preset can then be renamed and saved to disk as a *.json file. 139 Since a different colormap makes sense for each variable, one will end up with more then one colormap file. In this example the naming scheme for colormap files is "stein_''variable''.json", e.g. "stein_vo.json" for the vorticity. This naming scheme is expected in the Python script s, which among other things loadthe color tables:139 Since a different colormap makes sense for each variable, one will end up with more then one colormap file. In this example the naming scheme for colormap files is "stein_''variable''.json", e.g. "stein_vo.json" for the vorticity. This naming scheme is expected in the Python script, which among other things loads the color tables: 140 140 {{{ 141 141 #!python … … 165 165 As you can see above, the script expects the naming convention "camera_''variable''.pvcvbc", e.g. "camera_vo.pvcvbc" for the vorticity. 166 166 167 === How-To start a !ParaView script ===167 === How-To start a !ParaView-Python script === 168 168 Generally a !ParaView python script is started with "pvpython script.py" (or, on a VNC-server, like JURECA, by "vglrun pvpython script.py"). On JURECA, however, the following approach is necessary: first start a pvserver on display :0.0 and let pvpython connect to this server. This can be done in one command line: 169 169 {{{ … … 204 204 ./make_movie_pvserver.sh 205 205 }}} 206 Rendering takes about 10 minutes. As a result, 10 images for the variables "ciwc" and "clwc" should be generated. The images can be viewed on JURECA with"/usr/local/jsc/etc/xdg/scripts/launch_gpicview.sh image*.jpg".206 Rendering takes about 10 minutes. As a result, 10 images for the variables "ciwc" and "clwc" should be generated. The images can be viewed with GPicView on JURECA via "/usr/local/jsc/etc/xdg/scripts/launch_gpicview.sh image*.jpg".