Changeset 2080 in lmdz_wrf
- Timestamp:
- Aug 11, 2018, 1:00:26 AM (7 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r2079 r2080 114 114 # draw_vertical_levels: plotting vertical levels distribution 115 115 # draw_WindRose: Function to plot a wind rose (from where the dinw blows) 116 # draw_WRFeta_levels: Function to plot vertical levels from WRF wrfinput_d[nn] file 116 117 # movie_2D_shad: creation of a movie with shading 117 118 … … 138 139 'draw_topo_geogrid_boxes', 'draw_trajectories', 'draw_vals_trajectories', \ 139 140 'draw_vectors', 'draw_vertical_levels', 'list_graphics', 'draw_WindRose', \ 140 ' movie_2D_shad', 'variable_values']141 'draw_WRFeta_levels', 'movie_2D_shad', 'variable_values'] 141 142 142 143 def draw_2D_shad(ncfile, values, varn, axfig=None, fig=None): … … 10383 10384 locleg, legfontsize = drw.legend_values(legvals,'|') 10384 10385 10385 plt.plot_ draw_WRFeta_levels(allhgtsea, allxhgt, allhgtxhgt, alldhgtsea,\10386 all dhgtxhgt, alletaw, alletau, labs, colors, markers, [locleg, legfontsize],\10387 img tit, imgkind, close)10386 plt.plot_WRFeta_levels(allhgtsea, allxhgt, allhgtxhgt, alldhgtsea, alldhgtxhgt, \ 10387 alletaw, alletau, labs, colors, markers, [locleg, legfontsize], imgtit, \ 10388 imgkind, close) 10388 10389 10389 10390 return … … 10416 10417 'draw_lines_time', 'draw_multiWindRose', 'draw_points', 'draw_Taylor', \ 10417 10418 'draw_time_lag', 'draw_topo_geogrid_boxes', \ 10418 'draw_trajectories', 'draw_vals_trajectories', 'variable_values'] 10419 'draw_trajectories', 'draw_vals_trajectories', 'draw_WRFeta_levels', \ 10420 'variable_values'] 10419 10421 10420 10422 errormsg='ERROR -- error -- ERROR -- error' … … 10553 10555 elif oper == 'draw_WindRose': 10554 10556 draw_WindRose(opts.ncfile, opts.values, opts.varname) 10557 elif oper == 'draw_WRFeta_levels': 10558 draw_WRFeta_levels(opts.ncfile, opts.values) 10555 10559 elif oper == 'movie_2D_shad': 10556 10560 movie_2D_shad(opts.ncfile, opts.values, opts.varname) -
trunk/tools/drawing_tools.py
r2079 r2080 191 191 # plot_TimeEnsembles: Function to plot a of an Ensemble of values with a time-axis 192 192 # plot_WindRose: Function to plot a wind rose (from where the dinw blows) 193 # plot_WRFeta_levels: Function to plot different sets of WRF eta-levels 193 194 # plot_ZQradii: Function to plot following radial averages only at exact grid poins 194 195 # transform: Function to transform the values and the axes … … 12742 12743 return 12743 12744 12744 def plot_ draw_WRFeta_levels(ahgtsea, axhgt, ahgtxhgt, adhgtsea, adhgtxhgt, aetaw, \12745 def plot_WRFeta_levels(ahgtsea, axhgt, ahgtxhgt, adhgtsea, adhgtxhgt, aetaw, \ 12745 12746 imgtit, labels, cols, marks, legvs, figtitle, kfig, close): 12746 12747 """ Function to plot different sets of WRF eta-levels
Note: See TracChangeset
for help on using the changeset viewer.