Task 1

Task 2

Task 3

Task 4

Task 5

Welcome

to the VIS2020 Tutorial

Test Data

In this tutorial we want to create a specific colormap for temperature data that are made available by the German Climate Computing Center (DKRZ) and the Max Planck Institute for Meteorology (MPI-M). The data include one timestep of the temperature at the height of 2m simulated with the icosahedral ICON model at a global resolution of 5km. We remapped the data from the unstructured model grid to aa regular grid with 4000-2000 grid points for easier use with different tools. At our data, the simulated 2m-temperature varies between around -63℃ and 52℃. Regionally, however, small temperature variations of the order of 0.1℃ might be critical for the analysis as, e.g., in the neighborhood of the freezing point at 0℃.

We didn't implement rendering features in the CCC-Tool so far. Therefore you can use the Testing section of the tool. We uploaded two data sections (North Pole and Africa) via white/black images into the real world data of the testing section. Click on the button "Test-Section" to get more information. Alternative: You can also use the software Paraview during this tutorial to create visualizations with the original data. To get more introduction, click on "Paraview".

Info: Click on images to open them in fullscreen mode; click again with the mouse to close the fullscreen image. Click on logo images to open the link of the company in a new tab.

Paraview Option

ParaView is an open-source, multi-platform data analysis and visualization application. For this option, you need an installed version of this software. If you don't have one, you can get the installation file here. Depending on the internet speed, the download will take about 3 Minutes.

Click on the folder image on the left side to download a .zip file with the temperature data. Unpack the archive file at a storage location of your choice. The unpacked folder include a NetCDF file (.nc) with the temperature data and a Paraview state file (.pvsm).

Open Paraview and drag and drop the .pvsm file into it. The popup window "Load State Options" will be displayed. Select the option "Search files under specific directory" for "Load State Data File Options". Set the data directory to the unpacked folder with the NetCDF file and accept it with "OK".

Fig. 1: Import state file to paraview.

After importing the state file, you can see in the pipeline browser next to the original "nwp_RB209_reg4k__T_2M_vis.nc" the "Calculator 1". Here we used the calculator feature to convert the Kelvin temperatures into centigrade. Click on the "closed eye" in the pipeline browser to show the element in the render window.

Fig. 2: Info to the imported state file. Compare "Point" rendering with "Surface" rendering.

The state file also set the option "Representation" from the default "Surface" to "Points". In Figure 2, you can see that the point rendering on the left side shows the correct colors of the colormapping. In contrast, the shader at the surface option (right side) influence the colors with lighting/shadows. Tip: You can rotate the rendering with the left mouse key. Here the surface rendering gives you a better image of the current location (Figure 3).

Fig. 3: Compare "Point" rendering with "Surface" rendering during the rotation.

Paraview Colormap Tutorial

Here a short tutorial on how to import colormaps from the CCC-Tool into Paraview. Activate the "Handle Twin Issue" option during the export in the CCC-Tool because Paraview cannot handle our notation of discontinuous transition points. If you forget this option, artifacts can occur in the colormapping. Select for the export format "XML" or "JSON".

Fig. 1: This figure shows the export settings for an import in Paraview.

In Paraview, open the colormap editor (Figure 2, Step 1). Here you can edit colors, the colormap range, and the colorspace for interpolation. With the "Choose present" option you can open a window to apply predefined or imported colormaps (Figure 2, Step 2).

Fig. 2: Open the colormap editor in Paraview.

Click at the "Import" button at the "Choose present" window (Figure 3. Step 1.) and select the exported CCC-Tool file. Exported colormaps from the CCC-Tool are always labeled with "ccc-tool_colormap_" + the colormap name. After the import, select "All" at the top (Figure 3. Step 2.) and scroll to the bottom. There you can find and select your colormap. At least click on "Apply".

Fig. 3: Import colormaps in Paraview.

Testing Section Option

We implemented this section to enable the testing of local and global attributes of scalar fields. Therefore, we offer different self-developed test-functions and predefined test-functions from other computer science and real-world data fields. We added two interesting data-sections via Black/White images to this testing section. Both with a resolution of 500p.

Fig. 1: Show the Testing Section.

You can reach the Testing section from the MyDesigns section or the Edit section (see Fig. 2). If you come from the MyDesigns section, the combo box at the top of the Testing section will be filled with the colormaps from the MyDesings section. Save every coming task of this tutorial as own colormap ('ctrl'+'d') and with this way, you can easily switch between colormaps and compare them. If you come from the Edit section, the Testing section will only show you the current state of the colormap in the Edit section.

