Changeset 293 in lmdz_wrf


Ignore:
Timestamp:
Feb 25, 2015, 5:35:34 PM (10 years ago)
Author:
lfita
Message:

Proper end of operation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r292 r293  
    1107311073            print warnmsg
    1107411074            print '  ' + fname + ': variable shape:',varobj.shape,' not ready!!'
    11075             print '    skipping variable and removing file'
    11076             objofile.close()
    11077             sub.call(['rm', ofile])
    11078 
     11075            print '    skipping variable'
     11076            if len(varns) == 1:
     11077                objofile.close()
     11078                sub.call(['rm', ofile])
     11079                print '    uniq variable! removing file and finishing program'
     11080           
    1107911081        ivar = ivar + 1
    1108011082
Note: See TracChangeset for help on using the changeset viewer.