diff --git a/pynemo/nemo_bdy_setup.py b/pynemo/nemo_bdy_setup.py index aad3846bc0800f96173f0f67921f0ce5773502bf..b3e254e9d3038c130954e34fecb8c9c96f4cf893 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 fc8a3468d9908c21de4de1ac749efa75f07bb23c..029fe3d03331c3d4b07f8277f7fc654dd48fd29b 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