Changeset 197 for trunk/MESOSCALE/PLOT/PYTHON/mylib
- Timestamp:
- Jul 5, 2011, 8:56:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/PLOT/PYTHON/mylib/myplot.py
r195 r197 50 50 if zeday < 0: lschar="" ## might have crossed a month... fix soon 51 51 else: lschar="_Ls"+str( int( sol2ls ( getattr( nc, 'JULDAY' ) + zeday ) ) ) 52 ### 53 zetime2 = nc.variables['Times'][1] 54 one = int(zetime[11]+zetime[12]) + int(zetime[14]+zetime[15])/37. 55 next = int(zetime2[11]+zetime2[12]) + int(zetime2[14]+zetime2[15])/37. 56 zehour = one 57 zehourin = abs ( next - one ) 52 58 else: 53 59 lschar="" 54 return lschar 60 zehour = 0 61 zehourin = 1 62 return lschar, zehour, zehourin 55 63 56 64 def api_onelevel ( path_to_input = None, \
Note: See TracChangeset
for help on using the changeset viewer.