Changeset 2836 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
May 1, 2020, 8:58:27 PM (5 years ago)
Author:
lfita
Message:

Fixing mindist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r2835 r2836  
    1536015360        ix = index_vec(distlon, mindistlon)
    1536115361        iy = index_vec(distlat, mindistlat)
     15362        mindist = np.sqrt(mindistlon**2 + mindistlat**2)
    1536215363    else:
    1536315364        dist = np.sqrt((lonv - lonvalue)**2 + (latv - latvalue)**2)
Note: See TracChangeset for help on using the changeset viewer.