Changeset 722 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 26, 2016, 4:55:39 PM (9 years ago)
Author:
lfita
Message:

Speeding it more up!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r721 r722  
    1891018910        if mindiffLl == 0. and type(newvar[ilatlon[0],ilatlon[1]]) == type(amsk):
    1891118911            percendone(iv,Ninpts,0.5,'done:')
    18912             if mindiffLl > mindiff:
    18913                 print errormsg
    18914                 print '  ' + fname + ': for point #', iv,'lon,lat in ' +             \
    18915                   'incomplet map:', lonvs[iv], ',', latvs[iv], 'there is ' +         \
    18916                   'not a set of lon,lat in the completed map closer than: ',         \
    18917                   mindiff, '!!'
    18918                 print '    minimum difference:', mindiffLl
    18919                 quit(-1)
    18920 
    18921 # Speeding itup
     18912# Speeding it up!
     18913#            if mindiffLl > mindiff:
     18914#                print errormsg
     18915#                print '  ' + fname + ': for point #', iv,'lon,lat in ' +             \
     18916#                  'incomplet map:', lonvs[iv], ',', latvs[iv], 'there is ' +         \
     18917#                  'not a set of lon,lat in the completed map closer than: ',         \
     18918#                  mindiff, '!!'
     18919#                print '    minimum difference:', mindiffLl
     18920#                quit(-1)
     18921
     18922# Speeding it up!
    1892218923#            if ilatlon[0] >= 0 and ilatlon[1] >= 0:
    1892318924#                newvar[ilatlon[0],ilatlon[1]] = ovar[iv]
Note: See TracChangeset for help on using the changeset viewer.