Changeset 2341 in lmdz_wrf for trunk/tools/diag_tools.py


Ignore:
Timestamp:
Feb 15, 2019, 6:06:26 PM (6 years ago)
Author:
lfita
Message:

Working version of 'range_faces' with homogenization of 'range'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diag_tools.py

    r2338 r2341  
    14961496          dsnewrange=dsnewrng, hvalrng=hvalleyrng, d1=dx, d2=dy)
    14971497
    1498         print 'Finished!', rngt
    14991498        hgtmax = hgtmaxt.transpose()
    15001499        pthgtmax = pthgtmaxt.transpose()
     
    15071506        rangeshgtmax = rnghgtmaxt.transpose()
    15081507        ptrangeshgtmax = ptrnghgtmaxt.transpose()
    1509 
    1510         # Homogenizing ranges
    1511         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()
    15161508
    15171509    else:
Note: See TracChangeset for help on using the changeset viewer.