<s> """<STR_LIT>""" <EOL> print ( __doc__ ) <EOL> import matplotlib . pyplot as plt <EOL> import pyart <EOL> import netCDF4 <EOL> filename = '<STR_LIT>' <EOL> radar = pyart . io . read_rsl ( filename ) <EOL> display = pyart . graph . RadarDisplay ( radar ) <EOL> fields_to_plot = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> ranges = [ ( - <NUM_LIT:32> , <NUM_LIT:64> ) , ( - <NUM_LIT> , <NUM_LIT> ) ] <EOL> nplots = len ( fields_to_plot ) <EOL> plt . figure ( figsize = [ <NUM_LIT:5> * nplots , <NUM_LIT:4> ] ) <EOL> for plot_num in range ( nplots ) : <EOL> field = fields_to_plot [ plot_num ] <EOL> vmin , vmax = ranges [ plot_num ] <EOL> plt . subplot ( <NUM_LIT:1> , nplots , plot_num + <NUM_LIT:1> ) <EOL> display . plot ( field , <NUM_LIT:0> , vmin = vmin , vmax = vmax , title_flag = False ) <EOL> display . set_limits ( ylim = [ <NUM_LIT:0> , <NUM_LIT> ] ) <EOL> instrument_name = radar . metadata [ '<STR_LIT>' ] . decode ( '<STR_LIT:utf-8>' ) <EOL> time_start = netCDF4 . num2date ( radar . time [ '<STR_LIT:data>' ] [ <NUM_LIT:0> ] , radar . time [ '<STR_LIT>' ] ) <EOL> time_text = '<STR_LIT:U+0020>' + time_start . isoformat ( ) + '<STR_LIT>' <EOL> azimuth = radar . fixed_angle [ '<STR_LIT:data>' ] [ <NUM_LIT:0> ] <EOL> title = '<STR_LIT>' + instrument_name + time_text + '<STR_LIT>' % ( azimuth ) <EOL> plt . suptitle ( title ) <EOL> plt . show ( ) </s>
