Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HeatmapReflectivityShort is a color gradient for cloud reflectivity // composites between 5dBZ and 75dBZ. HeatmapReflectivityShort = Heatmap(5.0, 75.0, Id) // HeatmapReflectivity is a color gradient for cloud reflectivity // composites between 5dBZ and 75dBZ. HeatmapReflectivity = Heatmap(1.0, 75.0, Id) // HeatmapReflectivityWide is a color gradient for cloud reflectivity // composites between -32.5dBZ and 75dBZ. HeatmapReflectivityWide = Heatmap(-32.5, 75.0, Id) // HeatmapAccumulatedHour is a color gradient for accumulated rainfall // composites (e.g RW) between 0.1mm/h and 100 mm/h using logarithmic // compression. HeatmapAccumulatedHour = Heatmap(0.1, 100, Log) // HeatmapAccumulatedDay is a color gradient for accumulated rainfall // composites (e.g. SF) between 0.1mm and 200mm using logarithmic // compression. HeatmapAccumulatedDay = Heatmap(0.1, 200, Log) HeatmapRadialVelocity = Radialmap(-31.5, 31.5, Log) // GraymapLinear is a linear grayscale gradient between the (raw) rvp-6 // values 0 and 409.5. GraymapLinear = Graymap(0, 409.5, Id) // GraymapLinearWide is a linear grayscale gradient between the (raw) // rvp-6 values 0 and 4095. GraymapLinearWide = Graymap(0, 4095, Id) )
Sample color and grayscale gradients for visualization with the image method.
Functions ¶
Types ¶
type ColorFunc ¶
A ColorFunc can be used to assign colors to data values for image creation.
func Graymap ¶
Graymap returns a grayscale gradient between min and max. A compression function is used to make logarithmic scales possible.
Click to show internal directories.
Click to hide internal directories.