RKuttruff commented on code in PR #268:
URL: 
https://github.com/apache/incubator-sdap-nexus/pull/268#discussion_r1279868364


##########
analysis/webservice/algorithms/doms/subsetter.py:
##########
@@ -203,14 +203,22 @@ def calc(self, request, **args):
 
             tile = tile[0]
 
+            def get_best_name(variable):
+                if variable.standard_name:
+                    return variable.standard_name
+                elif variable.variable_name:
+                    return variable.variable_name
+                else:
+                    return 'UNNAMED_VARIABLE'

Review Comment:
   Done. Raises `NexusProcessingException` w/ code 500



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to