Changeset 770
- Timestamp:
- Sep 5, 2012, 3:30:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r767 r770 1371 1371 nslices = 1 1372 1372 if slon is not None: 1373 if slon[0,0]!=slon[0,1]: length=len(slon) 1374 else: length=1 1373 length=len(slon[:,0]) 1375 1374 nslices = nslices*length 1376 1375 nlon = len(slon) 1377 1376 if slat is not None: 1378 if slat[0,0]!=slat[0,1]: length=len(slat) 1379 else: length=1 1377 length=len(slat[:,0]) 1380 1378 nslices = nslices*length 1381 1379 nlat = len(slat) 1382 1380 if svert is not None: 1383 if svert[0,0]!=svert[0,1]: length=len(svert) 1384 else: length=1 1381 length=len(slvert[:,0]) 1385 1382 nslices = nslices*length 1386 1383 nvert = len(svert) 1387 1384 if stime is not None: 1388 if stime[0,0]!=stime[0,1]: length=len(stime) 1389 else: length=1 1385 length=len(stime[:,0]) 1390 1386 nslices = nslices*length 1391 1387 ntime = len(stime)
Note: See TracChangeset
for help on using the changeset viewer.