Skip to content

Commit d2e9bf7

Browse files
committed
Fixed the import issue ecmwf#317
1 parent 0eb7f59 commit d2e9bf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Here is a step-by-step example of how to use this software.
8888
```Python
8989
options = {"longitude": {"cyclic": [0, 360.0]}}
9090

91-
from polytope.polytope import Polytope
91+
from polytope_feature.polytope import Polytope
9292

9393
p = Polytope(datacube=array, axis_options=options)
9494
```
@@ -97,15 +97,15 @@ Here is a step-by-step example of how to use this software.
9797
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,
9898
```Python
9999
import numpy as np
100-
from polytope.shapes import Box, Select
100+
from polytope_feature.shapes import Box, Select
101101

102102
box = Box(["latitude", "longitude"], [0, 0], [1, 1])
103103
step_point = Select("step", [np.timedelta64(0, "s")])
104104
```
105105

106106
which we then incorporate into a Polytope request.
107107
```Python
108-
from polytope.polytope import Request
108+
from polytope_feature.polytope import Request
109109

110110
request = Request(box, step_point)
111111
```

0 commit comments

Comments
 (0)