Changeset 1873 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Mar 27, 2018, 6:59:53 PM (7 years ago)
Author:
lfita
Message:

Adding documentation of `multi_2D_shad'

Location:
trunk/tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/documentation/plotting/gallery.html

    r1590 r1873  
    3030      <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>
    3131      <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>
    3233      <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>
    3334      <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  
    2222      <A CLASS="lc" HREF="cycle.html" TARGET="value">circular cycle</A><BR>
    2323      <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>
    2425      <A CLASS="lc" HREF="Neighbourgh_evol.html" TARGET="value">Neighbourghood evolution</A><BR>
    2526      <A CLASS="lc" HREF="Nlines.html" TARGET="value">Nlines</A><BR>
  • trunk/tools/drawing.py

    r1872 r1873  
    5555## 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'
    5656## 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
    5759
    5860#######
     
    83958397    return
    83968398
    8397 
    83988399def draw_multi_2D_shad(ncfiles, values, axfig=None, fig=None):
    83998400    """ plotting multiple 2D fields with same projection with shading and sharing colorbar
  • trunk/tools/drawing_tools.py

    r1872 r1873  
    123123# plot_topo_geogrid:
    124124# plot_topo_geogrid_boxes:
    125 # plot_2D_shadow:
     125# plot_2D_shadow: Plot of a 2D field with shadow
    126126# plot_2D_shadow_time: Plotting a 2D field with one of the axes being time
    127127# plot_Neighbourghood_evol:Plotting neighbourghood evolution
     
    42324232def plot_2D_shadow(varsv, vnames, dimxv, dimyv, dimxu, dimyu, xaxv, yaxv, dimn,      \
    42334233  cbarv, vs, uts, vtit, kfig, reva, mapv, ifclose):
    4234     """ Adding labels and other staff to the graph
     4234    """ Plot of a 2D field with shadow
    42354235      varsv= 2D values to plot with shading
    42364236      vnames= variable names for the figure
Note: See TracChangeset for help on using the changeset viewer.