Changeset 748 in lmdz_wrf


Ignore:
Timestamp:
May 4, 2016, 11:29:57 AM (9 years ago)
Author:
lfita
Message:

Working version using `generic_tools'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var.py

    r735 r748  
    1818import re
    1919import nc_var_tools as ncvar
     20import generic_tools as gen
    2021
    2122operations=['addvals', 'chdimname', 'changevartype', 'checkallvars',                 \
     
    6768#print string_operation
    6869
    69 operationnames = "'" + ncvar.numVector_String(operations, "', '") + "'"
     70operationnames = "'" + gen.numVector_String(operations, "', '") + "'"
    7071
    7172parser = OptionParser()
     
    101102
    102103if opts.ncfile is not None and not os.path.isfile(opts.ncfile) and                   \
    103   not ncvar.searchInlist(NotCheckingFile,oper):
     104  not gen.searchInlist(NotCheckingFile,oper):
    104105    print errormsg
    105106    print '  File ' + opts.ncfile + ' does not exist !!'
Note: See TracChangeset for help on using the changeset viewer.