Changeset 702 in lmdz_wrf
- Timestamp:
- Mar 21, 2016, 1:01:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r701 r702 13769 13769 dtype = objfield.dtype 13770 13770 13771 counts = {}13771 counts = [] 13772 13772 if countVals is not None: 13773 13773 for icV in range(NcountV): … … 13775 13775 cC = countV[icV].split('@')[1] 13776 13776 countval = retype(cV, dtype) 13777 counts[countV[icV]] = [count_cond(field, countval, cC), cC] 13777 print ' Lluis; ' + fname + ' vals: ',count_cond(field, countval, cC), cC, countval 13778 counts.append([count_cond(field, countval, cC), cC, countval]) 13778 13779 13779 13780 if fillVals is not None: … … 13798 13799 if countVals is not None: 13799 13800 for icV in range(NcountV): 13800 print ' ' + fname + " N values '" + countV[icV][1] + "'", \ 13801 countV[icV][0], ':', counts[countV[icV]] 13801 convals = counts[icV] 13802 print " Fstats N values '" + convals[1] + "'", convals[2], \ 13803 ':', convals[0] 13802 13804 else: 13803 13805 print errormsg
Note: See TracChangeset
for help on using the changeset viewer.