Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the import issue #317 #318

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```
Expand All @@ -97,15 +97,15 @@ 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")])
```

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)
```
Expand Down
Loading