adam.vis.visualize_lake_breeze#

adam.vis.visualize_lake_breeze(radar_scan: RadarImage, bg_field='reflectivity', time=None, **kwargs)[source]#

This module will visualize the lake breeze using PyART’s pyart.graph.RadarMapDisplay(). The default settings are geared towards Chicago with the proper latitude and longitude ranges.

Keyword arguments are passed into pyart.graph.RadarMapDisplay.plot_ppi_map(). See the pyart.graph.RadarMapDisplay.plot_ppi_map() documentation for more details on how to control the appearance of your plot.

Parameters:
  • radar_scan (RadarImage()) – This contains the RadarImage() object with the inferred lake breeze mask already inside.

  • bg_field (str) – The variable name of the field you want to plot the lake breeze mask over.

  • time (str) – The time, in format YYYY-MM-DDTHH:MM:SS, of the radar scan to plot if the input RadarImage contains batch processed radar images. ADAM will look for the closest radar scan to this specified time when searching for scans.

Returns:

fig, ax – The matplotlib figure and axis handle for the plot.

Return type:

handles