[idvusers] Converting dBZ to Z and then back

I've been getting help from Tom on a script - but I'm a little stuck here being 
new to
VisAD...
I'm getting this error:

TypeError: log(): 1st arg can't be coerced to visad.Data

from this routine:

def Z2dBz (Z):
 """ This converts Z back to dBz
 """
 dBz = ( log(Z)/log(10) ) * 10
 return dBz

trying to pass a Level-II data point into here to convert it back to dBz.



Thanks,

-Ben


--
Ben Kamen - O.D.T., S.P.
=============================================================================
Email: bkamen AT benjammin DOT net              Web: http://www.benjammin.net

As seen somewhere on the net: My other computer is your Windows Server.