Skip to content
Snippets Groups Projects
Commit e108aedd authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler Committed by Claycomb, Abram Earl
Browse files

Fix linting errors

parent f1dd3fb1
No related branches found
No related tags found
No related merge requests found
......@@ -607,7 +607,7 @@ def parse_args(args):
default='variation',
choices=['variation',
'reported',
'provisional',
'provisional',
'adjusted',
'quasi-definitive',
'definitive'])
......
......@@ -107,8 +107,8 @@ class IAGA2002Writer(object):
"""
comments = []
if ('declination_base' in stats and
stats.declination_base is not None and
(stats.data_type == 'variation' or stats.data_type == 'reported')):
stats.declination_base is not None and
(stats.data_type == 'variation' or stats.data_type == 'reported')):
comments.append('DECBAS {:<8d}'
'(Baseline declination value in tenths of minutes East'
' (0-216,000)).'.format(stats.declination_base))
......
......@@ -79,10 +79,10 @@ class IMFJSONWriter(object):
metadata['channel'] = edge_channel
if stats.location == "":
if (stats.data_type == 'variation' or
stats.data_type == 'reported'):
stats.data_type == 'reported'):
stats.location = 'R0'
elif (stats.data_type == 'adjusted' or
stats.data_type == 'provisional'):
stats.data_type == 'provisional'):
stats.location = 'A0'
elif stats.data_type == 'quasi-definitive':
stats.location = 'Q0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment