BTW, I did find the comment from Tom about log10(val) not being a valid
operator...
but log(val)/log(10) gives me that error...
so I tried his log(val/2.3025....) and that seems to work.
-Ben
Ben Kamen wrote:
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.