Changeset 1642 in lmdz_wrf for trunk/tools/nc_var_tools.py


Ignore:
Timestamp:
Sep 10, 2017, 11:11:34 PM (7 years ago)
Author:
lfita
Message:

Fixing to get a list of variables when 'all' in `netcdf_fold_concatenation_HMT'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1637 r1642  
    1134311343##
    1134411344    if varn == 'all':
    11345         desvars = ncobjs[0].variables
     11345        desvars = ncobjs[0].variables.keys()
    1134611346    else:
    1134711347        desvars = varn.split(',')
Note: See TracChangeset for help on using the changeset viewer.