.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_lake_breeze.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_lake_breeze.py: Example on how to plot lake breeze and determine optimal radar pointing direction ================================================================================= Example workflow on how to run ADAM and plot the resulting lake breeze. In addition, we will set up an instrument at ATMOS and show the angle at which the radar should be pointed to optimally capture the lake breeze. .. GENERATED FROM PYTHON SOURCE LINES 9-15 .. code-block:: Python import matplotlib.pyplot as plt import numpy as np import adam .. GENERATED FROM PYTHON SOURCE LINES 16-17 The location of the Argonne Testbed for Multiscale Observational Studies (ATMOS) .. GENERATED FROM PYTHON SOURCE LINES 17-20 .. code-block:: Python atmos_location = (41.70101404798476, -87.99577278662817) # (lat, lon) .. GENERATED FROM PYTHON SOURCE LINES 21-22 Load a radar scan and run the lake breeze model. .. GENERATED FROM PYTHON SOURCE LINES 22-27 .. code-block:: Python rad_scan = adam.io.preprocess_radar_image('KLOT', '2025-07-15T18:00:00') rad_scan = adam.model.infer_lake_breeze( rad_scan, model_name='lakebreeze_best_model_fcn_resnet50') .. rst-class:: sphx-glr-script-out .. code-block:: none Downloading: "https://download.pytorch.org/models/fcn_resnet50_coco-1167a1af.pth" to /home/runner/.cache/torch/hub/checkpoints/fcn_resnet50_coco-1167a1af.pth 0%| | 0.00/135M [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_lake_breeze.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_lake_breeze.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_