Issue #2262: Fix ImportError and misnamed method in meteolib.py.

Change-Id: Ic6eb7de7b8c5b6ff7fbd989a43d00c97ea688364

Former-commit-id: 8ef34db798 [formerly b61065e473c5f783ebe3cfd603a9e7bd91b63a11]
Former-commit-id: 953fc192a1
This commit is contained in:
David Gillingham 2013-08-15 13:14:29 -05:00
parent 44251fd949
commit a4ed28a384
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@ Require-Bundle: com.raytheon.uf.common.status;bundle-version="1.12.1174",
org.eclipse.core.runtime;bundle-version="3.6.0",
com.raytheon.uf.common.util;bundle-version="1.12.1174",
com.raytheon.uf.common.python.concurrent;bundle-version="1.0.0",
com.raytheon.uf.common.wxmath
com.raytheon.uf.common.wxmath,
com.raytheon.edex.meteolib;bundle-version="1.12.1174"
Export-Package: com.raytheon.uf.viz.derivparam.python,
com.raytheon.uf.viz.derivparam.python.function

View file

@ -39,7 +39,7 @@ import numpy
def ztopsa(Z):
if isinstance(Z, float) or isinstance(Z, numpy.float32):
if (Z > -9998):
return ZToPsa.ZToPsa(float(Z))
return ZToPsa.ztopsa(float(Z))
elif isinstance(Z, numpy.ndarray):
result = numpy.ndarray(Z.shape, numpy.float32)
for i in range(len(Z)):