Changeset 396


Ignore:
Timestamp:
Nov 17, 2011, 1:17:46 PM (13 years ago)
Author:
acolaitis
Message:

PYTHON. Corrected bugs relative to multi-field plotting and to column integration

Location:
trunk/UTIL/PYTHON
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r395 r396  
    164164          output = integrate.trapz(input.filled(),x=vert[indice],axis=ax)
    165165       else:
    166           output = integrate.trapz(input.filled(),x=vert[indice],axis=ax)
     166          output = integrate.trapz(input,x=vert[indice],axis=ax)
    167167    else:
    168168       output = mean(input,axis=ax)
  • trunk/UTIL/PYTHON/zrecast_wrapper.py

    r385 r396  
    1616    for zfile in input_name:
    1717        system("echo "+zfile+" >> zrecast.auto.def")
    18         for zvar in [fields]:
     18        for zvar in fields:
    1919            system("echo "+zvar+" >> zrecast.auto.def")
    2020        system("echo >> zrecast.auto.def")
Note: See TracChangeset for help on using the changeset viewer.