From d2e9bf7877a48a3ccb427b4f70d761c1c15402c6 Mon Sep 17 00:00:00 2001 From: Yordan Radev Date: Tue, 4 Feb 2025 15:29:15 -0500 Subject: [PATCH] Fixed the import issue #317 --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 3db6544d..05eed3c2 100644 --- a/readme.md +++ b/readme.md @@ -88,7 +88,7 @@ Here is a step-by-step example of how to use this software. ```Python options = {"longitude": {"cyclic": [0, 360.0]}} - from polytope.polytope import Polytope + from polytope_feature.polytope import Polytope p = Polytope(datacube=array, axis_options=options) ``` @@ -97,7 +97,7 @@ Here is a step-by-step example of how to use this software. In this example, we want to extract a simple 2D box in latitude and longitude at step 0. We thus create the two relevant shapes we need to build this 3-dimensional object, ```Python import numpy as np - from polytope.shapes import Box, Select + from polytope_feature.shapes import Box, Select box = Box(["latitude", "longitude"], [0, 0], [1, 1]) step_point = Select("step", [np.timedelta64(0, "s")]) @@ -105,7 +105,7 @@ Here is a step-by-step example of how to use this software. which we then incorporate into a Polytope request. ```Python - from polytope.polytope import Request + from polytope_feature.polytope import Request request = Request(box, step_point) ```