From d5b69d634a9b57c5c6b1ff306c188c4709c9ba67 Mon Sep 17 00:00:00 2001 From: Matt Iannucci Date: Wed, 11 Oct 2023 14:07:13 -0400 Subject: [PATCH] Cleanup --- xpublish_wms/wms/get_feature_info.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xpublish_wms/wms/get_feature_info.py b/xpublish_wms/wms/get_feature_info.py index 6102fed..05ff44c 100644 --- a/xpublish_wms/wms/get_feature_info.py +++ b/xpublish_wms/wms/get_feature_info.py @@ -6,7 +6,7 @@ from fastapi import HTTPException, Response from fastapi.responses import JSONResponse -from xpublish_wms.grid import GridType, sel2d +from xpublish_wms.grid import GridType from xpublish_wms.utils import ( format_timestamp, round_float_values, @@ -105,8 +105,6 @@ def get_feature_info(ds: xr.Dataset, query: dict) -> Response: """ Return the WMS feature info for the dataset and given parameters """ - grid_type = GridType.from_ds(ds) - # Data selection if ":" in query["query_layers"]: parameters = query["query_layers"].split(":")