Changeset 957 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 27, 2016, 11:45:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r950 r957 17 17 fillValueF64 = 1.e20 18 18 fillValueI32 = -99999 19 20 # For variables_values 21 22 # Variable name might come with a statistical surname... 23 statsurname=['min','max','mean','stdv', 'sum', 'turb'] 19 24 20 25 ####### Content … … 518 523 quit(-1) 519 524 520 # Variable name might come with a statistical surname...521 stats=['min','max','mean','stdv', 'sum']522 523 525 # Variables with a statistical section on their name... 524 526 NOstatsvars = ['zmaxth', 'zmax_th', 'lmax_th', 'lmaxth'] … … 526 528 ifst = False 527 529 if not searchInlist(NOstatsvars, varName.lower()): 528 for st in stats :530 for st in statsurname: 529 531 if varName.find(st) > -1: 530 532 print ' '+ fname + ": varibale '" + varName + "' with a " + \
Note: See TracChangeset
for help on using the changeset viewer.