Changes between Version 2 and Version 3 of Examples/WRF


Ignore:
Timestamp:
07/20/18 11:50:39 (6 years ago)
Author:
Herwig Zilken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Examples/WRF

    v2 v3  
    7878== Time Information ==
    7979The time value of the 12 timesteps is store in the variable XTIME, which is just a one-dimensional array of size 12.
     80
     81== XDMF Files ==
     82There are 4 python scripts for generating the necessary xdfm-file:
     83* make_xdmf_structuredgrid.py: generates one xdfm-file for all timesteps containing some 3D variables and the wind vectors.
     84* make_xdmf_structuredgrid_singletimesteps.py: same as above, but generates a single xdmf file for each timestep.
     85* make_xdmf_structuredgrid_2d.py: generates one xdfm-file for all timesteps containing some 2D variables. The coordinates of this surface layer is read from the lowest level (as a hyperslab) from the 3D coordinates stored in coordinates.h5.
     86* make_xdmf_structuredgrid_2d_singletimesteps.py: same as above, but generates a single xdmf file for each timestep.
     87
     88
     89== !ParaView Script ==
     90The images are generated by the script "paraview_movie_script.py", or by an upgraded version called "paraview_movie_script_test.py", which was developed later and can better handle the progression from time animation to the camera flight.
     91Generelly, this script reads structuredGrid.xdmf and structuredGrid_2D.xdmf.
     92Also some stored colortable are loaded (e.g. "colortable_qvapor.json") and assigned to the variables. The structured grid is resampled to image data of size 1600x1600x100, which is volume rendered by one variable (e.g. CLDFRA or QVAPOR).
     93Predefined camera positions are loaded from "cam4.pvcvbc" and are used in 3 keyframes for the camera flight.
     94
     95In a first try we had problems with !ParaView, because during the camera flight, which only shows the last timestep, !ParaView loaded this timestep again and again for each camera move, slowing down the rendering process significantly. Therefore the script "paraview_movie_script_singletimestep.py" was developed, which (in connection with "make_xdmf_structuredgrid_singletimesteps.py") only loaded the last timestep for the camera flight. Actually, this approach is no longer necessary, as a work around was found and implemented in "paraview_movie_script_test.py".