more pythonic code
more pythonic code

More pythonic equivalent without unnecessary local variable; this uses generator (surely c-optimized for-loop) and sum (c optimized?)
Unidata/netcdf4-python,Unidata/netcdf4-python,Unidata/netcdf4-python