Changeset 1403 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 12, 2017, 3:26:51 PM (8 years ago)
Author:
lfita
Message:

Fixing issues and introducing $pyHOME

Location:
trunk/tools/documentation
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/documentation/generic/signifdecmop.html

    r1223 r1403  
    2727    </DIV>
    2828    <DIV CLASS="valins">
    29       $ python generic.py -o significant_decomposition -S 3.141592,-6<BR>
     29      $ python ${pyHOME}/generic.py -o significant_decomposition -S 3.141592,-6<BR>
    3030      (8, [0.0, -1.0, -2.0, -3.0, -4.0, -5.0, -6.0], [3, 1, 4, 1, 5, 9, 2])
    3131    </DIV>
  • trunk/tools/documentation/ncmanage/compute_opersvarsfiles.html

    r1245 r1403  
    5252    </DIV>
    5353    <DIV CLASS="valins">
    54       $ python nc_var.py -o compute_opersvarsfiles -S 'west_east|XLONG|-1;south_north|XLAT|-1;Time|Times|3@add|wrfout_d01_2001-11-11_00:00:00|T2%west_east|XLONG|-1;south_north|XLAT|-1;Time|Times|3@subc,273.15|wrfout_d01_2001-11-11_00:00:00|None' -v 'tempC,air!temperature,C'<BR>
    55       $ python nc_var.py -o compute_opersvarsfiles -S 'lon|lon|-1;lat|lat|-1;time_counter|time_counter|-1@forwrdderiv,1,1,2|/ccc/store/cont003/gen7593/fitaborl/etudes/DynamicoESM/aquaplanet/AR40/19800101000000-19810101000000/histday.nc|t2m' -v 'tasderiv,x-derivative|of|air|temperature,K
     54      $ python ${pyHOME}/nc_var.py -o compute_opersvarsfiles -S 'west_east|XLONG|-1;south_north|XLAT|-1;Time|Times|3@add|wrfout_d01_2001-11-11_00:00:00|T2%west_east|XLONG|-1;south_north|XLAT|-1;Time|Times|3@subc,273.15|wrfout_d01_2001-11-11_00:00:00|None' -v 'tempC,air!temperature,C'<BR>
     55      $ python ${pyHOME}/nc_var.py -o compute_opersvarsfiles -S 'lon|lon|-1;lat|lat|-1;time_counter|time_counter|-1@forwrdderiv,1,1,2|/ccc/store/cont003/gen7593/fitaborl/etudes/DynamicoESM/aquaplanet/AR40/19800101000000-19810101000000/histday.nc|t2m' -v 'tasderiv,x-derivative|of|air|temperature,K
    5656    </DIV>
    5757  </BODY>
  • trunk/tools/documentation/ncmanage/field_stats.html

    r1237 r1403  
    2424    </DIV>
    2525    <DIV CLASS="valins">
    26       $ python nc_var.py -o field_stats -S 'full,None,None' -f startphy.nc -v all
     26      $ python ${pyHOME}/nc_var.py -o field_stats -S 'full,None,None' -f startphy.nc -v all
    2727    </DIV>
    2828  </BODY>
  • trunk/tools/documentation/ncmanage/intro.html

    r1237 r1403  
    4848        <LI><SPAN CLASS="codetxt">chvarname:</SPAN> Changing the name of the variable</LI>
    4949        <LI><SPAN CLASS="codetxt">cleaning_varsfile:</SPAN> Function to keep a list of variabales from a file</LI>
    50         <LI><SPAN CLASS="codetxt">compute_opersvarsfiles:</SPAN> Function to compute opersvarfiles: operation of variables from different files (OPER1.FILE1_VAR1 OPER2.FILE2_VAR2), operations are going to be sequentially</LI>
    51       made<LI><SPAN CLASS="codetxt">DatesFiles:</SPAN> Function to find different time values on a series of WRF files in a folder</LI>
     50        <LI><SPAN CLASS="codetxt">compute_opersvarsfiles:</SPAN> Function to compute opersvarfiles: operation of variables from different files (OPER1.FILE1_VAR1 OPER2.FILE2_VAR2), operations are going to be sequentially made</LI>
     51        <LI><SPAN CLASS="codetxt">curve_section:</SPAN> Function to provide a section of a file following a given curve</LI>
     52        <LI><SPAN CLASS="codetxt">DatesFiles:</SPAN> Function to find different time values on a series of WRF files in a folder</LI>
    5253        <LI><SPAN CLASS="codetxt">DataSetSection:</SPAN> Function to get a section (values along a dimension) of a given data-set</LI>
    5354        <LI><SPAN CLASS="codetxt">DataSetSection_multidims:</SPAN> Function to get a section (values along multiple dimensions) of a given data-set</LI>
  • trunk/tools/documentation/ncmanage/ncmanage.html

    r1244 r1403  
    88    <DIV CLASS="colmenu">
    99      <A CLASS="lc" HREF="compute_opersvarsfiles.html" TARGET="value">compute_opersvarsfiles</A><BR>
     10      <A CLASS="lc" HREF="curve_section.html" TARGET="value">curve_section</A><BR>
    1011      <A CLASS="lc" HREF="field_stats.html" TARGET="value">field_stats</A><BR>
    1112    </DIV>
  • trunk/tools/documentation/plotting/2Dshad.html

    r1257 r1403  
    6969    </DIV>
    7070    <DIV CLASS="valins">
    71       $ python drawing.py -o draw_2D_shad -f wrfout_d01_2001-11-11_00:00:00 -S 'tas:west_east|-1,south_north|-1,Time|2:XLONG:XLAT:auto:rainbow,auto,auto:Srange,Srange:tas|at|2001-11-11|02|UTC:png:None:cyl,l:True' -v T2
     71      $ python ${pyHOME}/drawing.py -o draw_2D_shad -f wrfout_d01_2001-11-11_00:00:00 -S 'tas:west_east|-1,south_north|-1,Time|2:XLONG:XLAT:auto:rainbow,auto,auto:Srange,Srange:tas|at|2001-11-11|02|UTC:png:None:cyl,l:True' -v T2
    7272    </DIV>
    7373  </BODY>
  • trunk/tools/documentation/plotting/2Dshad_cont.html

    r1257 r1403  
    7272    </DIV>
    7373    <DIV CLASS="valins">
    74       $ python drawing.py -o draw_2D_shad_cont -f wrfout_d01_2001-11-11_00:00:00 -S 'huss,tas:west_east|-1,south_north|-1,Time|2:Time|2:XLONG:XLAT:auto:Blues,auto,auto:fixc,r:%3g:Srange,Srange:260,300,9:huss|&|tas|at|2001-11-11|02|UTC:png:None:cyl,c:True' -v Q2,T2
     74      $ python ${pyHOME}/drawing.py -o draw_2D_shad_cont -f wrfout_d01_2001-11-11_00:00:00 -S 'huss,tas:west_east|-1,south_north|-1,Time|2:Time|2:XLONG:XLAT:auto:Blues,auto,auto:fixc,r:%3g:Srange,Srange:260,300,9:huss|&|tas|at|2001-11-11|02|UTC:png:None:cyl,c:True' -v Q2,T2
    7575    </DIV>
    7676  </BODY>
  • trunk/tools/documentation/plotting/2Dshad_cont_time.html

    r1257 r1403  
    7676    </DIV>
    7777    <DIV CLASS="valins">
    78       $ python drawing.py -o draw_2D_shad_cont_time -f wrfout_d01_2001-11-11_00:00:00 -S 'hfls,tas;west_east|-1,south_north|27,Time|-1;south_north|27;XLONG;WRFtime;auto;BuPu,auto,auto;fixc,y;%3g;Srange,Srange;260,300,9;huss|&|tas|evolution|at|south_north=27;png;None;WRFtime|hours!since!1949-12-01|exct,1,h|$%d^{%H}$|date!($[DD]^{[HH]}$);True' -v LH,T2
     78      $ python ${pyHOME}/drawing.py -o draw_2D_shad_cont_time -f wrfout_d01_2001-11-11_00:00:00 -S 'hfls,tas;west_east|-1,south_north|27,Time|-1;south_north|27;XLONG;WRFtime;auto;BuPu,auto,auto;fixc,y;%3g;Srange,Srange;260,300,9;huss|&|tas|evolution|at|south_north=27;png;None;WRFtime|hours!since!1949-12-01|exct,1,h|$%d^{%H}$|date!($[DD]^{[HH]}$);True' -v LH,T2
    7979    </DIV>
    8080  </BODY>
  • trunk/tools/documentation/plotting/2Dshad_line.html

    r1257 r1403  
    8686    </DIV>
    8787    <DIV CLASS="valins">
    88       $ python drawing.py -o draw_2D_shad_line -f wrfout_d01_2001-11-11_00:00:00,wrfout_d01_2001-11-11_00:00:00 -S 'hus,hgt:west_east|-1,south_north|96,Time|2,bottom_top|-1:XLONG:ZNU:auto:rainbow,auto,horizontal:Srange,Srange:k,0.,4000.,auto,auto,auto,45.:vert.|sec.|hus|at|y=96|on|2001-11-11|02|UTC:png:flip@y:None:True' -v QVAPOR,HGT
     88      $ python ${pyHOME}/drawing.py -o draw_2D_shad_line -f wrfout_d01_2001-11-11_00:00:00,wrfout_d01_2001-11-11_00:00:00 -S 'hus,hgt:west_east|-1,south_north|96,Time|2,bottom_top|-1:XLONG:ZNU:auto:rainbow,auto,horizontal:Srange,Srange:k,0.,4000.,auto,auto,auto,45.:vert.|sec.|hus|at|y=96|on|2001-11-11|02|UTC:png:flip@y:None:True' -v QVAPOR,HGT
    8989    </DIV>
    9090  </BODY>
  • trunk/tools/documentation/plotting/2Dshad_line_time.html

    r1257 r1403  
    8888    </DIV>
    8989    <DIV CLASS="valins">
    90     $ python drawing.py -o draw_2D_shad_line_time -f wrfout_d01_2001-11-11_00:00:00,wrfout_d01_2001-11-11_00:00:00 -S 'hus,ps;west_east|10,south_north|96,Time|-1,bottom_top|-1;WRFtime;ZNU;auto;rainbow,auto,horizontal;Srange,Srange;k,Srange,Srange,auto,auto,auto,45.;vert.|sec.|hus|&|ps|at|x=10,y=96|temporal|evolution;png;flip@y;WRFtime|hours!since!1949-12-01!00:00:00|Nval,7|%H$^{%M}$|time!($[HH]^{[MM]}$);True' -v QVAPOR,PSFC
     90    $ python ${pyHOME}/drawing.py -o draw_2D_shad_line_time -f wrfout_d01_2001-11-11_00:00:00,wrfout_d01_2001-11-11_00:00:00 -S 'hus,ps;west_east|10,south_north|96,Time|-1,bottom_top|-1;WRFtime;ZNU;auto;rainbow,auto,horizontal;Srange,Srange;k,Srange,Srange,auto,auto,auto,45.;vert.|sec.|hus|&|ps|at|x=10,y=96|temporal|evolution;png;flip@y;WRFtime|hours!since!1949-12-01!00:00:00|Nval,7|%H$^{%M}$|time!($[HH]^{[MM]}$);True' -v QVAPOR,PSFC
    9191    </DIV>
    9292  </BODY>
  • trunk/tools/documentation/plotting/2Dshad_time.html

    r1257 r1403  
    6767    </DIV>
    6868    <DIV CLASS="valins">
    69       $ python drawing.py -o draw_2D_shad_time -f wrfout_d01_2001-11-11_00:00:00 -S 'hurs~west_east|-1,south_north|27,Time|-1~XLONG~WRFtime~auto~Blues,auto,auto~Srange,Srange~tas|evolution|at|south_north=27~png~None~WRFtime|hours!since!1949-12-01|exct,1,h|$%d^{%H}$|date!($[DD]^{[HH]}$)~True' -v Q2
     69      $ python ${pyHOME}/drawing.py -o draw_2D_shad_time -f wrfout_d01_2001-11-11_00:00:00 -S 'hurs~west_east|-1,south_north|27,Time|-1~XLONG~WRFtime~auto~Blues,auto,auto~Srange,Srange~tas|evolution|at|south_north=27~png~None~WRFtime|hours!since!1949-12-01|exct,1,h|$%d^{%H}$|date!($[DD]^{[HH]}$)~True' -v Q2
    7070    </DIV>
    7171  </BODY>
  • trunk/tools/documentation/plotting/Neighbourgh_evol.html

    r1278 r1403  
    6262    </DIV>
    6363    <DIV CLASS="valins">
    64       $ python drawing.py -o draw_Neighbourghood_evol -S 'vas:Time|-1|WRFtime,south_north|44|XLAT,west_east|88|XLONG:south_north,west_east:5:auto:time|($[DD]^{[HH]}$),time|($[DD]^{[HH]}$):exct,1,h|exct,3,h:$%d^{%H}$,$%d^{%H}$:5|pts|neighbourghood|temporal|evolution|on|2001|Nov.|at|x=88,|y=44:0.0,20.:rainbow,auto,auto:auto:png:vas_Neigh_evol:True' -f wrfout_d01_2001-11-11_00:00:00 -v V10
     64      $ python ${pyHOME}/drawing.py -o draw_Neighbourghood_evol -S 'vas:Time|-1|WRFtime,south_north|44|XLAT,west_east|88|XLONG:south_north,west_east:5:auto:time|($[DD]^{[HH]}$),time|($[DD]^{[HH]}$):exct,1,h|exct,3,h:$%d^{%H}$,$%d^{%H}$:5|pts|neighbourghood|temporal|evolution|on|2001|Nov.|at|x=88,|y=44:0.0,20.:rainbow,auto,auto:auto:png:vas_Neigh_evol:True' -f wrfout_d01_2001-11-11_00:00:00 -v V10
    6565    </DIV>
    6666  </BODY>
  • trunk/tools/documentation/plotting/Nlines.html

    r1261 r1403  
    5555    </DIV>
    5656    <DIV CLASS="valins">
    57       $ python drawing.py -f WRF/current/hurs_wrfout_tturb_xmean_last.nc,WRF/micro1/hurs_wrfout_tturb_xmean_last.nc,WRF/micro2/hurs_wrfout_tturb_xmean_last.nc,WRF_LMDZ/AR40/hurs_wrfout_tturb_xmean_last.nc,WRF_LMDZ/NPv31/hurs_wrfout_tturb_xmean_last.nc,LMDZ/AR40/hurs_reproj-histins_tturb_xmean_last.nc,LMDZ/NPv31/hurs_reproj-histins_tturb_xmean_last.nc -o draw_lines -S 'lat:x:lat ($degrees\ North$):auto:wcurr,wmp1,wmp2,wlmdza,wlmdzb,lmdza,lmdzb:hurs:all model-experiments meridional hurs$_{[tturb\ xmean\ last]}$:0|auto:None:-:,:2.:2.:all:Nlines_hurs_wrfout_tturb-xmean-last:png:True' -v hursturbmean
     57      $ python ${pyHOME}/drawing.py -f WRF/current/hurs_wrfout_tturb_xmean_last.nc,WRF/micro1/hurs_wrfout_tturb_xmean_last.nc,WRF/micro2/hurs_wrfout_tturb_xmean_last.nc,WRF_LMDZ/AR40/hurs_wrfout_tturb_xmean_last.nc,WRF_LMDZ/NPv31/hurs_wrfout_tturb_xmean_last.nc,LMDZ/AR40/hurs_reproj-histins_tturb_xmean_last.nc,LMDZ/NPv31/hurs_reproj-histins_tturb_xmean_last.nc -o draw_lines -S 'lat:x:lat ($degrees\ North$):auto:wcurr,wmp1,wmp2,wlmdza,wlmdzb,lmdza,lmdzb:hurs:all model-experiments meridional hurs$_{[tturb\ xmean\ last]}$:0|auto:None:-:,:2.:2.:all:Nlines_hurs_wrfout_tturb-xmean-last:png:True' -v hursturbmean
    5858    </DIV>
    5959  </BODY>
  • trunk/tools/documentation/plotting/Nlines_time.html

    r1276 r1403  
    7575    </DIV>
    7676    <DIV CLASS="valins">
    77       $ python drawing.py -o draw_lines_time -f wrfout_d01_2001-11-11_00:00:00_west_east_B20-E20-I1_south_north_B20-E20-I1.nc,wrfout_d01_2001-11-11_00:00:00_west_east_B25-E25-I1_south_north_B25-E25-I1.nc,wrfout_d01_2001-11-11_00:00:00_west_east_B35-E35-I1_south_north_B35-E35-I1.nc -S 'WRFtime;y;time ([DD]${[HH]}$);auto;we=20$\times$sn=20,we=25$\times$sn=25,we=35$\times$sn=35;tas;tas|evolution|at|3|different|grid|points;None;time|hours!since!1949-12-01_00:00:00|exct,3,h|%d$^{%H}$;0|12;png;-;r,g,b;.;2.;2.;all;-1;True' -v T2
     77      $ python ${pyHOME}/drawing.py -o draw_lines_time -f wrfout_d01_2001-11-11_00:00:00_west_east_B20-E20-I1_south_north_B20-E20-I1.nc,wrfout_d01_2001-11-11_00:00:00_west_east_B25-E25-I1_south_north_B25-E25-I1.nc,wrfout_d01_2001-11-11_00:00:00_west_east_B35-E35-I1_south_north_B35-E35-I1.nc -S 'WRFtime;y;time ([DD]${[HH]}$);auto;we=20$\times$sn=20,we=25$\times$sn=25,we=35$\times$sn=35;tas;tas|evolution|at|3|different|grid|points;None;time|hours!since!1949-12-01_00:00:00|exct,3,h|%d$^{%H}$;0|12;png;-;r,g,b;.;2.;2.;all;-1;True' -v T2
    7878    </DIV>
    7979  </BODY>
  • trunk/tools/documentation/plotting/barbs.html

    r1257 r1403  
    1818      draw_barbs(ncfile, values, varns)<BR>
    1919      values= [dimname]|[vardimname]|[value]:[vecvals]:[windlabs]:[dimxv]:[dimyv]:[mapvalues]:[dimxyfmt]:<BR>
    20       &nbsp;&nbsp;[reverse]:[gtit]:[kindfig]:[figuren]:[close]<BR>
     20      &nbsp;&nbsp;[transform]:[gtit]:[kindfig]:[figuren]:[close]<BR>
    2121      &nbsp;&nbsp;[dimname]|[vardimname]|[value]: ',', list for each basic dimension '|' separated of:<BR>
    2222      &nbsp;&nbsp;&nbsp;&nbsp;[dimname]: name of the dimension in the file<BR>
     
    5959      &nbsp;&nbsp;&nbsp;&nbsp;[Ndy]: Number of ticks at the y-axis ('auto' for 5)<BR>
    6060      &nbsp;&nbsp;&nbsp;&nbsp;[ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
    61       &nbsp;&nbsp;[reverse]: Transformation of the values<BR>
     61      &nbsp;&nbsp;[transform]: Transformation of the values<BR>
    6262      &nbsp;&nbsp;&nbsp;&nbsp;* 'transpose': reverse the axes (x-->y, y-->x)<BR>
    6363      &nbsp;&nbsp;&nbsp;&nbsp;* 'flip'@[x/y]: flip the axis x or y<BR>
     
    7070    </DIV>
    7171    <DIV CLASS="valins">
    72        $ python drawing.py -o draw_barbs -f wrfout_d01_2001-11-11_00:00:00 -S 'west_east|XLONG|-1,south_north|XLAT|-1,Time|WRFtime|3:10@5,r,7.:wss,ms-1:XLONG:XLAT:cyl,c:auto:None:surface|wind|speed|on|2001-11-10|03|UTC:png:wind_barbs_2001111003_wss:True' -v U10,V10<BR>
    73        $ python drawing.py -o draw_barbs -f wrfout_d01_2001-11-11_00:00:00 -S 'west_east|XLONG|-1,west_east_stag|XLONG|0@239@1,south_north|XLAT|15,bottom_top|ZNU|-1,bottom_top_stag|ZNW|0@39@1,Time|WRFtime|3:10@2,colormap@rainbow,7.:uw,ms-1:XLONG:ZNW:None:auto:flip@y:vertical|cross|section|wind|speed|at|y=15|on|2001-11-10|03|UTC:png:wind_barbs_2001111003_uw:True' -v U,W
     72       $ python ${pyHOME}/drawing.py -o draw_barbs -f wrfout_d01_2001-11-11_00:00:00 -S 'west_east|XLONG|-1,south_north|XLAT|-1,Time|WRFtime|3:10@5,r,7.:wss,ms-1:XLONG:XLAT:cyl,c:auto:None:surface|wind|speed|on|2001-11-10|03|UTC:png:wind_barbs_2001111003_wss:True' -v U10,V10<BR>
     73       $ python ${pyHOME}/drawing.py -o draw_barbs -f wrfout_d01_2001-11-11_00:00:00 -S 'west_east|XLONG|-1,west_east_stag|XLONG|0@239@1,south_north|XLAT|15,bottom_top|ZNU|-1,bottom_top_stag|ZNW|0@39@1,Time|WRFtime|3:10@2,colormap@rainbow,7.:uw,ms-1:XLONG:ZNW:None:auto:flip@y:vertical|cross|section|wind|speed|at|y=15|on|2001-11-10|03|UTC:png:wind_barbs_2001111003_uw:True' -v U,W
    7474    </DIV>
    7575  </BODY>
  • trunk/tools/documentation/plotting/plot_points.html

    r1299 r1403  
    8787    </DIV>
    8888    <DIV CLASS="valins">
    89       $ python drawing.py -o draw_points -S 'SuperStorm/tslist.dat,#,3,2,1:SuperStorm|sfc|stations:auto:cyl,i:labelled,10,r:auto:None:0:png:stations_loc:True' -f 'geo_em.d02.nc,XLONG_M,XLAT_M,HGT_M,Time|0@west_east|30;180;1@south_north|175;255;1,height,0.,1500.,terrain,auto,auto,m'
     89      $ python ${pyHOME}/drawing.py -o draw_points -S 'SuperStorm/tslist.dat,#,3,2,1:SuperStorm|sfc|stations:auto:cyl,i:labelled,10,r:auto:None:0:png:stations_loc:True' -f 'geo_em.d02.nc,XLONG_M,XLAT_M,HGT_M,Time|0@west_east|30;180;1@south_north|175;255;1,height,0.,1500.,terrain,auto,auto,m'
    9090    </DIV>
    9191  </BODY>
Note: See TracChangeset for help on using the changeset viewer.