Issue #2262: Fix ImportError and misnamed method in meteolib.py.
Change-Id: Ic6eb7de7b8c5b6ff7fbd989a43d00c97ea688364 Former-commit-id:d43d6506fa
[formerlya8868c5beb
] [formerly8ef34db798
] [formerlyd43d6506fa
[formerlya8868c5beb
] [formerly8ef34db798
] [formerly953fc192a1
[formerly8ef34db798
[formerly b61065e473c5f783ebe3cfd603a9e7bd91b63a11]]]] Former-commit-id:953fc192a1
Former-commit-id:be64302011
[formerlyafbb147ef6
] [formerly 502cb37326055c452bc1b35e8e9edab2d5e952b0 [formerlya4ed28a384
]] Former-commit-id: 953043ab88da93fff26cf4cc51a5ff5048b7eaeb [formerly3d3f785fdd
] Former-commit-id:ff61a0701c
This commit is contained in:
parent
542323ab42
commit
3b668e4071
2 changed files with 3 additions and 2 deletions
|
@ -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",
|
org.eclipse.core.runtime;bundle-version="3.6.0",
|
||||||
com.raytheon.uf.common.util;bundle-version="1.12.1174",
|
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.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,
|
Export-Package: com.raytheon.uf.viz.derivparam.python,
|
||||||
com.raytheon.uf.viz.derivparam.python.function
|
com.raytheon.uf.viz.derivparam.python.function
|
||||||
|
|
|
@ -39,7 +39,7 @@ import numpy
|
||||||
def ztopsa(Z):
|
def ztopsa(Z):
|
||||||
if isinstance(Z, float) or isinstance(Z, numpy.float32):
|
if isinstance(Z, float) or isinstance(Z, numpy.float32):
|
||||||
if (Z > -9998):
|
if (Z > -9998):
|
||||||
return ZToPsa.ZToPsa(float(Z))
|
return ZToPsa.ztopsa(float(Z))
|
||||||
elif isinstance(Z, numpy.ndarray):
|
elif isinstance(Z, numpy.ndarray):
|
||||||
result = numpy.ndarray(Z.shape, numpy.float32)
|
result = numpy.ndarray(Z.shape, numpy.float32)
|
||||||
for i in range(len(Z)):
|
for i in range(len(Z)):
|
||||||
|
|
Loading…
Add table
Reference in a new issue