You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Service/Features/boundingbox.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -48,36 +48,36 @@ For a bounding box, `type` must be `boundingbox`.
48
48
49
49
## Optional Fields
50
50
51
-
`axes` refers to the axes on which to generate the bounding box. As stated above the minimum default `axes` contains `lat` and `lon` meaning if `axes` is not included these values must be provided per point. By default the level is taken from the main body of the request.
51
+
`axes` refers to the axes on which to generate the bounding box. As stated above the minimum default `axes` contains `latitude` and `longitude` meaning if `axes` is not included these values must be provided per point. By default the level is taken from the main body of the request.
52
52
53
53
However `axes` can also be provided by the user and with a value for level. Such as here:
54
54
55
55
```python
56
-
"axes" : ["lat", "long", "level"]
56
+
"axes" : ["latitude", "longitude", "levelist"]
57
57
```
58
58
59
-
In this case the user must provide a `lat`, `lon` and `level`. `level` should not be included in the main body of the request in this case. An example can be seen here:
59
+
In this case the user must provide a `latitude`, `longitude` and `levelist`. `levelist` should not be included in the main body of the request in this case. An example can be seen here:
This request will return a trajectory from yesterday's midnight forecast for the three requested parameters for the points along the path gives with a radius of 0.1.
37
34
38
35
The `trajectory``feature` also contains another field called `radius`. This is the radius of the circle swept around the trajectory where points within this radius are returned to the user.
39
36
@@ -49,35 +46,37 @@ For a trajectory two fields are required within the `feature` dictionary
49
46
50
47
For a trajectory `type` must be `trajectory`.
51
48
52
-
The values in `points` can change depending on the `axes`. The default for `axes`is:
49
+
The values in `points` can change depending on the `axes`. `axes`can contain the following values:
In this default case, a nested list of at least two points with values for `lat`, `lon`, `level`, and `step` must be provided.
55
+
In this default case, a nested list of at least two points with values for `latitude`and `longitude` must be provided.
59
56
60
57
Another required field that is within the `feature` dictionary is `radius`. This refers to the radius of the circle swept around the trajectory along which points will be included.
61
58
62
59
63
60
## Optional Fields
64
61
65
-
`axes` refers to the axes on which to generate the trajectory. As stated above the minimum default `axes` contains `lat`, `lon`, `level`, and `step` meaning if `axes` is not included these values must be provided per point.
62
+
`axes` refers to the axes on which to generate the trajectory. As stated above the minimum default `axes` contains `latitude`, `longitude` meaning if `axes` is not included these values must be provided per point.
66
63
67
-
However `axes` can also be provided by the user and with less values. The minimum values of `axes` are:
64
+
However `axes` can also be provided by the user and with more values:
In this case only `lat` and `lon` must be provided in the requested points but a level and time axis must be provided in the main body of the request. These values will be propagated for each set of `lat`, `lon` points. For example in the following request:
70
+
In this case a point must contain a value for each axis.
71
+
<!---
72
+
In this case only `latitude` and `longitude` must be provided in the requested points but a level and time axis must be provided in the main body of the request. These values will be propagated for each set of `latitude`, `longitude` points. For example in the following request:
74
73
75
74
```python
76
75
request = {
77
76
"class" : "od",
78
77
"stream" : "enfo",
79
78
"type" : "pf",
80
-
"date" : yesterday,
79
+
"date" : -1,
81
80
"time" : "0000",
82
81
"expver" : "0001",
83
82
"domain" : "g",
@@ -89,7 +88,7 @@ request = {
89
88
"feature" : {
90
89
"type" : "trajectory",
91
90
"points" : [[-1, -1], [0, 0], [-1, -1]],
92
-
"axes" : ['lat', 'lon']
91
+
"axes" : ['latitude', 'longitude']
93
92
},
94
93
}
95
94
```
@@ -105,4 +104,5 @@ The following points would be returned:
105
104
106
105
The user does not have to give `step` as the time axis. In the case of a climate dataset `datetime` can also be used.
107
106
108
-
Combinations such as `"axis" : ['lat', 'step']` will return an error if `step` is included as an `axis` and also in the main body of the request. An error that the request is overspecified will also be thrown.
107
+
Combinations such as `"axis" : ['lat', 'step']` will return an error if `step` is included as an `axis` and also in the main body of the request. An error that the request is overspecified will also be thrown.
Copy file name to clipboardExpand all lines: docs/Service/Installation.md
+4
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ To use covjson functionality also run:
9
9
10
10
python3 -m pip install earthkit-data[covjsonkit]
11
11
12
+
To use any of the visualisations, also install earthkit-plots:
13
+
14
+
python3 -m pip install earthkit-plots
15
+
12
16
Installing like this gives you a **minimal** package which can talk to Polytope. If you want to use more data types or remote services you need to install other optional features of earthkit-data, or just install all of them:
Copy file name to clipboardExpand all lines: docs/Service/Quick_Start.md
+8-13
Original file line number
Diff line number
Diff line change
@@ -51,21 +51,16 @@ ds.to_xarray()
51
51
The following visualisation does not use the latest version of earthkit-plots. To replicate it you need to install the https://github.com/ecmwf/earthkit-plots/tree/feature/ams-meteograms branch
0 commit comments