-
Notifications
You must be signed in to change notification settings - Fork 1
api‐specification ‐ radar
dhenn12 edited this page Jan 28, 2020
·
5 revisions
specification formatting based on idratherbewriting.com/learnapidoc/docapis_resource_descriptions.html
This Endpoint serves information of the radar data provided by DWD. Following products RX and RY from the DWD are used. We cached the data by R-Plumber which provide us with information. It provides a feature set of precipitation data from Germany.
- The API to retrieve precipitation features
/radar/get1hRadarand/radar/get5mRadar:
| method | path |
|---|---|
| GET | /radar/get1hRadar |
| GET | /radar/get1hRadar |
-
Returns a gejson of a feature group with information about the precipitation in the last one hour.
Allows to search in a Bounding box. Allows to get a minimum level of precipitation. Allows to get a maximum level of precipitation.
Parameters
these filters are used on the searched data in the listed order.
-
bboxthe geographical boundaries in which the tweets are located (WGS84). -
minthe minimum level of precipitation of a feature -
maxthe maximum level of precipitation of a feature
-
| Name | Method | Description |
|---|---|---|
/radar/get1hradar |
GET | Returns all features of precipitation in the last hour, optionally with a minimum and/ or maximum level of precipitation and inside a bounding box. |
/radar/get5mradar |
GET | Returns all features of precipitation in the last 5 minutes, optionally with a minimum and/ or maximum level of precipitation and inside a bounding box. |
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| bbox | number array | optional | bounding box of 4 coordinates in the WGS84 format, represented as an array of four numbers: bbox={north},{west},{west},{south}
|
| minimum | number | optional | Minimum level of precipitation. If value is lower then minimum it wont be returned. The data are encoded with 4 different levels of precipitation |
| maximum | number | optional | Maximum level of precipitation. If value is higher then maximum it wont be returned. The data are encoded with 4 different levels of precipitation |
tbd