@opengeoweb/soundings 19.0.0 → 19.1.1

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.
Files changed (72) hide show
  1. package/dist/README.md +59 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.esm.js +7803 -0
  4. package/dist/src/index.d.ts +10 -0
  5. package/dist/src/lib/api/edr-api/api.d.ts +13 -0
  6. package/dist/src/lib/api/edr-api/fakeApi.d.ts +16 -0
  7. package/dist/src/lib/api/edr-api/hooks.d.ts +98 -0
  8. package/dist/src/lib/api/edr-api/types.d.ts +38 -0
  9. package/dist/src/lib/api/edr-api/utils.d.ts +21 -0
  10. package/dist/src/lib/components/Hodograph/Hodograph.d.ts +6 -0
  11. package/dist/src/lib/components/Hodograph/HodographCollection.d.ts +6 -0
  12. package/dist/src/lib/components/Hodograph/HodographLegend.d.ts +2 -0
  13. package/dist/src/lib/components/Hodograph/drawUtils.d.ts +53 -0
  14. package/dist/src/lib/components/MenuBar/LocationsMenu.d.ts +20 -0
  15. package/dist/src/lib/components/MenuBar/LocationsMenuConnect.d.ts +7 -0
  16. package/dist/src/lib/components/MenuBar/MenuBar.d.ts +16 -0
  17. package/dist/src/lib/components/MenuBar/MenuBarConnect.d.ts +8 -0
  18. package/dist/src/lib/components/MenuBar/SoundingsMarkersSwitch.d.ts +6 -0
  19. package/dist/src/lib/components/MenuBar/SoundingsProfileDataDialogConnect.d.ts +2 -0
  20. package/dist/src/lib/components/MenuBar/SoundingsProfileDataMenu.d.ts +11 -0
  21. package/dist/src/lib/components/MenuBar/SoundingsSourceDialogConnect.d.ts +7 -0
  22. package/dist/src/lib/components/MenuBar/SoundingsSourceMenu.d.ts +16 -0
  23. package/dist/src/lib/components/MenuBar/SoundingsTopRowButton.d.ts +9 -0
  24. package/dist/src/lib/components/Providers/Providers.d.ts +12 -0
  25. package/dist/src/lib/components/ResizablePanel/MultipleResizablePanelsDemo.d.ts +2 -0
  26. package/dist/src/lib/components/ResizablePanel/ResizablePanel.d.ts +18 -0
  27. package/dist/src/lib/components/ResizablePanel/ResizablePanelStandalone.d.ts +25 -0
  28. package/dist/src/lib/components/SortablePanels/SortablePanels.d.ts +30 -0
  29. package/dist/src/lib/components/SoundingPanelPlaceholder/SoundingPanelPlaceholder.d.ts +5 -0
  30. package/dist/src/lib/components/SoundingPanelPlaceholder/index.d.ts +1 -0
  31. package/dist/src/lib/components/Soundings/DiagramTypeButton.d.ts +8 -0
  32. package/dist/src/lib/components/Soundings/SharedMouseYProvider.d.ts +13 -0
  33. package/dist/src/lib/components/Soundings/Soundings.d.ts +15 -0
  34. package/dist/src/lib/components/Soundings/SoundingsConnect.d.ts +8 -0
  35. package/dist/src/lib/components/Soundings/SoundingsLegend.d.ts +13 -0
  36. package/dist/src/lib/components/Soundings/WindBarbs.d.ts +16 -0
  37. package/dist/src/lib/components/Soundings/animateResizeTransform.d.ts +4 -0
  38. package/dist/src/lib/components/Soundings/constants.d.ts +20 -0
  39. package/dist/src/lib/components/Soundings/drawUtils.d.ts +45 -0
  40. package/dist/src/lib/components/Soundings/timeMismatchUtils.d.ts +4 -0
  41. package/dist/src/lib/components/Soundings/types.d.ts +6 -0
  42. package/dist/src/lib/components/Soundings/useSoundingsDiagramSize.d.ts +2 -0
  43. package/dist/src/lib/components/SoundingsManager/SoundingManagerListItem.d.ts +6 -0
  44. package/dist/src/lib/components/SoundingsManager/SoundingsManager.d.ts +17 -0
  45. package/dist/src/lib/components/SoundingsManager/SoundingsManagerConnect.d.ts +2 -0
  46. package/dist/src/lib/components/SoundingsPanels/SoundingsPanelConnect.d.ts +3 -0
  47. package/dist/src/lib/components/SoundingsPanels/SoundingsPanels.d.ts +20 -0
  48. package/dist/src/lib/components/SoundingsProfileDataTable/SoundingsProfileDataTable.d.ts +9 -0
  49. package/dist/src/lib/components/SoundingsTimeSlider/SoundingsTimeSlider.d.ts +8 -0
  50. package/dist/src/lib/components/SoundingsTimeSlider/SoundingsTimeSliderConnect.d.ts +8 -0
  51. package/dist/src/lib/components/SoundingsTimeSlider/index.d.ts +2 -0
  52. package/dist/src/lib/components/SoundingsTooltip/utils.d.ts +31 -0
  53. package/dist/src/lib/components/StaticLines/bijvoetUtils.d.ts +6 -0
  54. package/dist/src/lib/components/StaticLines/drawDryAdiabats.d.ts +23 -0
  55. package/dist/src/lib/components/StaticLines/drawIsobars.d.ts +14 -0
  56. package/dist/src/lib/components/StaticLines/drawIsohumes.d.ts +23 -0
  57. package/dist/src/lib/components/StaticLines/drawIsotherms.d.ts +23 -0
  58. package/dist/src/lib/components/StaticLines/drawMoistAdiabats.d.ts +29 -0
  59. package/dist/src/lib/components/StaticLines/utils.d.ts +19 -0
  60. package/dist/src/lib/components/WindBarbs/utils.d.ts +22 -0
  61. package/dist/src/lib/components/WindBarbs/windsymbols.d.ts +5 -0
  62. package/dist/src/lib/components/index.d.ts +20 -0
  63. package/dist/src/lib/components/utils.d.ts +36 -0
  64. package/dist/src/lib/store/reducer.d.ts +44 -0
  65. package/dist/src/lib/store/selectors.d.ts +339 -0
  66. package/dist/src/lib/store/store.d.ts +8 -0
  67. package/dist/src/lib/store/types.d.ts +108 -0
  68. package/dist/src/lib/store/utils.d.ts +10 -0
  69. package/dist/src/lib/utils/i18n.d.ts +7 -0
  70. package/dist/src/lib/utils/profileDataPreferences.d.ts +50 -0
  71. package/dist/src/lib/utils/soundingsLookUp.d.ts +9 -0
  72. package/package.json +2 -1
