| Read in the file named "climate/data/climate.vtp". |
| Apply a calculator filter to convert velocity from geospatial to lat-long coordinates. |
| Render the computed values using a tube filter with 0.05 radius, colored by velocity magnitude, and lit with maximum shininess and include normals for lighting. |
| Add cone glyphs to show the direction of the velocity, using 10 polygons, radius 0.15, height 0.5, and scaling factor 0.5. |
| View the result in the -z direction scaled so that the tubes occupy most of the image. |
| Save a screenshot of the result, 2294 x 1440 pixels, white background, in the filename "climate/results/{agent_mode}/climate.png". |
| Finally, save the ParaView state as "climate/results/{agent_mode}/climate.pvsm" |
|
|
| I would like to use ParaView to visualize a dataset of ocean currents. |
| Read in the file named "climate/data/climate.vtp". |
| Apply a calculator filter to compute the following function: |
| (-velocity_X*sin(coordsX*0.0174533) + velocity_Y*cos(coordsX*0.0174533)) * iHat + (-velocity_X * sin(coordsY*0.0174533) * cos(coordsX*0.0174533) - velocity_Y * sin(coordsY*0.0174533) * sin(coordsX*0.0174533) + velocity_Z * cos(coordsY*0.0174533)) * jHat + 0*kHat |
| Render the computed values using a tube filter with 0.05 as the tube radius. |
| Color the tubes by the magnitude of the velocity. |
| Light the tubes with the maximum shininess and include normals in the lighting. |
| Add cone glyphs to show the direction of the velocity. |
| The glyphs are composed of 10 polygons, having a radius 0 0.15, a height of 0.5, and a scaling factor of 0.5. |
| View the result in the -z direction. |
| Adjust the view so that the tubes occupy the 90% of the image. |
| Save a screenshot of the result, 2294 x 1440 pixels, white background, in the filename "climate/results/{agent_mode}/climate.png". |
| (Optional, but must save if use paraview) Save the paraview state as "climate/results/{agent_mode}/climate.pvsm". |
| (Optional, but must save if use python script) Save the python script as "climate/results/{agent_mode}/climate.py". |
| Do not save any other files, and always save the visualization image. |