diff --git a/geomagio/iaga2002/IAGA2002Writer.py b/geomagio/iaga2002/IAGA2002Writer.py
index bd215ef98deae916d2cbdf83610b25b4d5d1adc2..4aac8db92a27426ec88ef4bc48d9dd7e9ab8f60a 100644
--- a/geomagio/iaga2002/IAGA2002Writer.py
+++ b/geomagio/iaga2002/IAGA2002Writer.py
@@ -87,11 +87,15 @@ class IAGA2002Writer(object):
                 self._format_header("Sensor Orientation", stats.sensor_orientation)
             )
         if "sensor_sampling_rate" in stats:
-            buf.append(
-                self._format_header(
-                    "Digital Sampling", str(1 / stats.sensor_sampling_rate) + " second"
+            try:
+                buf.append(
+                    self._format_header(
+                        "Digital Sampling",
+                        str(1 / stats.sensor_sampling_rate) + " second",
+                    )
                 )
-            )
+            except TypeError:
+                buf.append(self._format_header("Digital Sampling", ""))
         if "data_interval_type" in stats:
             buf.append(
                 self._format_header("Data Interval Type", stats.data_interval_type)