This is an automated email from the ASF dual-hosted git repository. rkk pushed a commit to branch SDAP-459 in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit 9bf9f53dfb507a3186c7073d92df832b98747a4a Author: Riley Kuttruff <[email protected]> AuthorDate: Thu Apr 20 12:30:59 2023 -0700 SDAP-459 - Ensure min/max lat/lon values are float --- data-access/nexustiles/nexustiles.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/data-access/nexustiles/nexustiles.py b/data-access/nexustiles/nexustiles.py index a3aa61e..c82452b 100644 --- a/data-access/nexustiles/nexustiles.py +++ b/data-access/nexustiles/nexustiles.py @@ -500,7 +500,13 @@ class NexusTileService(object): 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)) except KeyError: pass
