-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from ecmwf/feature/update_docs
Split the docs into algorithm and Service, add initial docs to service
- Loading branch information
Showing
36 changed files
with
10,158 additions
and
20 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Building Features | ||
|
||
The Polytope software implements a set of base shapes that might be of interest to users. These are detailed [here](../Developer_Guide/shapes.md). | ||
|
||
For many applications however, these shapes are not directly of interest and should rather be used as building blocks for more complex and domain-specific "features", such as timeseries or country areas. | ||
|
||
The main requirement when building such features in Polytope is that the feature should be defined on all dimensions of the provided datacube. | ||
This implies that, when defining lower-dimensional shapes in higher-dimensional datacubes, the remaining axes still need to be specified within the Polytope request (most likely as *Select* shapes). | ||
|
||
For example, for a given datacube with dimensions "level", "step", "latitude" and "longitude", we could query the following shapes: | ||
|
||
- a timeseries of a point which would be defined as | ||
|
||
Request( | ||
Point(["latitude", "longitude"], [[p1_lat, p1_lon]]), | ||
Span("step", start_step, end_step), | ||
Select("level", [level1]) | ||
) | ||
|
||
|
||
- a specific country area which would be defined as | ||
|
||
Request( | ||
Polygon(["latitude", "longitude"], country_points), | ||
Select("step", [step1]), | ||
Select("level", [level1]) | ||
) | ||
|
||
- a flight path which would be defined as | ||
|
||
Request( | ||
Path( | ||
["latitude", "longitude", "level", "step"], | ||
Box( | ||
["latitude", "longitude", "level", "step"], | ||
[0, 0, 0, 0], | ||
[lat_padding, lon_padding, level_padding, step_padding] | ||
), | ||
flight_points | ||
) | ||
) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Oops, something went wrong.