This repository has been archived by the owner on Apr 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathOBSERVATION-WEATHER-API-BLUEPRINT.apib
2557 lines (2433 loc) · 115 KB
/
OBSERVATION-WEATHER-API-BLUEPRINT.apib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
FORMAT: 1A
Weather API
=============================
# General information
This technical document was created for developers who are creating applications based on weather data provided by this API.
This document is using [API blueprint format](https://apiblueprint.org/documentation/).
### Authentication
To access active-warning-service the request has to be authorised with a valid
JWT OAuth 2.0 access token, obtained from the DTN Authorisation server
`https://auth.weather.mg/oauth/token` with according client credentials. The
required scope is `point-observation`.
The documentation about how to authenticate against DTN Weather API with
OAuth 2.0 can be found here: [Weather API documentation](https://github.com/MeteoGroup/weather-api/blob/master/authorization/Authentication.md)
### Backward compatibility
Every endpoint may add one or more response parameters in the future.
Clients should ignore unknown parameters, to avoid technical issues.
# Group Observation
## Retrieve weather observation [/search?locatedAt={locatedAt}&meteoGroupStationIds={stationIds}&fields={fields}&observedFrom={observedFrom}&observedUntil={observedUntil}&observedPeriod={observedPeriod}&gapFilling={gapFilling}]
For any requested location a relevant station is searched.
The searching algorithm stops at a maximum distance of 100km (between requested location and station)
and ensures that at least air temperature parameter is available for a station.
By default, the latest known weather observation data from a relevant station is returned.
If observedFrom and observedUntil are missing then application sets observedFrom as current time minus 3 hours and observedUntil as current time.
if observedFrom is not missing and observedUntil is missing then application sets observedUntil as observedFrom plus 3 days ahead.
There is possible to use station ID parameter instead of location parameter. in order to get observation for concrete station.
The observations are available only from now and 7 days back. Data that are older than 7 days are expired(deleted) from Data Storage.
*Meteorological hints*
There are two basic observation periods, one hour and one moment.
Each weather parameter refers implicitly to one or another time period of measurement.
For example air temperature is measured at one moment in time.
Whereas max air temperature is typically measured inside a weather station and just reported once an hour.
Hence it refers to an hour of observation period.
In the response JSON document the weather parameters will be associated with their according period.
*Technical hints*
All timestamps and time periods/durations follow ISO8601 standard notation.
For example 'PT1H' refers to one hour and 'PT0S' refers to one moment.
For convenience reasons, a single location can be requested, but the response always returns a collection.
For multiple locations, its recommended to just use the point compression.
The observations in the response collection are "flat" to allow easy streaming and filtering on client side.
The observations in the response are ordered ascending by field 'observedFrom'.
The pressureTendencyDescription field returns string values based on the following table (WMO table 010063):
code description comment
---- ------------------------------------ --------------------------------------------------------
0 increasing_then_decreasing | atmospheric pressure the same or higher than 3 hours ago
1 increasing_then_steady |
2 increasing | atmospheric pressure now higher than 3 hours ago
3 decreasing_or_steady_then_increasing |
4 steady | atmospheric pressure the same as 3 hours ago
5 decreasing_then_increasing | atmospheric pressure the same or lower than 3 hours ago
6 decreasing_then_steady |
7 decreasing | atmospheric pressure now lower than 3 hours ago
8 steady_or_increasing_then_decreasing |
15 missing_value
The 'shipCourseText' returns one of the following values: "not moving", "NE", "E", "SE", "S", "SW", "W", "NW", "N", "unknown".
The 'shipSpeedRangeInKnots' returns one of the following values: "0", "1-5", "6-10", "11-15", "16-20", "21-25", "26-30", "31-35", "36-40", ">40", "unknown".
*Gap filling*
GapFilling allows to gap fill missing observations with forecast data from Point Forecast service for following parameters:
- **PT0S** -
+ airPressureAtSeaLevelInHectoPascal
+ airTemperatureInCelsius
+ airTemperatureInFahrenheit
+ airTemperatureInKelvin
+ dewPointTemperatureInCelsius
+ dewPointTemperatureInFahrenheit
+ dewPointTemperatureInKelvin
+ effectiveCloudCoverInOkta
+ relativeHumidityInPercent
+ totalCloudCoverInOkta
+ windDirectionInDegree
+ windSpeedInKilometerPerHour
+ windSpeedInMeterPerSecond
+ windSpeedInMilesPerHour
- **PT1H** -
+ globalRadiationInJoulePerSquareCentimeter
+ averageGlobalRadiationInWattPerSquareMeter
+ precipitationAmountInMillimeter
+ precipitationAmountInInch
GapFilling is applied always when requested, regardless if any of observations are available.
GapFilling is available for PT0S and PT1H periods.
*Fields mapping*
Common names of filed which can be included in all periods: meteoGroupStationId, meteoGroupStationName, stationLocation, stationTimeZoneName
Here are relationship between observation periods and fields appropriately:
- **PT0S** - airTemperatureInCelsius, airTemperatureInFahrenheit, airTemperatureInKelvin, feelsLikeTemperatureInCelsius, feelsLikeTemperatureInFahrenheit,
feelsLikeTemperatureInKelvin, airPressureAtSeaLevelInHectoPascal, windSpeedInMeterPerSecond, windSpeedInKilometerPerHour, windSpeedInMilesPerHour,
windSpeedInBeaufort, windSpeedInKnots, windDirectionInDegree, dewPointTemperatureInCelsius, dewPointTemperatureInFahrenheit, dewPointTemperatureInKelvin,
relativeHumidityInPercent, effectiveCloudCoverInOcta, totalCloudCoverInOcta, visibilityInMeter, visibilityInKilometer,
visibilityInNauticalMile,visibilityInStatuteMile, weatherCode, weatherCodeTraditional,snowDepthInCentimeter,snowDepthInInch, waterTemperatureInCelsius, waterTemperatureInFahrenheit,
waterTemperatureInKelvin, totalWaveHeightInMeter, totalWaveHeightInFeet, totalWavePeriodInSecond, seaHeightInMeter, seaHeightInFeet, seaPeriodInSecond,
mediumCloudCoverInOcta,heightOfMediumCloudsInMeter,heightOfHighCloudsInMeter,highCloudCoverInOcta,shipCallSign,iCAOIdentifier,lowCloudCoverInOcta,heightOfLowCloudsInMeter,
directionOfFirstSwellInDegree,periodOfFirstSwellInSeconds,heightOfFirstSwellInMeters,heightOfFirstSwellInFeet,directionOfSecondSwellInDegree,periodOfSecondSwellInSeconds,heightOfSecondSwellInMeters,heightOfSecondSwellInFeet,gapFillingInfo
- **PT1H** - windGustInMeterPerSecond, windGustInKilometerPerHour, windGustInMilesPerHour, windGustInBeaufort, windGustInKnots, precipitationAmountInMillimeter,
precipitationAmountInInch, freshSnowfallInCentimeter, freshSnowfallInInch, pressureTendencyDescription, pressureTendencyCode
- **PT3H** - pressureTendencyDescription, pressureTendencyCode, pressureChangeInHectoPascal, precipitationAmountInMillimeter,precipitationAmountInInch, maxWindGustInMeterPerSecond, maxWindGustInKilometerPerHour,
maxWindGustInMilesPerHour, maxWindGustInBeaufort, maxWindGustInKnots, shipCourseText, shipSpeedRangeInKnots
- **PT6H** - precipitationAmountInMillimeter,precipitationAmountInInch, maxWindGustInMeterPerSecond, maxWindGustInKilometerPerHour, maxWindGustInMilesPerHour, maxWindGustInBeaufort,
maxWindGustInKnots, pressureTendencyDescription, pressureTendencyCode, pressureChangeInHectoPascal, pastWeatherCode, pastWeatherDescription
- **PT12H** - temperatureMaxInCelsius, temperatureMaxInFahrenheit, temperatureMaxInKelvin, temperatureMinInCelsius, temperatureMinInFahrenheit, temperatureMinInKelvin,
precipitationAmountInMillimeter, precipitationAmountInInch, maxWindGustInMeterPerSecond, maxWindGustInKilometerPerHour, maxWindGustInMilesPerHour,
maxWindGustInBeaufort, maxWindGustInKnots, pressureTendencyDescription, pressureTendencyCode, pressureChangeInHectoPascal
- **PT24H** - precipitationAmountInMillimeter, precipitationAmountInInch, sunshineDurationInHours, sunshineDurationInMinutes, maxWindGustInMeterPerSecond,
maxWindGustInKilometerPerHour, maxWindGustInMilesPerHour, maxWindGustInBeaufort, maxWindGustInKnots, pressureTendencyDescription, pressureTendencyCode, pressureChangeInHectoPascal,
freshSnowfallInCentimeter, freshSnowfallInInch
List of mandatory fields:
- **PT0S** - airTemperatureInCelsius, airTemperatureInFahrenheit, airTemperatureInKelvin, feelsLikeTemperatureInCelsius, feelsLikeTemperatureInFahrenheit, feelsLikeTemperatureInKelvin, airPressureInHectoPascal,
windSpeedInMeterPerSecond, windSpeedInKilometerPerHour, windSpeedInMilesPerHour, windSpeedInBeaufort, windSpeedInKnots, windDirectionInDegree, dewPointTemperatureInCelsius, dewPointTemperatureInFahrenheit,
dewPointTemperatureInKelvin, relativeHumidityInPercent, effectiveCloudCoverInOcta, totalCloudCoverInOcta, visibilityInMeter, visibilityInKilometer, visibilityInNauticalMile, visibilityInStatuteMile, weatherCode,
weatherCodeTraditional, snowDepthInCentimeter, snowDepthInInch, waterTemperatureInCelsius, waterTemperatureInFahrenheit, waterTemperatureInKelvin, totalWaveHeightInMeter, totalWavePeriodInSecond, seaHeightInMeter,
seaHeightInFeet, seaPeriodInSecond
- **PT1H** - windGustInMeterPerSecond, windGustInKilometerPerHour, windGustInMilesPerHour, windGustInBeaufort, windGustInKnots, pressureTendencyDescription, pressureTendency, pressureTendencyCode, pressureChangeInHectoPascal,
precipitationAmountInMillimeter, precipitationAmountInInch, freshSnowfallInCentimeter, freshSnowfallInInch
The "weatherCode" parameter refers to the WMO code table "0 20 003 - Present weather".
The "weatherCodeTraditional" parameter refers to the WMO code table "4677".
The "pastWeatherCode" parameter refers to the WMO code table "0 20 004 - Past weather".
+ Parameters
+ meteoGroupStationIds: `3007237` (string, optional) - station ids; can be several stations separated by comma
+ locatedAt: `-2.2323,47.4593` (string, optional) - longitude,latitude; can occur multiple times for multiple stations
+ locatedAt: `joionluqqFvwqmo629nC` (string, optional) - compressed list of station locations, using Microsoft Point Compression Algorithm, is efficient for up to 400 locations,
+ fields: `meteoGroupStationId,meteoGroupStationName,stationLocation,stationTimeZoneName,sunshineDurationInMinutes,airTemperatureInCelsius,windGustInKnots,windSpeedInKnots...` (string, required) - comma separated list of parameters to be contained inside response. All possible names are present in section 'Fields names'
+ observedFrom: `2016-10-15T08:00:00Z` (string, optional) - ISO8601 timestamp notation, means incl. this timestamp; always provide a time offset, e.g. 'Z' for UTC; optional: a request may provide correct offset (so that server can convert to UTC).
+ observedUntil: `2016-10-15T09:00:00Z` (string, optional) - ISO8601 timestamp notation, means incl. this timestamp; always provide a time offset, e.g. 'Z' for UTC; optional: a request may provide correct offset (so that server can convert to UTC).
+ observedPeriod: `PT0S,PT1H,PT3H,PT12H,PT24H` (string, required) - comma separated list of periods to be retrieved. use ISO8601 time duration notation. PT0S refers to observations at a moment in time. PT1H applies one hour aggregation.
+ timeZone: `Europe/Paris` (string, optional) - Time zone refers to the IANA Time Zone Database (TZDB).
+ gapFilling: `true` (string, optional) - additional parameter, added to the request with flag true enables to gapFill missing observations with forecasts from Point Forecast service for particular parameters.
### Search for observation data for multiple given locations [GET]
#### Example
`https://point-observation.weather.mg/search?locatedAt=-2.2323,47.4593&observedFrom=2016-10-14T00:00:00%2B02:00&observedUntil=2016-10-15T12:00:00%2B02:00&observedPeriod=PT0S,PT1H,PT3H,PT12H,PT24H&fields=dewPointTemperatureInCelsius,feelsLikeTemperatureInCelsius,weatherCode,meteoGroupStationName,windSpeedInMilesPerHour,windGustInBeaufort,stationTimeZoneName,effectiveCloudCoverInOcta,totalCloudCoverInOcta,windGustInKilometerPerHour,temperatureMinInFahrenheit,airTemperatureInKelvin,dewPointTemperatureInFahrenheit,airPressureAtSeaLevelInHectoPascal,visibilityInKilometer,windSpeedInMeterPerSecond,windGustInKnots,precipitationAmountInInch,airTemperatureInCelsius,dewPointTemperatureInKelvin,temperatureMaxInKelvin,windGustInMeterPerSecond,sunshineDurationInMinutes,feelsLikeTemperatureInKelvin,pressureTendencyDescription,stationLocation,visibilityInNauticalMile,feelsLikeTemperatureInFahrenheit,temperatureMinInCelsius,precipitationAmountInMillimeter,windSpeedInKnots,windSpeedInKilometerPerHour,temperatureMinInKelvin,windSpeedInBeaufort,temperatureMaxInFahrenheit,visibilityInMeter,windDirectionInDegree,windGustInMilesPerHour,meteoGroupStationId,sunshineDurationInHours,relativeHumidityInPercent,airTemperatureInFahrenheit,temperatureMaxInCelsius,visibilityInStatuteMile,InHectoPascal,snowDepthInCentimeter,snowDepthInInch,freshSnowfallInCentimeter,freshSnowfallInInch,mediumCloudCoverInOcta`
+ Request Search weather observation data for given locatedAt
+ Headers
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPenn5-HIirE
+ Response 200 (application/json)
+ Headers
Content-Type: application/json
x-amzn-RequestId: fbf51991-c2b2-11e6-bbb7-0153a49228b7
+ Body
{
"observations": [
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-14T00:00:00+02:00",
"observedUntil": "2016-10-15T00:00:00+02:00",
"observedPeriod": "PT24H",
"precipitationAmountInMillimeter": 6,
"precipitationAmountInInch": 0.236,
"sunshineDurationInHours": 12,
"sunshineDurationInMinutes": 720,
"freshSnowfallInCentimeter": 5.5,
"freshSnowfallInInch": 2.165
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-14T18:00:00+02:00",
"observedUntil": "2016-10-15T06:00:00+02:00",
"observedPeriod": "PT12H",
"temperatureMaxInCelsius": 3.7,
"temperatureMaxInFahrenheit": 38.66,
"temperatureMaxInKelvin": 276.85,
"temperatureMinInCelsius": 3.1,
"temperatureMinInFahrenheit": 37.58,
"temperatureMinInKelvin": 276.25,
"precipitationAmountInMillimeter": 1.8,
"precipitationAmountInInch": 0.071
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T06:00:00+02:00",
"observedUntil": "2016-10-15T09:00:00+02:00",
"observedPeriod": "PT3H",
"precipitationAmountInMillimeter": 1.2,
"precipitationAmountInInch": 0.047,
"pressureTendencyDescription": "INCREASING_THEN_STEADY",
"pressureTendencyCode": 1,
"pressureChangeInHectoPascal": 2
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T10:00:00+02:00",
"observedUntil": "2016-10-15T10:00:00+02:00",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 3.4,
"airTemperatureInFahrenheit": 38.12,
"airTemperatureInKelvin": 276.55,
"feelsLikeTemperatureInCelsius": 3.9,
"feelsLikeTemperatureInFahrenheit": 39.02,
"feelsLikeTemperatureInKelvin": 277.05,
"airPressureAtSeaLevelInHectoPascal": 1005.5,
"windSpeedInMeterPerSecond": 0.5144445,
"windSpeedInKilometerPerHour": 1.852,
"windSpeedInMilesPerHour": 1.1507794,
"windSpeedInBeaufort": 1,
"windSpeedInKnots": 0.99999976,
"windDirectionInDegree": 210,
"dewPointTemperatureInCelsius": 3,
"dewPointTemperatureInFahrenheit": 37.4,
"dewPointTemperatureInKelvin": 276.15,
"relativeHumidityInPercent": 97,
"effectiveCloudCoverInOcta": 5,
"totalCloudCoverInOcta": 6,
"mediumCloudCoverInOcta": 2,
"highCloudCoverInOcta": 4,
"heightOfMediumCloudsInMeter": 2000,
"heightOfHighCloudsInMeter": 4000,
"visibilityInMeter": 2000,
"visibilityInKilometer": 2,
"visibilityInNauticalMile": 1.0799999,
"visibilityInStatuteMile": 1.2427424,
"weatherCode": "2",
"weatherCodeTraditional": 2,
"snowDepthInCentimeter": 10.8,
"snowDepthInInch": 4.252,
"typeOfLowCloudsCode": 5,
"typeOfLowCloudsDescription": "stratocumulus",
"typeOfMediumCloudsCode": 3,
"typeOfMediumCloudsDescription": "altocumulus translucidous (mostly transparent)",
"typeOfHighCloudsCode": 2,
"typeOfHighCloudsDescription": "cirrus spissatus (dense in patches)",
"iCAOIdentifier": "CXEA",
"lowCloudCoverInOcta": 2,
"heightOfLowCloudsInMeter": 305,
"directionOfFirstSwellInDegree": 50,
"periodOfFirstSwellInSeconds": 5,
"heightOfFirstSwellInMeters": 0.5,
"heightOfFirstSwellInFeet": 1.6,
"directionOfSecondSwellInDegree": 50,
"periodOfSecondSwellInSeconds": 5,
"heightOfSecondSwellInMeters": 0.5,
"heightOfSecondSwellInFeet": 1.6
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T09:00:00+02:00",
"observedUntil": "2016-10-15T10:00:00+02:00",
"observedPeriod": "PT1H",
"windGustInMeterPerSecond": 0.8231112,
"windGustInKilometerPerHour": 2.9632,
"windGustInMilesPerHour": 1.8412471,
"windGustInBeaufort": 1,
"windGustInKnots": 1.5999997,
"precipitationAmountInMillimeter": 0.7,
"precipitationAmountInInch": 0.028,
"freshSnowfallInCentimeter": 1.5,
"freshSnowfallInInch": 0.591
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T11:00:00+02:00",
"observedUntil": "2016-10-15T11:00:00+02:00",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 2.6,
"airTemperatureInFahrenheit": 36.68,
"airTemperatureInKelvin": 275.75,
"feelsLikeTemperatureInCelsius": 3.1,
"feelsLikeTemperatureInFahrenheit": 37.58,
"feelsLikeTemperatureInKelvin": 276.25,
"airPressureAtSeaLevelInHectoPascal": 1005.5,
"windSpeedInMeterPerSecond": 0.5144445,
"windSpeedInKilometerPerHour": 1.852,
"windSpeedInMilesPerHour": 1.1507794,
"windSpeedInBeaufort": 1,
"windSpeedInKnots": 0.99999976,
"windDirectionInDegree": 230,
"dewPointTemperatureInCelsius": 2.3,
"dewPointTemperatureInFahrenheit": 36.14,
"dewPointTemperatureInKelvin": 275.44998,
"relativeHumidityInPercent": 98,
"effectiveCloudCoverInOcta": 5,
"totalCloudCoverInOcta": 6,
"visibilityInMeter": 2000,
"visibilityInKilometer": 2,
"visibilityInNauticalMile": 1.0799999,
"visibilityInStatuteMile": 1.2427424,
"weatherCode": "2",
"weatherCodeTraditional": 2,
"snowDepthInCentimeter": 5.4,
"snowDepthInInch": 2.126
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T10:00:00+02:00",
"observedUntil": "2016-10-15T11:00:00+02:00",
"observedPeriod": "PT1H",
"windGustInMeterPerSecond": 0.97744447,
"windGustInKilometerPerHour": 3.5188,
"windGustInMilesPerHour": 2.1864808,
"windGustInBeaufort": 1,
"windGustInKnots": 1.8999995,
"pressureTendencyDescription": "STEADY",
"pressureTendencyCode": 4,
"precipitationAmountInMillimeter": 0.5,
"precipitationAmountInInch": 0.02,
"freshSnowfallInCentimeter": 1,
"freshSnowfallInInch": 0.394,
"pressureChangeInHectoPascal": 0
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T09:00:00+02:00",
"observedUntil": "2016-10-15T12:00:00+02:00",
"observedPeriod": "PT3H",
"precipitationAmountInMillimeter": 1.3,
"precipitationAmountInInch": 0.051,
"pressureTendencyDescription": "INCREASING_THEN_STEADY",
"pressureTendencyCode": 1,
"pressureChangeInHectoPascal": 2
},
{
"locatedAt": [ -2.2323, 47.4593 ],
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T06:00:00+02:00",
"observedUntil": "2016-10-15T12:00:00+02:00",
"observedPeriod": "PT6H",
"precipitationAmountInMillimeter": 1.5,
"precipitationAmountInInch": 0.059,
"pastWeatherCode": 10,
"pastWeatherDescription": "NO SIGNIFICANT WEATHER OBSERVED"
}
]
}
### Retrieve weather observation for multiple station IDs [GET]
#### Example
`https://point-observation.weather.mg/search?meteoGroupStationIds=3007237,3007300&observedFrom=2016-10-14T00:00:00Z&observedUntil=2016-10-15T12:00:00Z&observedPeriod=PT0S,PT1H,PT3H,PT12H,PT24H&fields=dewPointTemperatureInCelsius,feelsLikeTemperatureInCelsius,weatherCode,meteoGroupStationName,windSpeedInMilesPerHour,windGustInBeaufort,stationTimeZoneName,effectiveCloudCoverInOcta,totalCloudCoverInOcta,windGustInKilometerPerHour,temperatureMinInFahrenheit,airTemperatureInKelvin,dewPointTemperatureInFahrenheit,airPressureAtSeaLevelInHectoPascal,visibilityInKilometer,windSpeedInMeterPerSecond,windGustInKnots,precipitationAmountInInch,airTemperatureInCelsius,dewPointTemperatureInKelvin,temperatureMaxInKelvin,windGustInMeterPerSecond,sunshineDurationInMinutes,feelsLikeTemperatureInKelvin,pressureTendencyDescription,stationLocation,visibilityInNauticalMile,feelsLikeTemperatureInFahrenheit,temperatureMinInCelsius,precipitationAmountInMillimeter,windSpeedInKnots,windSpeedInKilometerPerHour,temperatureMinInKelvin,windSpeedInBeaufort,temperatureMaxInFahrenheit,visibilityInMeter,windDirectionInDegree,windGustInMilesPerHour,meteoGroupStationId,sunshineDurationInHours,relativeHumidityInPercent,airTemperatureInFahrenheit,temperatureMaxInCelsius,visibilityInStatuteMile,pressureChangeInHectoPascal&timeZone=UTC`
+ Request Search weather observation data for given meteoGroupStationIds
+ Headers
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPenn5-HIirE
+ Response 200 (application/json)
+ Headers
Content-Type: application/json
x-amzn-RequestId: fbf51991-c2b2-11e6-bbb7-0153a49228b7
+ Body
{
"observations": [
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-13T22:00:00Z",
"observedUntil": "2016-10-14T22:00:00Z",
"observedPeriod": "PT24H",
"precipitationAmountInMillimeter": 6,
"precipitationAmountInInch": 0.236,
"sunshineDurationInHours": 12,
"sunshineDurationInMinutes": 720,
"freshSnowfallInCentimeter": 5.5,
"freshSnowfallInInch": 2.165
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-14T16:00:00Z",
"observedUntil": "2016-10-15T04:00:00Z",
"observedPeriod": "PT12H",
"temperatureMaxInCelsius": 3.7,
"temperatureMaxInFahrenheit": 38.66,
"temperatureMaxInKelvin": 276.85,
"temperatureMinInCelsius": 3.1,
"temperatureMinInFahrenheit": 37.58,
"temperatureMinInKelvin": 276.25,
"precipitationAmountInMillimeter": 1.8,
"precipitationAmountInInch": 0.071
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T04:00:00Z",
"observedUntil": "2016-10-15T07:00:00Z",
"observedPeriod": "PT3H",
"precipitationAmountInMillimeter": 1.2,
"precipitationAmountInInch": 0.047,
"pressureTendencyDescription": "INCREASING_THEN_STEADY",
"pressureTendencyCode": 1,
"pressureChangeInHectoPascal": 2
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T08:00:00Z",
"observedUntil": "2016-10-15T08:00:00Z",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 3.4,
"airTemperatureInFahrenheit": 38.12,
"airTemperatureInKelvin": 276.55,
"feelsLikeTemperatureInCelsius": 3.9,
"feelsLikeTemperatureInFahrenheit": 39.02,
"feelsLikeTemperatureInKelvin": 277.05,
"airPressureAtSeaLevelInHectoPascal": 1005.5,
"windSpeedInMeterPerSecond": 0.5144445,
"windSpeedInKilometerPerHour": 1.852,
"windSpeedInMilesPerHour": 1.1507794,
"windSpeedInBeaufort": 1,
"windSpeedInKnots": 0.99999976,
"windDirectionInDegree": 210,
"dewPointTemperatureInCelsius": 3,
"dewPointTemperatureInFahrenheit": 37.4,
"dewPointTemperatureInKelvin": 276.15,
"relativeHumidityInPercent": 97,
"effectiveCloudCoverInOcta": 5,
"totalCloudCoverInOcta": 6,
"visibilityInMeter": 2000,
"visibilityInKilometer": 2,
"visibilityInNauticalMile": 1.0799999,
"visibilityInStatuteMile": 1.2427424,
"weatherCode": "2",
"weatherCodeTraditional": 2,
"snowDepthInCentimeter": 10.8,
"snowDepthInInch": 4.252
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T07:00:00Z",
"observedUntil": "2016-10-15T08:00:00Z",
"observedPeriod": "PT1H",
"windGustInMeterPerSecond": 0.8231112,
"windGustInKilometerPerHour": 2.9632,
"windGustInMilesPerHour": 1.8412471,
"windGustInBeaufort": 1,
"windGustInKnots": 1.5999997,
"precipitationAmountInMillimeter": 0.7,
"precipitationAmountInInch": 0.028,
"freshSnowfallInCentimeter": 1.5,
"freshSnowfallInInch": 0.591
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T09:00:00Z",
"observedUntil": "2016-10-15T09:00:00Z",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 2.6,
"airTemperatureInFahrenheit": 36.68,
"airTemperatureInKelvin": 275.75,
"feelsLikeTemperatureInCelsius": 3.1,
"feelsLikeTemperatureInFahrenheit": 37.58,
"feelsLikeTemperatureInKelvin": 276.25,
"airPressureAtSeaLevelInHectoPascal": 1005.5,
"windSpeedInMeterPerSecond": 0.5144445,
"windSpeedInKilometerPerHour": 1.852,
"windSpeedInMilesPerHour": 1.1507794,
"windSpeedInBeaufort": 1,
"windSpeedInKnots": 0.99999976,
"windDirectionInDegree": 230,
"dewPointTemperatureInCelsius": 2.3,
"dewPointTemperatureInFahrenheit": 36.14,
"dewPointTemperatureInKelvin": 275.44998,
"relativeHumidityInPercent": 98,
"effectiveCloudCoverInOcta": 5,
"totalCloudCoverInOcta": 6,
"visibilityInMeter": 2000,
"visibilityInKilometer": 2,
"visibilityInNauticalMile": 1.0799999,
"visibilityInStatuteMile": 1.2427424,
"weatherCode": "2",
"weatherCodeTraditional": 2,
"snowDepthInCentimeter": 5.4,
"snowDepthInInch": 2.126
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T08:00:00Z",
"observedUntil": "2016-10-15T09:00:00Z",
"observedPeriod": "PT1H",
"windGustInMeterPerSecond": 0.97744447,
"windGustInKilometerPerHour": 3.5188,
"windGustInMilesPerHour": 2.1864808,
"windGustInBeaufort": 1,
"windGustInKnots": 1.8999995,
"pressureTendencyDescription": "STEADY",
"pressureTendencyCode": 4,
"pressureChangeInHectoPascal": 0,
"precipitationAmountInMillimeter": 0.5,
"precipitationAmountInInch": 0.02,
"freshSnowfallInCentimeter": 1,
"freshSnowfallInInch": 0.394
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T07:00:00Z",
"observedUntil": "2016-10-15T10:00:00Z",
"observedPeriod": "PT3H",
"precipitationAmountInMillimeter": 1.3,
"precipitationAmountInInch": 0.051,
"pressureTendencyDescription": "INCREASING_THEN_STEADY",
"pressureTendencyCode": 1,
"pressureChangeInHectoPascal": 2
},
{
"meteoGroupStationId": "3007237",
"meteoGroupStationName": "Pleucadeuc",
"stationLocation": [ -2.2323, 47.4593 ],
"stationTimeZoneName": "Europe/Prague",
"observedFrom": "2016-10-15T04:00:00Z",
"observedUntil": "2016-10-15T10:00:00Z",
"observedPeriod": "PT6H",
"precipitationAmountInMillimeter": 1.5,
"precipitationAmountInInch": 0.059
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-13T22:00:00Z",
"observedUntil": "2016-10-14T22:00:00Z",
"observedPeriod": "PT24H",
"precipitationAmountInMillimeter": 0.1,
"precipitationAmountInInch": 0.004,
"sunshineDurationInHours": 12,
"sunshineDurationInMinutes": 720,
"freshSnowfallInCentimeter": 5.5,
"freshSnowfallInInch": 2.165
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-14T16:00:00Z",
"observedUntil": "2016-10-15T04:00:00Z",
"observedPeriod": "PT12H",
"temperatureMaxInCelsius": 16.5,
"temperatureMaxInFahrenheit": 61.7,
"temperatureMaxInKelvin": 289.65,
"temperatureMinInCelsius": 12.8,
"temperatureMinInFahrenheit": 55.04,
"temperatureMinInKelvin": 285.94998,
"precipitationAmountInMillimeter": 0.1,
"precipitationAmountInInch": 0.004
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-15T04:00:00Z",
"observedUntil": "2016-10-15T07:00:00Z",
"observedPeriod": "PT3H",
"precipitationAmountInMillimeter": 0,
"precipitationAmountInInch": 0,
"pressureTendencyDescription": "INCREASING_THEN_STEADY",
"pressureTendencyCode": 1,
"pressureChangeInHectoPascal": 2
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-15T09:00:00Z",
"observedUntil": "2016-10-15T09:00:00Z",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 15.1,
"airTemperatureInFahrenheit": 59.18,
"airTemperatureInKelvin": 288.25,
"feelsLikeTemperatureInCelsius": 14.1,
"feelsLikeTemperatureInFahrenheit": 57.38,
"feelsLikeTemperatureInKelvin": 287.25,
"airPressureAtSeaLevelInHectoPascal": 1005.5,
"windSpeedInMeterPerSecond": 0.5144445,
"windSpeedInKilometerPerHour": 1.852,
"windSpeedInMilesPerHour": 1.1507794,
"windSpeedInBeaufort": 1,
"windSpeedInKnots": 0.99999976,
"windDirectionInDegree": 230,
"dewPointTemperatureInCelsius": 14.3,
"dewPointTemperatureInFahrenheit": 57.739998,
"dewPointTemperatureInKelvin": 287.44998,
"relativeHumidityInPercent": 98,
"effectiveCloudCoverInOcta": 5,
"totalCloudCoverInOcta": 4,
"visibilityInMeter": 2000,
"visibilityInKilometer": 2,
"visibilityInNauticalMile": 1.0799999,
"visibilityInStatuteMile": 1.2427424,
"weatherCode": "2",
"weatherCodeTraditional": 2,
"snowDepthInCentimeter": 25.2,
"snowDepthInInch": 9.921
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-15T08:00:00Z",
"observedUntil": "2016-10-15T09:00:00Z",
"observedPeriod": "PT1H",
"windGustInMeterPerSecond": 0.97744447,
"windGustInKilometerPerHour": 3.5188,
"windGustInMilesPerHour": 2.1864808,
"windGustInBeaufort": 1,
"windGustInKnots": 1.8999995,
"precipitationAmountInMillimeter": 0,
"precipitationAmountInInch": 0,
"freshSnowfallInCentimeter": 5.5,
"freshSnowfallInInch": 2.165
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-15T07:00:00Z",
"observedUntil": "2016-10-15T10:00:00Z",
"observedPeriod": "PT3H",
"precipitationAmountInMillimeter": 0,
"precipitationAmountInInch": 0,
"pressureTendencyDescription": "INCREASING_THEN_STEADY",
"pressureTendencyCode": 1,
"pressureChangeInHectoPascal": 2
},
{
"meteoGroupStationId": "3007300",
"meteoGroupStationName": "Germ",
"stationLocation": [ 13.2323, 52.4593 ],
"stationTimeZoneName": "Europe/Berlin",
"observedFrom": "2016-10-15T04:00:00Z",
"observedUntil": "2016-10-15T10:00:00Z",
"observedPeriod": "PT6H",
"precipitationAmountInMillimeter": 0.1,
"precipitationAmountInInch": 0.004
}
]
}
### Retrieve weather observation for multiple station IDs with gap filling [GET]
#### Example
`https://point-observation.weather.mg/search?meteoGroupStationIds=2038151,95930&gapFilling=true&observedPeriod=PT0S&observedFrom=2018-02-10T10:00:00%2B02:00&observedUntil=2018-02-10T10:30:00%2B02:00&fields=dewPointTemperatureInCelsius,typeOfLowCloudsDescription,periodOfFirstSwellInSeconds,totalWaveHeightInMeter,directionOfFirstSwellInDegree,maxWindGustInBeaufort,highCloudCoverInOcta,snowDepthInInch,freshSnowfallInCentimeter,airTemperatureInCelsius,weatherSymbolCodeDay,typeOfMediumCloudsCode,totalWavePeriodInSecond,pressureTendencyCode,visibilityInNauticalMile,feelsLikeTemperatureInFahrenheit,waterTemperatureInFahrenheit,maxWindGustInMeterPerSecond,seaHeightInMeter,windSpeedInKnots,windSpeedInKilometerPerHour,heightOfFirstSwellInFeet,temperatureMinInKelvin,heightOfMediumCloudsInMeter,windDirectionInDegree,pastWeatherDescription,iCAOIdentifier,lowCloudCoverInOcta,relativeHumidityInPercent,visibilityInStatuteMile,maxWindGustInKnots,meteoGroupStationName,windSpeedInMilesPerHour,heightOfHighCloudsInMeter,temperatureMinInFahrenheit,weatherSymbolCode,mediumCloudCoverInOcta,typeOfLowCloudsCode,airTemperatureInKelvin,dewPointTemperatureInFahrenheit,visibilityInKilometer,shipCourseText,precipitationAmountInInch,heightOfLowCloudsInMeter,windGustInMeterPerSecond,airPressureAtSeaLevelInHectoPascal,sunshineDurationInMinutes,stationLocation,temperatureMinInCelsius,snowDepthInCentimeter,windSpeedInBeaufort,visibilityInMeter,seaHeightInFeet,meteoGroupStationId,sunshineDurationInHours,temperatureMaxInCelsius,maxWindGustInKilometerPerHour,feelsLikeTemperatureInCelsius,weatherCode,windGustInBeaufort,effectiveCloudCoverInOcta,typeOfHighCloudsCode,typeOfHighCloudsDescription,weatherSymbolCodeNight,feelsLikeTemperatureInKelvin,totalCloudCoverInOcta,waterTemperatureInCelsius,precipitationAmountInMillimeter,pressureTendency,shipSpeedRangeInKnots,directionOfSecondSwellInDegree,periodOfSecondSwellInSeconds,maxWindGustInMilesPerHour,pressureTendencyDescription,waterTemperatureInKelvin,heightOfSecondSwellInMeters,shipCallSign,weatherCodeTraditional,stationTimeZoneName,windGustInKilometerPerHour,heightOfSecondSwellInFeet,airPressureInHectoPascal,windSpeedInMeterPerSecond,windGustInKnots,dewPointTemperatureInKelvin,temperatureMaxInKelvin,pastWeatherCode,freshSnowfallInInch,totalWaveHeightInFeet,shipSpeedInKnots,temperatureMaxInFahrenheit,heightOfFirstSwellInMeters,seaPeriodInSecond,windGustInMilesPerHour,typeOfMediumCloudsDescription,airTemperatureInFahrenheit,pressureChangeInHectoPascal,gapFillingInfo`
To get info about gap filled fields request `gapFillingInfo` in `fields` parameter.
+ Request Search weather observation data for given meteoGroupStationIds with gap filling
+ Headers
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPenn5-HIirE
+ Response 200 (application/json)
+ Headers
Content-Type: application/json
x-amzn-RequestId: fbf51991-c2b2-11e6-bbb7-0153a49228b7
+ Body
{
"observations": [
{
"meteoGroupStationId": "2038151",
"meteoGroupStationName": "Nukus/Karakalpakstan",
"stationLocation": [
59.633335,
42.483334
],
"stationTimeZoneName": "Asia/Samarkand",
"observedFrom": "2018-02-10T13:00:00+05:00",
"observedUntil": "2018-02-10T13:00:00+05:00",
"observedPeriod": "PT0S",
"gapFillingInfo": {
"dataSource": "Forecast",
"issuedAt": "2018-02-10T08:00:00.000Z",
"gapFilledFields": [
"visibilityInMeter",
"totalCloudCoverInOcta",
"weatherCode",
"weatherCodeTraditional",
"effectiveCloudCoverInOcta"
]
},
"airTemperatureInCelsius": -4,
"airTemperatureInFahrenheit": 24.8,
"airTemperatureInKelvin": 269.15,
"feelsLikeTemperatureInCelsius": -8.4,
"feelsLikeTemperatureInFahrenheit": 16.880001,
"feelsLikeTemperatureInKelvin": 264.75,
"airPressureInHectoPascal": 1025,
"airPressureAtSeaLevelInHectoPascal": 1025,
"windSpeedInMeterPerSecond": 3.1,
"windSpeedInKilometerPerHour": 11.159999,
"windSpeedInMilesPerHour": 6.9345016,
"windSpeedInBeaufort": 2,
"windSpeedInKnots": 6.025916,
"windDirectionInDegree": 350,
"dewPointTemperatureInCelsius": -9,
"dewPointTemperatureInFahrenheit": 15.799999,
"dewPointTemperatureInKelvin": 264.15,
"relativeHumidityInPercent": 68,
"effectiveCloudCoverInOcta": 2,
"totalCloudCoverInOcta": 2,
"visibilityInMeter": 15000,
"weatherCode": "2",
"weatherCodeTraditional": 0
},
{
"meteoGroupStationId": "95930",
"meteoGroupStationName": "Merimbula/Intl",
"stationLocation": [
149.9,
-36.9
],
"stationTimeZoneName": "Australia/Sydney",
"observedFrom": "2018-02-10T19:00:00+11:00",
"observedUntil": "2018-02-10T19:00:00+11:00",
"observedPeriod": "PT0S",
"gapFillingInfo": {
"dataSource": "Forecast",
"issuedAt": "2018-02-10T08:00:00.000Z",
"gapFilledFields": [
"visibilityInMeter",
"weatherCode",
"weatherCodeTraditional"
]
},
"airTemperatureInCelsius": 22,
"airTemperatureInFahrenheit": 71.6,
"airTemperatureInKelvin": 295.15,
"feelsLikeTemperatureInCelsius": 28.3,
"feelsLikeTemperatureInFahrenheit": 82.94,
"feelsLikeTemperatureInKelvin": 301.44998,
"airPressureInHectoPascal": 1007,
"airPressureAtSeaLevelInHectoPascal": 1007,
"windSpeedInMeterPerSecond": 2.6,
"windSpeedInKilometerPerHour": 9.36,
"windSpeedInMilesPerHour": 5.816034,
"windSpeedInBeaufort": 2,
"windSpeedInKnots": 5.053994,
"windDirectionInDegree": 320,
"dewPointTemperatureInCelsius": 21,
"dewPointTemperatureInFahrenheit": 69.8,
"dewPointTemperatureInKelvin": 294.15,
"relativeHumidityInPercent": 94,
"lowCloudCoverInOcta": 8,
"effectiveCloudCoverInOcta": 8,
"heightOfMediumCloudsInMeter": 2103,
"totalCloudCoverInOcta": 8,
"mediumCloudCoverInOcta": 6,
"visibilityInMeter": 15000,
"weatherCode": "25",
"weatherCodeTraditional": 25
}
]
}
### Retrieve weather observation by BUOY ID [GET]. Please be aware that querying observation by BUOY|SHIP|PLATFORM is totaly the same as querying observations by meteoGroupStationIds.
The same endpoint as for querying observation by meteoGroupStationIds is being used. The stationId for either BUOY|SHIP|PLATFORM has to be built by the next rule: NAME + LOCATOR columns from FMDecoded file.
Currently, Point Observation service doesn't provide service for returning all possible BUOY|SHIP|PLATFORMs. The only one way to determine the ID is to use real FMDecoded source file.
#### Example
`https://point-observation.weather.mg/search?meteoGroupStationIds=41044BUOY&observedPeriod=PT0S,PT12H,PT1H,PT24H,PT3H&fields=airPressureAtSeaLevelInHectoPascal,airTemperatureInCelsius,airTemperatureInFahrenheit,airTemperatureInKelvin,dewPointTemperatureInCelsius,dewPointTemperatureInFahrenheit,dewPointTemperatureInKelvin,effectiveCloudCoverInOcta,feelsLikeTemperatureInCelsius,feelsLikeTemperatureInFahrenheit,feelsLikeTemperatureInKelvin,meteoGroupStationId,meteoGroupStationName,precipitationAmountInInch,precipitationAmountInMillimeter,pressureChangeInHectoPascal,pressureTendencyDescription,relativeHumidityInPercent,stationLocation,stationTimeZoneName,sunshineDurationInHours,sunshineDurationInMinutes,temperatureMaxInCelsius,temperatureMaxInFahrenheit,temperatureMaxInKelvin,temperatureMinInCelsius,temperatureMinInFahrenheit,temperatureMinInKelvin,totalCloudCoverInOcta,visibilityInKilometer,visibilityInMeter,visibilityInNauticalMile,visibilityInStatuteMile,weatherCode,weatherCodeTraditional,windDirectionInDegree,windGustInBeaufort,windGustInKilometerPerHour,windGustInKnots,windGustInMeterPerSecond,windGustInMilesPerHour,windSpeedInBeaufort,windSpeedInKilometerPerHour,windSpeedInKnots,windSpeedInMeterPerSecond,windSpeedInMilesPerHour&observedFrom=2016-12-28T06:00:00.753Z&observedUntil=2016-12-28T08:00:00.753Z`
+ Request Search weather observation data for given meteoGroupStationIds
+ Headers
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPenn5-HIirE
+ Response 200 (application/json)
+ Headers
Content-Type: application/json
x-amzn-RequestId: fbf51991-c2b2-11e6-bbb7-0153a49228b7
+ Body
{
"observations": [
{
"meteoGroupStationId": "41044BUOY",
"meteoGroupStationName": "BUOY",
"stationLocation": [
-58.6,
21.6
],
"observedFrom": "2016-12-28T07:30:00Z",
"observedUntil": "2016-12-28T07:30:00Z",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 25.2,
"airTemperatureInFahrenheit": 77.36,
"airTemperatureInKelvin": 298.35,
"feelsLikeTemperatureInCelsius": 32.4,
"feelsLikeTemperatureInFahrenheit": 90.32,
"feelsLikeTemperatureInKelvin": 305.55,
"airPressureAtSeaLevelInHectoPascal": 1018.4,
"windSpeedInMeterPerSecond": 9,
"windSpeedInKilometerPerHour": 32.399998,
"windSpeedInMilesPerHour": 20.132425,
"windSpeedInBeaufort": 5,
"windSpeedInKnots": 17.494596,
"windDirectionInDegree": 90,
"dewPointTemperatureInCelsius": 21.1,
"dewPointTemperatureInFahrenheit": 69.98,
"dewPointTemperatureInKelvin": 294.25,
"relativeHumidityInPercent": 78,
"weatherCode": "509"
}
]
}
### Retrieve weather observation by given bounding box and the type of searching stations either BUOY|SHIP|PLATFORM
This endpoint allows you querying observation from moving station (BUOY|SHIP|PLATFORM) by bounding box
### Example
`https://point-observation.weather.mg/search?observedFrom=2017-10-19T00:00:00Z&observedUntil=2017-10-19T10:00:00Z&observedPeriod=PT0S,PT1H,PT3H,PT12H,PT24H&fields=airTemperatureInCelsius,meteoGroupStationId&isType=SHIP&locationWithin=[-10,80],[10,5]`
+ Parameters
+ locationWithin: [-10,80],[10,5] (string, required) - bounding box [longitude_top_left, latitude_top_left],[longitude_bottom_right, latitude_bottom_right];
+ isType: `BUOY` (string, required) - comma separated list of moving stations types, list of acceptable values: BUOY, SHIP, PLATFORM
+ fields: `meteoGroupStationId,meteoGroupStationName,stationLocation,stationTimeZoneName,sunshineDurationInMinutes,airTemperatureInCelsius,windGustInKnots,windSpeedInKnots...` (string, required) - comma separated list of parameters to be contained inside response. All possible names are present in section 'Fields names'
+ observedFrom: `2017-06-01T12:00:00Z` (string, optional) - ISO8601 timestamp notation, means incl. this timestamp; always provide a time offset, e.g. 'Z' for UTC; optional: a request may provide correct offset (so that server can convert to UTC).
+ observedUntil: `2017-06-01T13:00:00Z` (string, optional) - ISO8601 timestamp notation, means incl. this timestamp; always provide a time offset, e.g. 'Z' for UTC; optional: a request may provide correct offset (so that server can convert to UTC).
+ observedPeriod: `PT0S,PT1H,PT3H,PT12H,PT24H` (string, required) - comma separated list of periods to be retrieved. use ISO8601 time duration notation. PT0S refers to observations at a moment in time. PT1H applies one hour aggregation.
+ timeZone: `UTC` (string, optional) - Time zone refers to the IANA Time Zone Database (TZDB).
+ Request
+ Headers
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPenn5-HIirE
+ Response 200 (application/json)
+ Headers
Content-Type: application/json
x-amzn-RequestId: fbf51991-c2b2-11e6-bbb7-0153a49228b7
+ Body
{
"observations": [
{
"meteoGroupStationId": "62119BUOY",
"meteoGroupStationName": "BUOY",
"stationLocation": [ 1.9, 57 ],
"observedFrom": "2017-06-01T12:00:00Z",
"observedUntil": "2017-06-01T12:00:00Z",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 12.2,
"airTemperatureInFahrenheit": 53.96,
"airTemperatureInKelvin": 285.35,
"feelsLikeTemperatureInCelsius": 11.2,
"feelsLikeTemperatureInFahrenheit": 52.16,
"feelsLikeTemperatureInKelvin": 284.35,
"airPressureAtSeaLevelInHectoPascal": 1019.7,
"windSpeedInMeterPerSecond": 7.2,
"windSpeedInKilometerPerHour": 25.919998,
"windSpeedInMilesPerHour": 16.10594,
"windSpeedInBeaufort": 4,
"windSpeedInKnots": 13.995676,
"windDirectionInDegree": 160,
"dewPointTemperatureInCelsius": 9.7,
"dewPointTemperatureInFahrenheit": 49.46,
"dewPointTemperatureInKelvin": 282.85,
"relativeHumidityInPercent": 85,
"visibilityInMeter": 20000,
"visibilityInKilometer": 20,
"visibilityInNauticalMile": 10.799999,
"visibilityInStatuteMile": 12.427424,
"weatherCode": "100",
"weatherCodeTraditional": 0
},
{
"meteoGroupStationId": "62119BUOY",
"meteoGroupStationName": "BUOY",
"stationLocation": [ 1.9, 57 ],
"observedFrom": "2017-06-01T09:00:00Z",
"observedUntil": "2017-06-01T12:00:00Z",
"observedPeriod": "PT3H",
"pressureTendencyDescription": "DECREASING",
"pressureTendency": "DECREASING",
"pressureTendencyCode": 7,
"pressureChangeInHectoPascal": -0.9
},
{
"meteoGroupStationId": "63055BUOY",
"meteoGroupStationName": "BUOY",
"stationLocation": [ 1.6, 60.6 ],
"observedFrom": "2017-06-01T12:00:00Z",
"observedUntil": "2017-06-01T12:00:00Z",
"observedPeriod": "PT0S",
"airTemperatureInCelsius": 9.1,
"airTemperatureInFahrenheit": 48.38,
"airTemperatureInKelvin": 282.25,
"feelsLikeTemperatureInCelsius": 6.7,
"feelsLikeTemperatureInFahrenheit": 44.059998,
"feelsLikeTemperatureInKelvin": 279.85,
"airPressureAtSeaLevelInHectoPascal": 1019.3,
"windSpeedInMeterPerSecond": 7.2,
"windSpeedInKilometerPerHour": 25.919998,
"windSpeedInMilesPerHour": 16.10594,
"windSpeedInBeaufort": 4,
"windSpeedInKnots": 13.995676,
"windDirectionInDegree": 140,
"dewPointTemperatureInCelsius": 6.7,