1.5.1.1.3.1.1. polar2grid.enhancements.shared module

Enhancement functions shared between multiple sensors.

polar2grid.enhancements.shared._parse_palettes_for_p2g_cmap(palettes: list)[source]
polar2grid.enhancements.shared.colorize(img, **kwargs)[source]
polar2grid.enhancements.shared.palettize(img, **kwargs)[source]
polar2grid.enhancements.shared.temperature_difference(img, min_stretch, max_stretch, **kwargs)[source]

Scale data linearly with a buffer on the edges for over limit data.

Basic behavior is to put -10 to 10 range into 5 to 205 with clipped data set to 4 and 206.