Changeset 2153 in lmdz_wrf


Ignore:
Timestamp:
Sep 26, 2018, 2:24:40 PM (6 years ago)
Author:
lfita
Message:

Adding no error message when help is asked (-S h) and no file is provided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r2151 r2153  
    89998999    return
    90009000
    9001 filen='/home/lluis/estudios/ChemGBsAs/tests/199807/obs/snd/UWyoming_snd_87576.nc'
    9002 values='time|0:auto:auto:Sounding!at!Ezeiza!airport!on!3rd!July!1998:png:yes'
    9003 varn='ta,tda,pres'
    9004 draw_SkewT(filen, values, varn)
     9001#filen='/home/lluis/estudios/ChemGBsAs/tests/199807/obs/snd/UWyoming_snd_87576.nc'
     9002#values='time|0:auto:auto:Sounding!at!Ezeiza!airport!on!3rd!July!1998:png:yes'
     9003#varn='ta,tda,pres'
     9004#draw_SkewT(filen, values, varn)
    90059005
    90069006
     
    1096910969        quit(-1)
    1097010970
    10971     if opts.ncfile is None and not gen.searchInlist(Notcheckingfile, oper):
     10971    if opts.ncfile is None and not gen.searchInlist(Notcheckingfile, oper) and       \
     10972      opts.values != 'h':
    1097210973        print errormsg
    1097310974        print '  ' + mainn + ": you must provide a file as '-f [filename]'!!"
Note: See TracChangeset for help on using the changeset viewer.