@opengeoweb/soundings 15.1.0 → 15.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/index.esm.js +595 -134
- package/package.json +9 -9
- package/src/index.d.ts +1 -0
- package/src/lib/api/edr-api/utils.d.ts +2 -1
- package/src/lib/components/Hodograph/Hodograph.d.ts +6 -0
- package/src/lib/components/Hodograph/Hodograph.spec.d.ts +1 -0
- package/src/lib/components/Hodograph/Hodograph.stories.d.ts +7 -0
- package/src/lib/components/Hodograph/HodographCollection.d.ts +6 -0
- package/src/lib/components/Hodograph/HodographCollection.spec.d.ts +1 -0
- package/src/lib/components/Hodograph/HodographLegend.d.ts +2 -0
- package/src/lib/components/Hodograph/drawUtils.d.ts +53 -0
- package/src/lib/components/Hodograph/drawUtils.spec.d.ts +1 -0
- package/src/lib/components/MenuBar/LocationsMenuConnect.d.ts +2 -1
- package/src/lib/components/SoundingPanelPlaceholder/SoundingPanelPlaceholder.d.ts +5 -0
- package/src/lib/components/SoundingPanelPlaceholder/SoundingPanelPlaceholder.spec.d.ts +1 -0
- package/src/lib/components/SoundingPanelPlaceholder/index.d.ts +1 -0
- package/src/lib/components/SoundingsAccordion/SoundingsAccordion.d.ts +1 -0
- package/src/lib/components/SoundingsManager/SoundingManagerListItem.d.ts +3 -1
- package/src/lib/components/SoundingsManager/SoundingsManager.d.ts +2 -1
- package/src/lib/store/reducer.d.ts +23 -14
- package/src/lib/store/selectors.d.ts +24 -23
- package/src/lib/store/store.d.ts +1 -1
- package/src/lib/store/types.d.ts +19 -2
- package/src/lib/store/utils.d.ts +10 -0
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@ There, you can specify the required details for each source under the `soundings
|
|
|
15
15
|
"id": "harmonie_scandinavia_hybrid",
|
|
16
16
|
"url": "https://opendata.fmi.fi/edr",
|
|
17
17
|
"description": "MEPS/vertical coordinate model level",
|
|
18
|
+
"windSpeedUnit": "ms",
|
|
18
19
|
"parameterMappings": {
|
|
19
20
|
"temperature": "temperature",
|
|
20
21
|
"windDirection": "winddirection",
|
|
@@ -28,6 +29,7 @@ There, you can specify the required details for each source under the `soundings
|
|
|
28
29
|
"id": "harmonie_scandinavia_pressure",
|
|
29
30
|
"url": "https://opendata.fmi.fi/edr",
|
|
30
31
|
"description": "MEPS/vertical coordinate pressure",
|
|
32
|
+
"windSpeedUnit": "ms",
|
|
31
33
|
"parameterMappings": {
|
|
32
34
|
"temperature": "temperature",
|
|
33
35
|
"windDirection": "winddirection",
|
|
@@ -39,7 +41,9 @@ There, you can specify the required details for each source under the `soundings
|
|
|
39
41
|
]
|
|
40
42
|
```
|
|
41
43
|
|
|
42
|
-
Each source should have a name
|
|
44
|
+
Each source should have a `name`, `id`, `source url`, `description`, `windSpeedUnit` and include parameter mappings telling the soundings API which EDR parameters to assign to which physical property.
|
|
45
|
+
|
|
46
|
+
The `windSpeedUnit` is required to ensure correct derivation of the windbarbs and hodograph. This should contain either 'ms' or 'kts' depending on the unit served by the EDR service
|
|
43
47
|
|
|
44
48
|
The following mappings are needed:
|
|
45
49
|
|