This is an automated email from the ASF dual-hosted git repository.

skperez pushed a commit to branch SDAP-387
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git

commit a951945233f39fe0b6bfdca416479b45554ab31c
Author: skorper <[email protected]>
AuthorDate: Tue May 24 14:17:25 2022 -0700

    Remove todos, add newline to end of file
---
 analysis/webservice/algorithms/doms/BaseDomsHandler.py                | 4 +---
 .../webservice/nexus_tornado/request/renderers/NexusNETCDFRenderer.py | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/analysis/webservice/algorithms/doms/BaseDomsHandler.py 
b/analysis/webservice/algorithms/doms/BaseDomsHandler.py
index 0423d30..bb32146 100644
--- a/analysis/webservice/algorithms/doms/BaseDomsHandler.py
+++ b/analysis/webservice/algorithms/doms/BaseDomsHandler.py
@@ -390,7 +390,7 @@ class DomsNetCDFFormatter:
 
 
 class DomsNetCDFValueWriter:
-    def __init__(self, group, matchup_parameter):  # TODO how do we want this 
matchup param to be used?
+    def __init__(self, group, matchup_parameter):
         group.createDimension("dim", size=None)
         self.group = group
 
@@ -457,8 +457,6 @@ class DomsNetCDFValueWriter:
             self.__enrichDepth(depthVar, self.__calcMin(self.depth), 
max(self.depth))
             depthVar[:] = self.depth
 
-        print(self.data_map)
-
         for variable_name, data in self.data_map.items():
             # Create a variable for each data point
             data_variable = self.group.createVariable(variable_name, 'f4', 
('dim',), fill_value=-32767.0)
diff --git 
a/analysis/webservice/nexus_tornado/request/renderers/NexusNETCDFRenderer.py 
b/analysis/webservice/nexus_tornado/request/renderers/NexusNETCDFRenderer.py
index b2236f6..2476419 100644
--- a/analysis/webservice/nexus_tornado/request/renderers/NexusNETCDFRenderer.py
+++ b/analysis/webservice/nexus_tornado/request/renderers/NexusNETCDFRenderer.py
@@ -14,4 +14,4 @@ class NexusNETCDFRenderer(object):
             tornado_handler.write(result.toNetCDF())
         except:
             traceback.print_exc(file=sys.stdout)
-            raise NexusProcessingException(reason="Unable to convert results 
to NetCDF.")
\ No newline at end of file
+            raise NexusProcessingException(reason="Unable to convert results 
to NetCDF.")

Reply via email to