Changeset 1535 in lmdz_wrf for trunk/tools/documentation/ncmanage/compute_opersvarsfiles.html
- Timestamp:
- Apr 21, 2017, 9:14:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/documentation/ncmanage/compute_opersvarsfiles.html
r1519 r1535 30 30 'add': adding [var] ([prevalues] + [var])<BR> 31 31 'addc',[modval1]: add [modval1] to [prevalues]<BR> 32 'arctan', arctangent [-p1, pi]<BR> 32 33 'centerderiv',[N],[ord],[dim]: un-scaled center [N]-derivative of order [ord] along dimension [dim] of [var]<BR> 33 34 'div': dividing by [var] ([prevalues] / [var])<BR> … … 39 40 'mul': multiplying by [var] ([prevvalues] * [var])<BR> 40 41 'mulc',[modval1]: [prevalues] multiplied by [modval1]<BR> 42 'norm_meanminmax',[NOTnormdims]: normalization of data as: (val-<val>)/(max(val)-min(val)) except along <BR> 43 dimensions [NOTnormdims] (':' list of dimension names, or 'any' for using all dimensions)<BR> 44 'norm_minmax',[NOTnormdims]: normalization of data as: [2val-(max(val)-min(val)]/[max(val)+min(val)]<BR> 45 except along dimensions [NOTnormdims] (':' list of dimension names, or 'any' for using all dimensions)<BR> 46 'norm_meanstd',[NOTnormdims]: normalization of data as: (val-<val>)/stdev(val) except along <BR> 47 dimensions [NOTnormdims] (':' list of dimension names, or 'any' for using all dimensions)<BR> 48 dimensions [NOTnormdims] (':' list of dimension names)<BR> 41 49 'pot': powering with [var] ([prevalues] ** [var])<BR> 42 50 'potc',[modval1]: [prevalues] ** [modval1]<BR> … … 60 68 </DIV> 61 69 <DIV CLASS="valins"> 62 $ 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> 63 $ 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 70 * Transforming temperature from Kelvin to °C<BR> 71 $ python ${pyHOME}/nc_var.py -o compute_opersvarsfiles -S 'west_east|XLONG|-1;south_north|XLAT|-1;Time|Times|3@subc,273.15|wrfout_d01_2001-11-11_00:00:00|T2' -v 'tempC,air!temperature,C'<BR> 72 * Computing the x-derivative of first order<BR> 73 $ python ${pyHOME}/nc_var.py -o compute_opersvarsfiles -S 'lon|lon|-1;lat|lat|-1;time_counter|time_counter|-1@forwrdderiv,1,1,2|histday.nc|t2m' -v 'tasderiv,x-derivative|of|air|temperature,K' <BR> 74 * Normalizing a variable by substracting its mean and weighting by its standard-deviation<BR> 75 $ python ${pyHOME}/nc_var.py -o compute_opersvarsfiles -S 'west_east|XLONG|-1;south_north|XLAT|-1;Time|WRFtime|-1@norm_meanstd,Time|wrfout_d01_1995-01-01_00:00:00|T2' -v 'tasnorm,normalized!2m!temperature!substracting!mean!and!weighting!by!standard!deviation,K' <BR> 76 * Getting height of the frist level from surface from a WRF file<BR> 77 $ python $pyHOME/nc_var.py -o compute_opersvarsfiles -S 'west_east|XLONG|-1;south_north|XLAT|-1;bottom_top_stag|ZNW|1@addc,0|wrfout_d01_1995-01-01_00:00:00|PH%west_east|XLONG|-1;south_north|XLAT|-1;bottom_top_stag|ZNW|1@add|wrfout_d01_1995-01-01_00:00:00|PHB%contoperation@divc,9.81%west_east|XLONG|-1;south_north|XLAT|-1;Time|WRFtime|-1@sub|wrfout_d01_1995-01-01_00:00:00|HGT' -v 'height1lev,height!above!surface!of!first!level,m' 78 * Computing wind-direction from a WRF file<BR> 79 $ python $pyHOME/nc_var.py -o compute_opersvarsfiles -S 'west_east|XLONG|-1;south_north|XLAT|-1;Time|WRFtime|-1@addc,0|wrfout_d01_1995-01-01_00:00:00|V10%west_east|XLONG|-1;south_north|XLAT|-1;Time|WRFtime|-1@arctan|wrfout_d01_1995-01-01_00:00:00|U10%contoperation@mulc,57.2957795131' -v 'wsdir,2m!wind!direction,Degrees' 64 80 </DIV> 65 81 </BODY>
Note: See TracChangeset
for help on using the changeset viewer.