mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 22:57:56 -05:00
indentation fix
This commit is contained in:
parent
8af937a344
commit
62ddb8ca22
1 changed files with 15 additions and 15 deletions
|
@ -41,24 +41,24 @@ else:
|
||||||
|
|
||||||
|
|
||||||
def getRadarProductIDs(availableParms):
|
def getRadarProductIDs(availableParms):
|
||||||
"""
|
"""
|
||||||
Get only the numeric idetifiers for NEXRAD3 products.
|
Get only the numeric idetifiers for NEXRAD3 products.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
availableParms: Full list of radar parameters
|
availableParms: Full list of radar parameters
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
List of filtered parameters
|
List of filtered parameters
|
||||||
"""
|
"""
|
||||||
productIDs = []
|
productIDs = []
|
||||||
for p in list(availableParms):
|
for p in list(availableParms):
|
||||||
try:
|
try:
|
||||||
if isinstance(int(p), int):
|
if isinstance(int(p), int):
|
||||||
productIDs.append(str(p))
|
productIDs.append(str(p))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return productIDs
|
return productIDs
|
||||||
|
|
||||||
|
|
||||||
def getRadarProductNames(availableParms):
|
def getRadarProductNames(availableParms):
|
||||||
|
|
Loading…
Add table
Reference in a new issue