Difference between revisions of "UCVM 3D Viz"

From SCECpedia
Jump to navigationJump to search
Line 9: Line 9:
 
#change it to 9999.0 to test it.
 
#change it to 9999.0 to test it.
 
#Install bundle by executing the python2 script "build_plugin_macros.py"
 
#Install bundle by executing the python2 script "build_plugin_macros.py"
#Option 2: As indicated on top of the Plugin Manager window, you may place your plugin files under the designated plugin directory so they would
+
#Option 2: As indicated on top of the Plugin Manager window, you may place your plugin files under the designated plugin directory so they would be loaded automatically. A better option would be to make the designated plugin directory a soft symbolic link of your plugin directory:
                      be loaded automatically. A better option would be to make the designated plugin directory a soft symbolic link of your plugin directory:
 
 
#ln -s {FULL PATH TOIRIS_EMC_Paraview}/plugins {FULL PATH TO PARAVIEW APPLICATION DIRECTORY}/Contents/MacOS/plugins
 
#ln -s {FULL PATH TOIRIS_EMC_Paraview}/plugins {FULL PATH TO PARAVIEW APPLICATION DIRECTORY}/Contents/MacOS/plugins
 
#then restart ParaView
 
#then restart ParaView

Revision as of 22:18, 24 October 2018

These are notes on the steps we used to visualize UCVM models in 3D. Current efforts are to visualize the supported models using IRIS EMC Paraview plugin tools.

Installing IRIS EMC Plugins

  1. Retrieve the latest EMC Paraview distribution
  2. To support SCEC models with large value range, update the read_models.py plugin file
 read_models.py
               if V[var][i,j,k] > 999.0:
                  scalars.InsertNextValue(float('nan’))
  1. change it to 9999.0 to test it.
  2. Install bundle by executing the python2 script "build_plugin_macros.py"
  3. Option 2: As indicated on top of the Plugin Manager window, you may place your plugin files under the designated plugin directory so they would be loaded automatically. A better option would be to make the designated plugin directory a soft symbolic link of your plugin directory:
  4. ln -s {FULL PATH TOIRIS_EMC_Paraview}/plugins {FULL PATH TO PARAVIEW APPLICATION DIRECTORY}/Contents/MacOS/plugins
  5. then restart ParaView
  6. In ParaView go to "Sources --> IRIS EMC" to see various EMC sources you have installed
  7. In ParaView go to "Filters--> IRIS EMC" to see the single EMC filter you have installed (it should be grayed out since you have no data to filter yet!)

Creating NetCDF files from UCVM models

IRIS Web Pages

Related Entries