mayadebellis commented on a change in pull request #61: SDAP-105 DOMS matchup 
netcdf and csv generation
URL: 
https://github.com/apache/incubator-sdap-nexus/pull/61#discussion_r246109171
 
 

 ##########
 File path: analysis/webservice/algorithms/doms/BaseDomsHandler.py
 ##########
 @@ -196,14 +221,24 @@ def __addDynamicAttrs(csvfile, executionId, results, 
params, details):
             for match in primaryValue['matches']:
                 platforms.add(match['platform'])
 
+        # insituDatasets = params["matchup"].split(",")
+        insituDatasets = params["matchup"]
+        insituLinks = set()
+        for insitu in insituDatasets:
+            if insitu == "samos":
+                insituLinks.add("http://samos.coaps.fsu.edu/html/nav.php?s=2";)
+            if insitu == "icoads":
+                insituLinks.add("https://rda.ucar.edu/datasets/ds548.1/";)
+            if insitu == "spurs":
+                insituLinks.add("https://podaac.jpl.nasa.gov/spurs";)
+
         global_attrs = [
             {"Global Attribute": "Platform", "Value": ', '.join(platforms)},
             {"Global Attribute": "time_coverage_start",
              "Value": params["startTime"].strftime(ISO_8601)},
             {"Global Attribute": "time_coverage_end",
              "Value": params["endTime"].strftime(ISO_8601)},
-            # TODO I don't think this applies
-            # {"Global Attribute": "time_coverage_resolution", "Value": 
"point"},
+            {"Global Attribute": "time_coverage_resolution", "Value": "point"},
 
 Review comment:
   Removing all incorrect "point" references

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to