- Timestamp:
- Jul 18, 2018, 2:15:05 AM (6 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r1945 r1946 8956 8956 if type(tdavals) != type(gen.mamat): 8957 8957 tdavals = ma.masked_array(tdavals) 8958 if type( tavals) != type(gen.mamat):8958 if type(presvals) != type(gen.mamat): 8959 8959 presvals = ma.masked_array(presvals) 8960 8960 … … 9052 9052 kgraphv['collines'] = gen.str_list_rep(kindgraphv[2], ',', Nfiles) 9053 9053 kgraphv['kindlines'] = gen.str_list_rep(kindgraphv[3], ',', Nfiles) 9054 kgraphv['kindmarkers'] = gen.str_list_rep(kindgraphv[4], ' ,', Nfiles)9054 kgraphv['kindmarkers'] = gen.str_list_rep(kindgraphv[4], ';', Nfiles) 9055 9055 kgraphv['widthlines'] = gen.str_list_rep(kindgraphv[5], ',', Nfiles) 9056 9056 else: … … 9108 9108 else: 9109 9109 vavals[ifile] = vals 9110 if type(p resvals) != type(gen.mamat):9110 if type(pvals) != type(gen.mamat): 9111 9111 presvals[ifile] = ma.masked_array(pvals) 9112 9112 else: -
trunk/tools/drawing_tools.py
r1945 r1946 11663 11663 kmark = kindgv['kindmarkers'][iline] 11664 11664 kline = kindgv['kindlines'][iline] 11665 wline = kindgv['widthlines'][iline]11665 wline = np.float(kindgv['widthlines'][iline]) 11666 11666 11667 11667 # Checking for variable consistency … … 11682 11682 # log scaling in Y, as dictated by the typical meteorological plot 11683 11683 tamask = ta.mask 11684 if len(tamask.shape) == 0: 11685 print ' ' + fname + ': values without any masked value!' 11686 tamask = np.ones((ta.shape), dtype=bool)*tamask 11684 11687 11685 11688 if lline != 'None':
Note: See TracChangeset
for help on using the changeset viewer.