Changeset 1353 in lmdz_wrf


Ignore:
Timestamp:
Nov 23, 2016, 4:28:00 PM (9 years ago)
Author:
lfita
Message:

Test if they exist before to remove the dimension-vars from the list of variables to compute statisitcs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1311 r1353  
    1118211182    add_vars(ncobj,onewnc,vardims)
    1118311183    for vardn in vardims:
    11184         varstats.remove(vardn)
     11184        if gen.searchInlist(varstats,vardn): varstats.remove(vardn)
    1118511185
    1118611186    # Statistics var
Note: See TracChangeset for help on using the changeset viewer.