Changeset 1805 in lmdz_wrf for trunk/tools/documentation/other
- Timestamp:
- Mar 16, 2018, 5:45:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/documentation/other/diagnostics.html
r1416 r1805 13 13 Python script to compute diagnostics (new variables) from model outputs<BR> 14 14 <BR> 15 <P STYLE="text-align:left;font-size:0.7em;"> 16 Diagnostics are computed as a given pre-defined combination of variables [var1n], ..., [varNn] as:<BR> 17 -v [VarName]|[var1n]@....@[varNn]<BR> 18 A large series of diagnostics are prepared to be computed from WRF model output. When a given diagnostic has to be computed from the WRF output, the label of the medthod starts with 'WRF', becoming the name of the method: <BR> 19 `WRF[variable]'<BR> 20 It is required to indicate dimensions and variable-dimensions (variables which content the values for a given dimension) from the file. Again, because WRF model provides a not so-useful time variable, one can provide `WRFtime' for the 'Time' dimension and automatically, the resultant file will content a CF-time variable directly computed from WRF variables 'Times'<BR> 21 Finally, in order to faciliate the use of the script for WRF users, some diagnostics require standard variables like pressure, geopotential, air temperature, ... These variables are not directly obtained from WRF output. In order to overcome this problem, python script is already prepared with the computation of these variables, when they are provided as required variables for the diagnostics (one of the [varin]). These pre-prepared variables are: 22 <TABLE ID="t01"> 23 <THEAD> 24 <TR><TH>Name</TH><TH>Description</TH><TH>Computation ([WRFvar])</TH><TH>units</TH></TR> 25 <TR><TD>WRFgeop</TD><TD>Geopotential height </TD><TD>[PH]+[PHB]</TD><TD>gpm</TD></TR> 26 <TR><TD>WRFp</TD><TD>Pressure</TD><TD>[P]+[PB]</TD><TD>Pa</TD></TR> 27 <TR><TD>WRFt</TD><TD>air temperature</TD><TD>([T]+300.)*(WRFp/100000.)**(2./7.)</TD><TD></TD></TR> 28 <TR><TD>WRFrh</TD><TD>relative humidty</TD><TD>data1=10.*0.6112*np.exp(17.67*(WRFt-273.16)/(WRFt-29.65))<BR> 29 data2 = 0.622*data1/(0.01*WRFp-(1.-0.622)*data1) 30 WRFrh = [QVAPOR]/data2</TD><TD>1</TD></TR> 31 <TR><TD>WRFght</TD><TD>Geopotential height </TD><TD>[PH]+[PHB]</TD><TD>gpm</TD></TR> 32 <TR><TD>WRFdens</TD><TD>air density</TD><TD>[DNW]*([MU]+[MUB])/g</TD><TD>kgm-3</TD></TR> 33 <TR><TD>WRFpos</TD><TD>positions from the lowest-leftest corner of the matrix</TD><TD>sqrt(([DY]*iy)**2+([DX]*ix)**2)/[MAPFAC_M]</TD><TD>m</TD></TR> 34 <TR><TD>WRFtime</TD><TD>CF-time compilant</TD><TD>[Times]</TD><TD>minutes since 1949-12-01 00:00:00</TD></TR> 35 <TR><TD>WRFz</TD><TD>height above surface</TD><TD>WRFgeop/g-[HGT]</TD><TD>m</TD></TR> 36 </TABLE> 37 </P> 15 38 </DIV> 16 39 <DIV CLASS="valhelp"> … … 22 45 Available diagnostics (content of `diagnostics.inf'):<BR> 23 46 <TABLE ID="t01"> 24 <TR><TH>CF Name</TH><TH>Name in script</TH><TH>variables</TH><TH>description</TH></TR> 47 <THEAD> 48 <TR><TH>CF Name</TH><TH>Name in script</TH><TH>variables</TH><TH>description</TH></TR> 49 </THEAD> 50 <TFOOT> 51 <TR> 52 <TD COLSPAN="4"> 53 <SUP>1</SUP>This diagnostics also computes: 54 </TD> 55 </TR> 56 <TR><TD></TD><TD>cin</TD><TD COLSPAN="2">Convective inhibition</TD></TR> 57 <TR><TD></TD><TD>lfcp</TD><TD COLSPAN="2">pressure of level of free convection</TD></TR> 58 <TR><TD></TD><TD>lfcz</TD><TD COLSPAN="2">height of level of free convection</TD></TR> 59 <TR><TD></TD><TD>li</TD><TD COLSPAN="2">lifted index</TD></TR> 60 </TFOOT> 61 <TBODY> 25 62 <TR><TD>bils</TD><TD> WRFbils</TD><TD> HFX@LH</TD><TD>total heat surface flux from WRF</TD></TR> 63 <TR><TD>cape</TD><TD> WRFcape_afwa</TD><TD>WRFt@WRFrh@WRFp@WRFgeop@HGT</TD><TD>Convective Available Potential Energy (cape)<SUP>1</SUP></TD><TD> 26 64 <TR><TD>clt</TD><TD> clt</TD><TD> CLDFRA</TD><TD>total cloud cover from WRF</TD></TR> 27 65 <TR><TD>cll</TD><TD> cllmh</TD><TD> CLDFRA@WRFp</TD><TD>low-level (p > 660 hPa) cloudiness from WRF</TD></TR> 28 66 <TR><TD>clm</TD><TD> cllmh</TD><TD> CLDFRA@WRFp</TD><TD>mid-level (660 < p > 440 hPa) cloudiness from WRF</TD></TR> 29 67 <TR><TD>clh</TD><TD> cllmh</TD><TD> CLDFRA@WRFp</TD><TD>high-level (p < 440 hPa) cloudiness from WRF</TD></TR> 68 <TR><TD>clivi</TD><TD> WRFclivi</TD><TD> WRFdens@QICE@QHAIL@QGRAUPEL</TD><TD>Ice water path</TD></TR> 69 <TR><TD>clwvi</TD><TD> WRFclwvi</TD><TD> WRFdens@QCLOUD@QICE@QHAIL@QGRAUPEL</TD><TD>Cloud condensed water path</TD></TR> 30 70 <TR><TD>hur</TD><TD> LMDZrh</TD><TD> pres@t@r</TD><TD>relative humidity from LMDZ/DYNAMICO</TD></TR> 31 71 <TR><TD>hur</TD><TD> WRFrh</TD><TD> WRFrh@T@P@PB</TD><TD>relative humidity from WRF</TD></TR> … … 33 73 <TR><TD>hurs</TD><TD> TSrhs</TD><TD> psfc@t@q</TD><TD>2 m relative humidity from WRF's time-series files</TD></TR> 34 74 <TR><TD>hurs</TD><TD> WRFrhs</TD><TD> PSFC@T2@Q2</TD><TD>2 m relative humidity from WRF</TD></TR> 75 <TR><TD>mrso</TD><TD> WRFmrso</TD><TD> SMOIS@DZS</TD><TD>total soil moisture content</TD></TR> 76 <TR><TD>p</TD><TD> WRFp</TD><TD> P@PB</TD><TD>air pressure</TD></TR> 77 <TR><TD>evspsblpot</TD><TD> WRFpotevap_orPM</TD><TD> WRFdens@UST@U10@V10@T2@PSFC@QVAPOR</TD><TD>Potent5ial evapotranspiration following Penman-Monteith formulation implemented in ORCHIDEE</TD></TR> 35 78 <TR><TD>p</TD><TD> WRFp</TD><TD> P@PB</TD><TD>air pressure from WRF</TD></TR> 36 79 <TR><TD>pr</TD><TD> RAINTOT</TD><TD> RAINC@RAINNC@WRFtime</TD><TD>precipitation flux from WRF</TD></TR> … … 40 83 <TR><TD>prw</TD><TD> WRFprw</TD><TD> WRFdens@QVAPOR</TD><TD>liquid water path from WRF</TD></TR> 41 84 <TR><TD>psl</TD><TD> WRFmslp</TD><TD> WRFp@PSFC@HGT@WRFt@QVAPOR</TD><TD>Mean sea level pressure from WRF (following NCAR, C. Bruyé's 'pinterp')</TD></TR> 85 <TR><TD>psl</TD><TD> WRFpsl_ecmwf</TD><TD> PSFC@HGT@WRFt@WRFp@ZNU@ZNW</TD><TD> sea level pressure using ECMWF method</TD></TR> 86 <TR><TD>psl</TD><TD> WRFpsl_ptarget</TD><TD> WRFp@PSFC@WRFt@HGT@QVAPOR</TD><TD>Same as WRFmslp, but Fortran based</TD></TR> 42 87 <TR><TD>rvor</TD><TD> rvor</TD><TD> U@V</TD><TD>aire relative vorticity from WRF</TD></TR> 43 88 <TR><TD>rvors</TD><TD> WRFrvors</TD><TD> U10@V10@WRFpos</TD><TD>10 m aire relative vorticity from WRF</TD></TR> 89 <TR><TD>slw</TD><TD> WRFslw</TD><TD> SH2O@DZS</TD><TD>Total soil water content</TD></TR> 44 90 <TR><TD>ta</TD><TD> WRFt</TD><TD> T@P@PB</TD><TD>air temperature from WRF</TD></TR> 45 91 <TR><TD>td</TD><TD> WRFtd</TD><TD> WRFp@WRFt2@QVAPOR</TD><TD>air dew-point temperature from WRF</TD></TR> … … 48 94 <TR><TD>ua</TD><TD> WRFua</TD><TD> U@V@SINALPHA@COSALPHA</TD><TD>eastward wind speed of air from WRF</TD></TR> 49 95 <TR><TD>va</TD><TD> WRFva</TD><TD> U@V@SINALPHA@COSALPHA</TD><TD>northward wind speed of air from WRF</TD></TR> 96 <TR><TD>uavaz</TD><TD> WRFzwind</TD><TD> U@V@WRFz@U10@V10@SINALPHA@COSALPHA@z=100.</TD><TD>Height wind extrapolation using power-law method (e.g. at 100. m)</TD></TR> 97 <TR><TD>uavaz</TD><TD> WRFzwind_log</TD><TD> U@V@WRFz@U10@V10@SINALPHA@COSALPHA@z=100.</TD><TD>Height wind extrapolation using logarithmic method (e.g. at 100. m)</TD></TR> 98 <TR><TD>uavaz</TD><TD> WRFzwindMO</TD><TD> UST@ZNT@RMOL@U10@V10@SINALPHA@COSALPHA@z=100.</TD><TD>Height wind extrapolation using Monin-Obukhov theory (e.g. at 100. m)</TD></TR> 50 99 <TR><TD>wa</TD><TD> OMEGAw</TD><TD> vitw@pres@temp</TD><TD>vertical wind speed from LMDZ</TD></TR> 51 100 <TR><TD>wds</TD><TD> TSwds</TD><TD> u@v</TD><TD>wind speed direction from WRF's time-series files</TD></TR> … … 58 107 <TR><TD>zhgt</TD><TD>WRFheight</TD><TD>PH@PHB@WRFgeop</TD>sea level altitude from WRF</TD></TR> 59 108 <TR><TD>zhgtrel</TD><TD>WRFheightrel</TD><TD>PH@PHB@HGT</TD>relative altitude from surface from WRF</TD></TR> 60 </TABLE> 109 <TR><TD>wssturb</TD><TD>turbulence</TD><TD>wss</TD><TD>Wind speed turbulence</TD></TR> 110 <TR><TD>zg</TD><TD> WRFght</TD><TD> PH@PHB</TD><TD>Geopotential height</TD></TR> 111 <TR><TD>zmla</TD><TD> WRFzmlagen</TD><TD> T@QVAPOR@WRFgeop@HGT</TD><TD>PBL height following a generic method</TD></TR> 112 </TBODY> 113 114 </TABLE> 61 115 </DIV> 62 116 <DIV CLASS="valins">
Note: See TracChangeset
for help on using the changeset viewer.