Fig. 2: This figure shows how to reach the Testing Section.

If you have opened the Testing section, you will see the collection page. This page gives an overview of all testing functions of the CCC-Tool. Scroll down until you reach "3. Real World Data". The last two items of "3.2 Scientific Simulation" are the two data sections from the temperature field.

Fig. 3: This figure shows where you can find the two data sections of the temperature data.

Select an item on the collection page, and the "Interactive Testing" page with your selected test-function will be displayed. Here you can change options, add noise, save screenshots, compare the colormap with a grey scaled colormapping, and so on.

Fig. 4: This figure shows and screenshot of the "Interactive Testing" page.

For a better imagination, the "Interactive Testing" page also offers a 3D heightmap rendering of the test-function. Switch the radio button from "Pixel-Image" to "Triangle-Grid". At the top of the colormapping, some button will appear. There you can switch to the 3D rendering or show/hide the bounding-box/xyz-axis.

5. Fig.: This figure show a screenshot of the 3D hightmap rendering.

Task 1: Start with the CMS

We want to create a specific colormap for our temperature field. For that, we start with a standard colormap for temperatures, a cool/warm colormap. So the first task of our tutorial is to create such a divergent colormap with the following requirements:

  • Set a suitable label
  • Use a uniform colorspace for interpolation (Lab/DIN99)
  • Colorgradient from blue to white to red
  • Use the Pathplot to modify the lightness process from dark to bright (white) to dark
  • Use at least 5 keys in your colormap and extent the color range of the colormap.
  • Save your colormap
  • (Optional: Dublicate your colormap with "ctrl"+"d")
?

Fig. 1: Example for the first task.

Task 2: Rescale your CMS

The temperature in the data file has a range from -62.971665039062486℃ to 52.18778930664064℃. The default range in the CCC-Tool editor is from 0 to 1. For the creation of a specific colormap, we won't work with rational numbers.

  • Rescale your colormap to the range [-63℃,53℃]
  • Move the white key to 0℃
  • Save your colormap
  • (Optional: Dublicate your colormap with "ctrl"+"d")
?

PS: If a visualization software only supports colormaps with a range [0,1] you can still use real values during the CCC-Tool editor's creation process. Just scale the colormap to the range [0,1] before you export the colormap.

Task 3: Discontinuouse Transition

For the colormapping of our temperature field, it is very important that we can distinguish between negative and positive values. With our colormap's current state, it is not possible to determine the exact border, where this passage from negative and positive values is (compare Figure 1 and 2).

  • Create a discontinuouse transition point at 0℃
  • Set distinguishable and reasonable key colors for this discontinuouse transition.
  • Save your colormap
  • (Optional: Dublicate your colormap with "ctrl"+"d")
?

Fig. 1: The North Pole data section with the current state of our colormap. .

Fig. 2: The North Pole data section after "Task 3". The colormap includes a discontinuous transition at 0, which enables us to distinguish between negative and positive areas.

Task 4: Detailed Positive Range

For the colormapping of our temperature field, we want to increase the richness of detail for the positive values. We need to have more distinguishable sections at the positive range because we can better classify habitats/biotope. Therefore we want to add more colors to our positive range, and we also want to use some color semantics for easy and intuitive classification.

  • Think about temperatures, which are useful to know/recognize e.g. {10℃, 20℃, 30℃, 40℃, 45℃}. You can add more during the process of task 4.
  • Think about semantics for your selected values and connect them with a color. For example at 40 degrees at 40 degrees I think of a desert and a bright beige color.
  • Put your thoughts into practice and update your colormap. Check your steps and switch to the testing section and apply your colormap on the Africa data section.
  • Save your colormap
  • (Optional: Dublicate your colormap with "ctrl"+"d")
?

Task 5: Export

Now we have finished our specified cool/warm colormap, and we want to export it. Maybe sometimes you need a break during the creation process, or you want to save your work. Then the export of the full session could be helpful. If you only want to save a single colormap or export the final colormap, you can use the export page. If your visualization software does not support your chosen interpolation space, you can export the colormap with additional interval colors. With enough interval colors, you can keep the colorspace's attributes and interpolate in a common color space like RGB.

  • Export the full session to save your work.
  • Export the colormap from task 4 with 100 intervals and with activated "Twin Issue"
?

Fig. 1: Export Section of the CCC-Tool.

Congratulation

you have finished the VIS2020 Tutorial