Changeset 363 in lmdz_wrf


Ignore:
Timestamp:
Mar 18, 2015, 4:48:42 PM (10 years ago)
Author:
lfita
Message:

Closing file in case of error in 'variables_values'

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r361 r363  
    770770    print errormsg
    771771    print '  ' + fname + ": variable '" + varn + "' not defined !!!"
     772    ncf.close()
    772773    quit(-1)
    773774
  • trunk/tools/nc_var_tools.py

    r362 r363  
    218218    print errormsg
    219219    print '  ' + fname + ": variable '" + varn + "' not defined !!!"
     220    ncf.close()
    220221    quit(-1)
    221222
Note: See TracChangeset for help on using the changeset viewer.