Changeset 363 in lmdz_wrf for trunk/tools/nc_var_tools.py


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

Closing file in case of error in 'variables_values'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.