The name of the value dimension should then be what you can refer to from the HoverTool spec. I’d also try to specify it like this "@{Wind_Speed}". If that doesn’t help the output of print(mesh) would help me debug it.
I forgot to mention that when I used the default “hover” by specifying .opts(cmap=highCmap, colorbar=True, tools=["hover"]) the tooltip worked, I have 3 variables shown : “Latitude (degrees_north)”, “Longitude (degrees_east)”, and “Wind_Speed”.
I tried with hover = HoverTool(tooltips=[("A", "@{Wind_Speed}")])
but it still doesn’t work
Here I want to show the wind speed and temperature (temperature information is included in the mesh). The above approach does not work. It seems rasterize will ignore the fourth dimension directly.
Do you have any solution to it? I would appreciate it if you let me know.
Thanks!
Try to open a new post with your question and update your example to be a minimal, reproducible example (MRE). Which is a complete script that can be copied/pasted and immediately run as-is, with no modifications. This is much more useful than snippets.