Changeset 472 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 10, 2015, 12:06:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r471 r472 1547 1547 vartit = values.split(':')[4] 1548 1548 title = values.split(':')[5].replace('|',' ') 1549 graphk = values.split(':')[6] 1549 locleg = values.split(':')[6] 1550 graphk = values.split(':')[7] 1550 1551 1551 1552 Nfiles = len(ncfiles) … … 1585 1586 print errormsg 1586 1587 print ' ' + fname + ": netCDF file '" + filen + \ 1587 "' does not have variables '" + dimvname + "' !!"1588 "' does not have variables '" + dimvnames + "' !!" 1588 1589 quit(-1) 1589 1590 … … 1603 1604 for dimvn in dimvname: 1604 1605 if drw.searchInlist(objfile.variables, dimvn): 1605 vdobj = objfile.variables[dimvn ame]1606 vdobj = objfile.variables[dimvn] 1606 1607 if len(vdobj.shape) != 1: 1607 1608 print errormsg … … 1621 1622 ifn = ifn + 1 1622 1623 1623 1624 1624 drw.plot_lines(dimvalues, varvalues, valuesaxis, dimtit, leglabels.split(','), \ 1625 vartit, varunits, title, graphk)1625 vartit, varunits, title, locleg, graphk) 1626 1626 1627 1627 return
Note: See TracChangeset
for help on using the changeset viewer.