Changeset 445 in lmdz_wrf


Ignore:
Timestamp:
May 28, 2015, 3:57:33 PM (10 years ago)
Author:
lfita
Message:

Fixing minor typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diagnostics.py

    r444 r445  
    970970        var0 = ncobj.variables[depvars[0]]
    971971        var1 = ncobj.variables[depvars[1]]
    972         if depvarsp[2] != 'WRFtime':
     972        if depvars[2] != 'WRFtime':
    973973            var2 = ncobj.variables[depvars[2]]
    974974
     
    981981
    982982# Transforming to a flux
    983         if depvarsp[2] != 'WRFtime':
     983        if depvars[2] != 'WRFtime':
    984984            dtimeunits = var2.getncattr('units')
    985985            tunits = dtimeunits.split(' ')[0]
Note: See TracChangeset for help on using the changeset viewer.