Openradar.io Historical Image Generator

Please follow these steps to running this script

  1. Edit the configuration below. Stick to the basic options if you're unsure of the rest
  2. From the top menus select: 'Cell' -> 'Run All'
  3. A download link will print at the bottom of this notebook when the images are ready
In [ ]:
# BASIC CONFIGURATION
rid   = '50'         # radar identification number (leading zero needed for single digits), string
rdate = '2014/11/27' # UTC date to start the image generation (format: YYYY/MM/DD), string
rtime = '06:00'      # UTC time to start the image generation (format: HH:MM), string
rdur  = 1            # number of hours from start date/time for image generation (MUST NOT EXTEND TO THE NEXT DAY), integer
prng  = 150          # number of kilometers from the radar site to plot, integer
field = 'reflectivity'       # product to plot. Reflectivity = 'reflectivity', Doppler Velocity = 'velocity'
                             # (Others/Polarimetric:differential_reflectivity, cross_correlation_ratio, specific_differential_phase, differential_phase, spectrum_width), string
# MAP CONFIGURATION
hide_place_names = [''] #list of placenames you wish to hide from the map (they are auto generated), list of string
nice_radar_name = 'Marburg' #name of radar to use for title, string
nice_colorbar_name = field #name to use for colorbar
range_ring_list = [50, 100] #list of range ring disances from the radar site (km), list of numbers

# ADVANCED CONFIGURATION
tilt     = 1                      # PPI index in volume to plot, first/lowest PPI is number 0, integer
# ADVANCED CONFIGURATION - Reflectivity
vmin_ref = 20                     # minimum of colourmap (values less than will be removed), integer
vmax_ref = 65                     # maximum of colormap (values greater than will be removed), integer
cmap_ref = 'pyart_HomeyerRainbow' # colormap to use. Another option is 'pyart_NWSRef' for more see https://arm-doe.github.io/pyart/API/generated/pyart.graph.html, string
# ADVANCED CONFIGURATION - Doppler Velocity
vmin_vel =-26                     # minimum of colormap, integer
vmax_vel = 26                     # maximum of colormap, integer
cmap_vel = 'pyart_BuDRd18'        # colormap to use, string
# ADVANCED CONFIGURATION - Other/Polarimetric
vmin_pol = -1                     # minimum of colormap, integer
vmax_pol = 5                      # maximum of colormap, integer
cmap_pol = 'pyart_HomeyerRainbow' # olormap to use, string
In [ ]:
import core

cdict = {
    'rid':rid, 'rdate':rdate, 'rtime':rtime, 'rdur':rdur, 'prng':prng, 'field':field,
    'hide_place_names':hide_place_names,'nice_radar_name':nice_radar_name, 'range_ring_list':range_ring_list,
    'tilt':tilt,
    'vmin_ref':vmin_ref, 'vmax_ref':vmax_ref, 'cmap_ref':cmap_ref,
    'vmin_vel':vmin_vel, 'vmax_vel':vmax_vel, 'cmap_vel':cmap_vel,
    'vmin_pol':vmin_pol, 'vmax_pol':vmax_pol, 'cmap_pol':cmap_pol
        }

core.build_animation(cdict)