package/dist/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # Soundings
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Configuration for soundings EDR services
6
+
7
+ The sources that are available in the soundings sources menu are specified in the initialPresets.json file.
8
+
9
+ There, you can specify the required details for each source under the `soundingsCollections` property:
10
+
11
+ ```
12
+ "soundingsCollections": [
13
+ {
14
+ "name": "Harmonie scandinavia hybrid",
15
+ "id": "harmonie_scandinavia_hybrid",
16
+ "url": "https://opendata.fmi.fi/edr",
17
+ "description": "MEPS/vertical coordinate model level",
18
+ "windSpeedUnit": "ms",
19
+ "parameterMappings": {
20
+ "temperature": "temperature",
21
+ "windDirection": "winddirection",
22
+ "windSpeed": "windspeedms",
23
+ "pressure": "pressure",
24
+ "dewpoint": "dewpoint"
25
+ }
26
+ },
27
+ {
28
+ "name": "Harmonie scandinavia pressure",
29
+ "id": "harmonie_scandinavia_pressure",
30
+ "url": "https://opendata.fmi.fi/edr",
31
+ "description": "MEPS/vertical coordinate pressure",
32
+ "windSpeedUnit": "ms",
33
+ "parameterMappings": {
34
+ "temperature": "temperature",
35
+ "windDirection": "winddirection",
36
+ "windSpeed": "windspeedms",
37
+ "pressure": "pressure",
38
+ "dewpoint": "dewpoint"
39
+ }
40
+ }
41
+ ]
42
+ ```
43
+
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
47
+
48
+ The following mappings are needed:
49
+
50
+ - pressure
51
+ - temperature
52
+ - dewpoint (OR specificHumidity OR relativeHumidity, from which we can derive dewpoint in case it is not available)
53
+ - (windSpeed AND windDirection) OR (windU AND windV), either one of the two can be used
54
+
55
+ If your EDR parameter is called windSpeedInMS the mapping would be as follows: `windSpeed: windSpeedInMS`
56
+
57
+ ## Running unit tests
58
+
59
+ Run `nx test soundings` to execute the unit tests via [Jest](https://jestjs.io).
@@ -0,0 +1 @@
1
+ export * from "./src/index";