Changeset 1873 in lmdz_wrf for trunk/tools
- Timestamp:
- Mar 27, 2018, 6:59:53 PM (7 years ago)
- Location:
- trunk/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/documentation/plotting/gallery.html
r1590 r1873 30 30 <A HREF="ensemble_time.html"><IMG SRC="figs/Forcing_pr_spacemean.png" ALT="Ensemble time" STYLE="float:left;width:200px;height:200px" TARGET="value"></IMG></A> 31 31 <A HREF="ensemble_time.html"><IMG SRC="figs/T2_spaceensembleIndiv.png" ALT="Ensemble time" STYLE="float:left;width:200px;height:200px" TARGET="value"></IMG></A> 32 <A HREF="multi_2Dshad.html"><IMG SRC="figs/multi_2Dfields_shadow.png" ALT="multi 2D shadow" STYLE="float:left;width:200px;height:200px" TARGET="value"></IMG></A> 32 33 <A HREF="Neighbourgh_evol.html"><IMG SRC="figs/Neighbourghood_evol.png" ALT="Neighbourghood evolution" STYLE="float:left;width:200px;height:200px" TARGET="value"></IMG></A> 33 34 <A HREF="Nlines.html"><IMG SRC="figs/Nlines_hurs_wrfout_tturb-xmean-last.png" ALT="Nlines" STYLE="float:left;width:200px;height:200px" TARGET="value"></IMG></A> -
trunk/tools/documentation/plotting/plotting.html
r1575 r1873 22 22 <A CLASS="lc" HREF="cycle.html" TARGET="value">circular cycle</A><BR> 23 23 <A CLASS="lc" HREF="ensemble_time.html" TARGET="value">Ensemble time</A><BR> 24 <A CLASS="lc" HREF="multi_2Dshad.html" TARGET="value">multi 2D shadow</A><BR> 24 25 <A CLASS="lc" HREF="Neighbourgh_evol.html" TARGET="value">Neighbourghood evolution</A><BR> 25 26 <A CLASS="lc" HREF="Nlines.html" TARGET="value">Nlines</A><BR> -
trunk/tools/drawing.py
r1872 r1873 55 55 ## e.g. # drawing.py -o draw_ensembles_time -f 'Forcing_rain_SESA.nc;time_counter,-1|stats,0;time_centered;rain_stats;ensemble#Forcing_rain_SESA.nc;time_counter,-1|stats,1;time_centered;rain_stats;ensemble#Forcing_rain_SESA.nc;time_counter,-1|stats,2;time_centered;rain_stats;data' -S 'auto;y;tas;mm/d;auto,auto;#0000FF:-:2.:,:2.;year|seconds!since!1958-01-01!00:00:00|exct,5,y|%Y;FromFile;$pr_{space-mean}^{SESA}$;cloud,#AAAADD,auto;$pr_{space-mean}$!evolution!at!SESA;0|10;png;Forcing_pr_spacemean;no;yes' 56 56 ## e.g. # drawing.py -o draw_cycle -f 'Forcing_tairstats_OKstomate_CRUNCEP_spinup_SESA.nc;time_counter,-1|stats,2;time_centered;tair_stats' -S 'auto;y;centered;tair;K;None;12,3;lines,rainbow,horizontal,auto,-,2.;1,3,5@Sep/Nov,Jan/Jul,Mar/May;year|seconds!since!1958-01-01!00:00:00|exct,5,y|%Y;SESA;year-evolution!of!CRUNCEP!tair!forcing!at!SESA;0|10;png;cycle_tair_CRUNCEP_spinup_SESA;yes' 57 ## e.g. # drawing.py -o draw_multi_2D_shad -f '../PY/wrfout_d01_1995-01-01_00:00:00@T2@west_east|-1,south_north|-1,Time|0;../PY/wrfout_d01_1995-01-01_00:00:00@T2@west_east|-1,south_north|-1,Time|1;../PY/wrfout_d01_1995-01-01_00:00:00@T2@west_east|-1,south_north|-1,Time|2;../PY/wrfout_d01_1995-01-01_00:00:00@T2@west_east|-1,south_north|-1,Time|3' -S 'tas:XLONG:XLAT:auto:rainbow,auto,auto:Srange,Srange:png:None:cyl,l:0!UTC,1!UTC,2!UTC,3!UTC:2:2:tas!at!2001-11-11:True' 58 57 59 58 60 ####### … … 8395 8397 return 8396 8398 8397 8398 8399 def draw_multi_2D_shad(ncfiles, values, axfig=None, fig=None): 8399 8400 """ plotting multiple 2D fields with same projection with shading and sharing colorbar -
trunk/tools/drawing_tools.py
r1872 r1873 123 123 # plot_topo_geogrid: 124 124 # plot_topo_geogrid_boxes: 125 # plot_2D_shadow: 125 # plot_2D_shadow: Plot of a 2D field with shadow 126 126 # plot_2D_shadow_time: Plotting a 2D field with one of the axes being time 127 127 # plot_Neighbourghood_evol:Plotting neighbourghood evolution … … 4232 4232 def plot_2D_shadow(varsv, vnames, dimxv, dimyv, dimxu, dimyu, xaxv, yaxv, dimn, \ 4233 4233 cbarv, vs, uts, vtit, kfig, reva, mapv, ifclose): 4234 """ Adding labels and other staff to the graph4234 """ Plot of a 2D field with shadow 4235 4235 varsv= 2D values to plot with shading 4236 4236 vnames= variable names for the figure
Note: See TracChangeset
for help on using the changeset viewer.