diff --git a/geomagio/iaga2002/IAGA2002Writer.py b/geomagio/iaga2002/IAGA2002Writer.py index 2e9bbdfdd35cfc15c92273d25265b9bb4151c660..bd215ef98deae916d2cbdf83610b25b4d5d1adc2 100644 --- a/geomagio/iaga2002/IAGA2002Writer.py +++ b/geomagio/iaga2002/IAGA2002Writer.py @@ -117,7 +117,11 @@ class IAGA2002Writer(object): if ( "declination_base" in stats and stats.declination_base is not None - and (stats.data_type == "variation" or stats.data_type == "reported") + and ( + stats.data_type == "variation" + or stats.data_type == "reported" + or stats.data_type[0] == "R" + ) ): comments.append( "DECBAS {:<8d}"