Weather
POST /udl/weatherreport
Changed onService operation to take a single WeatherReport as a POST body and ingest into the database. A specific role is required to perform this service operation. Please contact the UDL team for assistance.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/udl/weatherreport
- Authnone declared
Request body
Example request
{
"id": "WEATHER-REPORT-ID",
"classificationMarking": "U",
"idSensor": "0129f577-e04c-441e-65ca-0a04a750bed9",
"origSensorId": "ORIGSENSOR-ID",
"weatherId": "WEATHER-ID",
"idGroundImagery": "GROUND-IMAGERY-ID",
"idSite": "AIRFIELD-ID",
"idAirfield": "8fb38d6d-a3de-45dd-8974-4e3ed73e9449",
"icao": "KAFF",
"externalId": "GDSSMB022408301601304517",
"externalLocationId": "TMDS060AD4OG03CC",
"reportType": "FORECAST",
"obTime": "2018-01-01T16:00:00.123456Z",
"forecastStartTime": "2024-01-01T16:00:00.123Z",
"forecastEndTime": "2024-01-01T18:00:00.123Z",
"lat": 56.12,
"lon": -156.6,
"alt": 123.12,
"geoPotentialAlt": 1000,
"dataLevel": "MANDATORY",
"area": "POLYGON((67.3291113966927 26.156175339112,67.2580009640721 26.091022064271,67.1795862381682 26.6637992964562,67.2501237475598 26.730115808233,67.3291113966927 26.156175339112))",
"atext": "POLYGON((67.3291113966927 26.156175339112,67.2580009640721 26.091022064271,67.1795862381682 26.6637992964562,67.2501237475598 26.730115808233,67.3291113966927 26.156175339112))",
"agjson": "{\"type\":\"Polygon\",\"coordinates\":[ [ [ 67.3291113966927, 26.156175339112 ], [ 67.2580009640721, 26.091022064271 ], [ 67.1795862381682, 26.6637992964562 ], [ 67.2501237475598, 26.730115808233 ], [ 67.3291113966927, 26.156175339112 ] ] ] }",
"atype": "ST_Polygon",
"andims": 2,
"asrid": 4326,
"windSpd": 1.23,
"windSpdAvg": 12.1,
"windGust": 10.23,
"windGust10": 13.2,
"vshear": 3.8,
"hshear": 3.8,
"radVel": -0.04,
"radVelBeam1": 4.4,
"radVelBeam2": -0.2,
"radVelBeam3": -0.2,
"radVelBeam4": 11.4,
"radVelBeam5": 4.1,
"windDir": 75.1234,
"windDirAvg": 57.1,
"windDirPeak": 78.4,
"windDirPeak10": 44.5,
"windChill": 15.6,
"dirDev": 9.1,
"windCov": [
1.1,
2.2
],
"cloudCover": [
"OVERCAST",
"BROKEN"
],
"cloudHght": [
1.2,
2.2
],
"actWeather": "NO STATEMENT",
"weatherDesc": "NO STATEMENT",
"weatherInt": "NO STATEMENT",
"rawMETAR": "KXYZ 241456Z 19012G20KT 10SM FEW120 SCT200 BKN250 26/M04 A2981 RMK AO2 PK WND 19026/1420 SLP068 T02611039 51015",
"rawTAF": "KXYZ 051730Z 0518/0624 31008KT 3SM -SHRA BKN020 FM052300 30006KT 5SM -SHRA OVC030 PROB30 0604/0606 VRB20G35KT 1SM TSRA BKN015CB FM060600 25010KT 4SM -SHRA OVC050 TEMPO 0608/0611 2SM -SHRA OVC030 RMK NXT FCST BY 00Z=",
"qnh": 1234.456,
"visibility": 1234.456,
"temperature": 23.45,
"soilTemp": 22.4,
"barPress": 101.2,
"precipRate": 3.4,
"rainHour": 1.2,
"solarRad": 1234.456,
"difRad": 234.5,
"refRad": 56.7,
"senlat": 12.456,
"senlon": 123.456,
"senalt": 1.23,
"dewPoint": 15.6,
"relHumidity": 34.456,
"indexRefraction": 1.1,
"soilMoisture": 3.5,
"surroundingWeather": "NO STATEMENT",
"weatherAmp": "NO STATEMENT",
"contrailHghtLower": 123.123,
"contrailHghtUpper": 123.123,
"icingUpperLimit": 123.123,
"icingLowerLimit": 123.123,
"enRouteWeather": "THUNDERSTORMS",
"ccEvent": true,
"srcTyps": [
"SENSOR",
"WEATHERDATA"
],
"srcIds": [
"e609a90d-4059-4043-9f1a-fd7b49a3e1d0",
"c739fcdb-c0c9-43c0-97b6-bfc80d0ffd52"
],
"origNetwork": "OPS1",
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"dataMode": "TEST"
}Response
Created
Changes
- info
added the non-success response with the status
- info
- info
the
request property's maxLength was increased from512to1024 - info
the
request property's maxLength was increased from1024to2048
- info
Some revisions have not been checked yet.