Changeset 2835 in lmdz_wrf for trunk/tools


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

Fixing 1D alues in `mindist'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r2813 r2835  
    1535615356        distlat = np.abs(latv - latvalue)
    1535715357
    15358         mindifflon = np.min(distlon)
    15359         mindifflat = np.min(distlat)
     15358        mindistlon = np.min(distlon)
     15359        mindistlat = np.min(distlat)
    1536015360        ix = index_vec(distlon, mindistlon)
    1536115361        iy = index_vec(distlat, mindistlat)
Note: See TracChangeset for help on using the changeset viewer.