diff --git a/xpublish_wms/wms/get_map.py b/xpublish_wms/wms/get_map.py index 53f5ac9..39e863c 100644 --- a/xpublish_wms/wms/get_map.py +++ b/xpublish_wms/wms/get_map.py @@ -280,7 +280,7 @@ async def render( if minmax_only: logger.warning("Falling back to default minmax") return {"min": float(da.min()), "max": float(da.max())} - + try: da = filter_data_within_bbox(da, self.bbox, self.BBOX_BUFFER) except Exception as e: @@ -301,7 +301,7 @@ async def render( # da["x"] = da.x.persist() # da["y"] = da.y.persist() - print(da.x[1].values -da.x[0].values) + print(da.x[1].values - da.x[0].values) print(da.y[1].values - da.y[0].values) print(f"dask compute: {time.time() - start_dask}")