mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14: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):
|
||||
"""
|
||||
Get only the numeric idetifiers for NEXRAD3 products.
|
||||
"""
|
||||
Get only the numeric idetifiers for NEXRAD3 products.
|
||||
|
||||
Args:
|
||||
availableParms: Full list of radar parameters
|
||||
Args:
|
||||
availableParms: Full list of radar parameters
|
||||
|
||||
Returns:
|
||||
List of filtered parameters
|
||||
"""
|
||||
productIDs = []
|
||||
for p in list(availableParms):
|
||||
try:
|
||||
if isinstance(int(p), int):
|
||||
productIDs.append(str(p))
|
||||
except ValueError:
|
||||
pass
|
||||
Returns:
|
||||
List of filtered parameters
|
||||
"""
|
||||
productIDs = []
|
||||
for p in list(availableParms):
|
||||
try:
|
||||
if isinstance(int(p), int):
|
||||
productIDs.append(str(p))
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
return productIDs
|
||||
return productIDs
|
||||
|
||||
|
||||
def getRadarProductNames(availableParms):
|
||||
|
|
Loading…
Add table
Reference in a new issue