diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 2a1515c55a913b8b7e0d5e8b7e45a4a3ef0f4881..f56a6e1f32076ab537557278b45e9e38bb2fb7d3 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -607,7 +607,7 @@ def parse_args(args): default='variation', choices=['variation', 'reported', - 'provisional', + 'provisional', 'adjusted', 'quasi-definitive', 'definitive']) diff --git a/geomagio/iaga2002/IAGA2002Writer.py b/geomagio/iaga2002/IAGA2002Writer.py index c9769160db89bdc080c339b8f2a3b67dacf4f519..c8d815cbde40764308f5454105170255a40e40b0 100644 --- a/geomagio/iaga2002/IAGA2002Writer.py +++ b/geomagio/iaga2002/IAGA2002Writer.py @@ -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)) diff --git a/geomagio/imfjson/IMFJSONWriter.py b/geomagio/imfjson/IMFJSONWriter.py index cc3c213c21cdddf4403c5e8383e23455cb41e413..f2988effcdf9d1da7d55a2e2ad68df8dac840de8 100644 --- a/geomagio/imfjson/IMFJSONWriter.py +++ b/geomagio/imfjson/IMFJSONWriter.py @@ -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'