From c483ddcefe0798db132f81ecad19ac9db4550bae Mon Sep 17 00:00:00 2001
From: Hal Simpson <hasimpson@usgs.gov>
Date: Mon, 16 Mar 2015 21:08:33 -0600
Subject: [PATCH] Write out Gin comment from it's own key.

---
 geomagio/iaga2002/IAGA2002Writer.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/geomagio/iaga2002/IAGA2002Writer.py b/geomagio/iaga2002/IAGA2002Writer.py
index b1282d73b..7801005bc 100644
--- a/geomagio/iaga2002/IAGA2002Writer.py
+++ b/geomagio/iaga2002/IAGA2002Writer.py
@@ -54,6 +54,9 @@ class IAGA2002Writer(object):
             comments.extend(stats.filter_comments)
         if 'comments' in stats:
             comments.extend(stats.comments)
+        if 'is_gin' in stats and stats.is_gin:
+            comments.append('This data file was constructed by the Golden' +
+                    'GIN.')
         if 'is_intermagnet' in stats and stats.is_intermagnet:
             comments.append('Final data will be available on the' +
                     ' INTERMAGNET DVD.')
-- 
GitLab