Changeset 1978 in lmdz_wrf


Ignore:
Timestamp:
Jul 25, 2018, 7:46:33 PM (7 years ago)
Author:
lfita
Message:

Minor changes.

  • No error when -f 'h'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var.py

    r1959 r1978  
    286286
    287287if opts.ncfile is not None and not os.path.isfile(opts.ncfile) and                   \
    288   not gen.searchInlist(NotCheckingFile,oper):
     288  not gen.searchInlist(NotCheckingFile,oper) and opts.ncfile != 'h':
    289289    print errormsg
    290     print '  File ' + opts.ncfile + ' does not exist !!'
     290    print "  File '" + opts.ncfile + "' does not exist !!"
    291291    quit(-1)
    292292elif opts.ncfile is None and not gen.searchInlist(NotCheckingFile,oper) and          \
Note: See TracChangeset for help on using the changeset viewer.