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


##########
data-access/nexustiles/nexustiles.py:
##########
@@ -500,7 +500,13 @@ def _metadata_store_docs_to_tiles(self, *store_docs):
                 if isinstance(max_lon, list):
                     max_lon = max_lon[0]
 
-                tile.bbox = BBox(min_lat, max_lat, min_lon, max_lon)
+                # In case it's been stored as a string
+                # Observed in JPL CDMS SDAP deployment
+                tile.bbox = BBox(
+                    float(min_lat), 
+                    float(max_lat), 
+                    float(min_lon), 
+                    float(max_lon))

Review Comment:
   Shouldn't be required but it couldn't hurt.
   I can revert this change if necessary



-- 
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