Changeset 2341 in lmdz_wrf for trunk/tools/diag_tools.py
- Timestamp:
- Feb 15, 2019, 6:06:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/diag_tools.py
r2338 r2341 1496 1496 dsnewrange=dsnewrng, hvalrng=hvalleyrng, d1=dx, d2=dy) 1497 1497 1498 print 'Finished!', rngt1499 1498 hgtmax = hgtmaxt.transpose() 1500 1499 pthgtmax = pthgtmaxt.transpose() … … 1507 1506 rangeshgtmax = rnghgtmaxt.transpose() 1508 1507 ptrangeshgtmax = ptrnghgtmaxt.transpose() 1509 1510 # Homogenizing ranges1511 Lranges = np.where(ranges != 0, True, False)1512 print np.sum(Lranges)1513 Lrangest = Lranges.transpose()1514 rangest, Nrngs = fdin.module_scientific.polygons(dbg=False, boolmat=Lrangest, dx=dx, dy=dy)1515 ranges = ranges.transpose()1516 1508 1517 1509 else:
Note: See TracChangeset
for help on using the changeset viewer.