Skip to content
Snippets Groups Projects
Commit 9f95df4f authored by David Hoese's avatar David Hoese
Browse files

oops, should probably run pylint before committing

parent 3618c157
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ def potentialtemp(airTempK, pressureMB):
if airTempK == None or pressureMB == None:
return NaN
pT = airTempK * (pressure.max()/pressure)**.286
pT = airTempK * (pressureMB.max()/pressureMB)**.286
return pT
......@@ -313,7 +313,7 @@ def array_convert(arr, sunits, cunits):
:type cunits: string
"""
if sunits == cunits: return arr
if not isinstance(arr, ndarray):: raise ValueError("Array must be of type numpy.ndarray, not %r" % (type(arr),))
if not isinstance(arr, ndarray): raise ValueError("Array must be of type numpy.ndarray, not %r" % (type(arr),))
shape = arr.shape
a = arr.flatten()
if sunits == 'c':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment