- Timestamp:
- Mar 20, 2015, 12:01:52 PM (10 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r372 r376 736 736 stats=['min','max','mean','stdv', 'sum'] 737 737 738 # Variables with a statistical section on their name... 739 NOstatsvars = ['zmaxth', 'zmax_th', 'lmax_th', 'lmaxth'] 740 738 741 ifst = False 739 for st in stats: 740 if varName.find(st) > -1: 741 print ' '+ fname + ": varibale '" + varName + "' with a statistical "+\ 742 " surname: '",st,"' !!" 743 Lst = len(st) 744 LvarName = len(varName) 745 varn = varName[0:LvarName - Lst] 746 ifst = True 747 break 742 if not searchInlist(NOstatsvars, varName.lower()): 743 for st in stats: 744 if varName.find(st) > -1: 745 print ' '+ fname + ": varibale '" + varName + "' with a " + \ 746 "statistical surname: '",st,"' !!" 747 Lst = len(st) 748 LvarName = len(varName) 749 varn = varName[0:LvarName - Lst] 750 ifst = True 751 break 748 752 if not ifst: 749 753 varn = varName … … 3814 3818 if y.shape[0] == dimyv.shape[0]: 3815 3819 for i in range(y.shape[1]): 3816 y[ :,i] = dimyv3820 y[i,:] = dimyv 3817 3821 else: 3818 3822 for i in range(y.shape[0]): 3819 y[ i,:] = dimyv3823 y[:,i] = dimyv 3820 3824 3821 3825 # plt.rc('text', usetex=True) -
trunk/tools/variables_values.dat
r375 r376 48 48 LCLDH, clh, high_level_cloud_area_fraction, 0., 1., high|level|(p|<|440|hPa)|cloud|fraction, 1, gist_gray 49 49 High-level cloudiness, clh, high_level_cloud_area_fraction, 0., 1., high|level|(p|<|440|hPa)|cloud|fraction, 1, gist_gray 50 clmf, clmf, cloud_base_ma x_flux, -0.3, 0.3, cloud|base|max|flux, kgm-2s-1, seismic51 fbase, clmf, cloud_base_ma x_flux, -0.3, 0.3, cloud|base|max|flux, kgm-2s-1, seismic52 LFBASE, clmf, cloud_base_ma x_flux, -0.3, 0.3, cloud|base|max|flux, kgm-2s-1, seismic50 clmf, clmf, cloud_base_mass_flux, -0.3, 0.3, cloud|base|mass|flux, kgm-2s-1, seismic 51 fbase, clmf, cloud_base_mass_flux, -0.3, 0.3, cloud|base|mass|flux, kgm-2s-1, seismic 52 LFBASE, clmf, cloud_base_mass_flux, -0.3, 0.3, cloud|base|mass|flux, kgm-2s-1, seismic 53 53 clp, clp, cloud_base_pressure, -0.3, 0.3, cloud|base|pressure, Pa, Reds 54 54 pbase, clp, cloud_base_pressure, -0.3, 0.3, cloud|base|pressure, Pa, Reds
Note: See TracChangeset
for help on using the changeset viewer.