From dcc455379e5d345de7f619f50ef2cd3fa52115cd Mon Sep 17 00:00:00 2001 From: Simon Liu Date: Tue, 29 Oct 2024 16:58:04 -0700 Subject: [PATCH] /deploy sit --- podaac/forge_py/open_cv_footprint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/podaac/forge_py/open_cv_footprint.py b/podaac/forge_py/open_cv_footprint.py index 1d1a19d..6a72271 100644 --- a/podaac/forge_py/open_cv_footprint.py +++ b/podaac/forge_py/open_cv_footprint.py @@ -445,8 +445,8 @@ def footprint_open_cv(lon, lat, width=3600, height=1800, path=None, threshold_va if polygon_structure is not None: simplified_polygon = simplify_polygon(polygon_structure) - clockwise = ensure_counter_clockwise(simplified_polygon) - reduced_precision = reduce_precision(clockwise) - return reduced_precision.wkt + reduced_precision = reduce_precision(simplified_polygon) + counter_clockwise = ensure_counter_clockwise(reduced_precision) + return counter_clockwise.wkt raise Exception("No valid polygons found.")