From bb4719321a02a9a84348c133bcb8762d49440105 Mon Sep 17 00:00:00 2001
From: James Harle <jdha@noc.ac.uk>
Date: Fri, 7 Jun 2019 08:37:54 +0100
Subject: [PATCH] clean up print statements

---
 pynemo/nemo_bdy_setup.py | 3 ---
 pynemo/profile.py        | 1 -
 2 files changed, 4 deletions(-)

diff --git a/pynemo/nemo_bdy_setup.py b/pynemo/nemo_bdy_setup.py
index aad3846..b3e254e 100644
--- a/pynemo/nemo_bdy_setup.py
+++ b/pynemo/nemo_bdy_setup.py
@@ -129,13 +129,11 @@ class Setup(object):
             for index, value in values.iteritems():
                 count = -1
                 for line in data:
-#                    print line
                     count = count + 1
                     #find the variable
                     line_without_comments = strip_comments(line)
                     if line_without_comments == '':
                         continue
-                    #print line_without_comments
                     data_name, data_index, data_value = self._get_var_name_value(line_without_comments)
 
                     if data_name == name:
@@ -248,7 +246,6 @@ def _replace_var_value(original_line, value, new_value):
         value = str(value).lower()
         new_value = str(new_value).lower()
     elif type(value).__name__ == 'str': #an empty string need to replace with ''
-        print value, new_value
         if value == '':
             value = '\'\''
             new_value = '\''+new_value+'\''
diff --git a/pynemo/profile.py b/pynemo/profile.py
index fc8a346..029fe3d 100644
--- a/pynemo/profile.py
+++ b/pynemo/profile.py
@@ -132,7 +132,6 @@ def process_bdy(setup_filepath=0, mask_gui=False):
     logger.info('Gathering grid information')
     nc = GetFile(settings['src_zgr'])
     SourceCoord.zt = np.squeeze(nc['gdept_0'][:])
-    print SourceCoord.zt.shape
     nc.close()
 
     # Define z at t/u/v points
-- 
GitLab