diff --git a/luts.py b/luts.py index 47d4adbf..8f9950f6 100644 --- a/luts.py +++ b/luts.py @@ -80,7 +80,6 @@ "/beetles/point/", "/elevation/point/", "/taspr/point/", - "/indicators/base/point/", "/ncr/permafrost/point/", "/eds/hydrology/point/", "/alfresco/flammability/area/", @@ -88,7 +87,6 @@ "/beetles/area/", "/elevation/area/", "/taspr/area/", - "/indicators/base/area/", ] # Used for generating output for vector_data for /places/all diff --git a/routes/indicators.py b/routes/indicators.py index 6cf8e187..b64d334f 100644 --- a/routes/indicators.py +++ b/routes/indicators.py @@ -1,7 +1,7 @@ """Endpoints for climate indicators These endpoint(s) query a coverage containing summarized versions of the indicators dataset created from the 12km NCAR dataset. -The thresholds and eras are preconfigured in the coverage. Calling this the "base" indicators for now (i.e., url suffix: /indicators/base). +The thresholds and eras are preconfigured in the coverage. """ import json @@ -498,12 +498,9 @@ def run_fetch_cmip6_indicators_point_data(lat, lon): return render_template("500/server_error.html"), 500 -@routes.route( - "/indicators/base/point//" -) # original route, kept for backwards compatibility @routes.route( "/indicators/cmip5/point///" -) # new route, matches API documentation +) # route matches API documentation def run_fetch_cmip5_indicators_point_data(lat, lon): """Query the NCAR 12km indicators_climatologies rasdaman coverage which contains indicators summarized over NCR time eras @@ -558,12 +555,9 @@ def run_fetch_cmip5_indicators_point_data(lat, lon): return render_template("404/no_data.html"), 404 -@routes.route( - "/indicators/base/area/" -) # original route, kept for backwards compatibility @routes.route( "/indicators/cmip5/area//" -) # new route, matches API documentation +) # route matches API documentation def get_cmip5_indicators_area_data(var_id): """Area aggregation data endpoint. Fetch data within polygon area for specified variable and return JSON-like dict.