Changeset 960 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 27, 2016, 12:06:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r955 r960 1915 1915 # new 1916 1916 potinterval = np.log10(intvalue) 1917 Ipotint = int(potinterval)1918 1919 # print 'interval:', interval, 'intavlue:', intvalue, 'potinterval:', potinterval, \1917 Ipotint = np.floor(potinterval) 1918 1919 # print fname + '; Lluis: interval:', interval, 'intavlue:', intvalue, 'potinterval:', potinterval, \ 1920 1920 # 'Ipotint:', Ipotint, 'intvalue:', intvalue 1921 1921 … … 1931 1931 values = [] 1932 1932 val = closestint*(Ibeg)*10.**(Ipotint) 1933 1934 # print 'closestint:',closestint,'Ibeg:',Ibeg,'val:',val 1933 dval = closestint*10.**(Ipotint) 1934 1935 # print 'closestint:',closestint,'Ibeg:',Ibeg,'val:',val,'dval:',dval 1935 1936 1936 1937 while val < maxv: 1937 1938 values.append(val) 1938 val = val + closestint*10.**Ipotint1939 val = val + dval 1939 1940 1940 1941 return np.array(values, dtype=np.float) … … 4568 4569 # contour 4569 4570 ## 4570 print fname + '; Lluis: shapes x:', x.shape,'y:',y.shape,'varcv:',varcv.shape4571 4571 contkind = ckind.split(',')[0] 4572 4572 if contkind == 'cmap':
Note: See TracChangeset
for help on using the changeset viewer.