Difference between revisions of "UCVM 3D Viz"

From SCECpedia
Jump to navigationJump to search
(Created page with "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. == Installin...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
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.
 
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 ==
 
== Installing IRIS EMC Plugins ==
 +
#Retrieve the latest EMC Paraview distribution
 +
# 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’))
 +
#change it to 9999.0 to test it.
 +
#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 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
 +
#then restart ParaView
 +
#In ParaView go to "Sources --> IRIS EMC" to see various EMC sources you have installed
 +
#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 ==
 
== Creating NetCDF files from UCVM models ==
 +
*[https://www.unidata.ucar.edu/software/netcdf/ UCAR NetCDF files]
  
 
== IRIS Web Pages ==
 
== IRIS Web Pages ==
*[]
+
*[http://ds.iris.edu/ds/products/emc/ EMC Home Page]
 +
*[http://ds.iris.edu/ds/products/emc-desktoptools/ EMC Tools]
 +
*[http://ds.iris.edu/ds/products/emc-contributionguide/ VM Contribution Guide]
  
 
== Related Entries ==
 
== Related Entries ==
 
*[[UCVM]]
 
*[[UCVM]]

Latest revision as of 00:41, 25 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