Changeset 1577 in lmdz_wrf
- Timestamp:
- May 17, 2017, 2:16:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1572 r1577 7473 7473 found = False 7474 7474 if not gen.searchInlist(Dddv.keys(), dimn): 7475 if not objnc.variables.has_key(dimn): 7476 print erorrmsg 7477 print ' ' + fname + ": no variable '" + dimn + "' found!!" 7478 print ' for the operation the dimension-variable is ' + \ 7479 'required but it is not in file !' 7480 print ' Could you think in adding it?' 7481 print ' vurrent varibales:', bjnc.variables.keys() 7482 quit(-1) 7483 7475 7484 ovar = objnc.variables[dimn] 7476 7485 print warnmsg
Note: See TracChangeset
for help on using the changeset viewer.