From b0d46d7e96fed6924d5d56188e27bc90f332acbf Mon Sep 17 00:00:00 2001
From: Hal Simpson <hasimpson@usgs.gov>
Date: Fri, 8 Jul 2016 09:25:25 -0600
Subject: [PATCH] Added password for goes

---
 geomagio/Controller.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/geomagio/Controller.py b/geomagio/Controller.py
index 0f04652c..5e8c1d89 100644
--- a/geomagio/Controller.py
+++ b/geomagio/Controller.py
@@ -299,6 +299,7 @@ def get_input_factory(args):
         input_factory = imfv283.GOESIMFV283Factory(
                 directory=args.input_goes_directory,
                 getdcpmessages=args.input_goes_getdcpmessages,
+                password=args.input_goes_password,
                 server=args.input_goes_server,
                 user=args.input_goes_user,
                 **input_factory_args)
@@ -580,7 +581,7 @@ def parse_args(args):
             type=edge.LocationCode)
     parser.add_argument('--interval',
             default='minute',
-            choices=['hourly', 'minute', 'second'])
+            choices=['hourly', 'minute', 'second', 'tenth'])
     parser.add_argument('--update',
             action='store_true',
             default=False,
@@ -634,6 +635,9 @@ def parse_args(args):
     parser.add_argument('--input-goes-getdcpmessages',
             default='',
             help='Location of getDcpMessages.')
+    parser.add_argument('--input-goes-password',
+            default='',
+            help='Password for goes user')
     parser.add_argument('--input-goes-server',
             nargs='*',
             help='The server name(s) to retrieve the GOES data from')
-- 
GitLab