You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I am implementing the wind map using the data from https://onaci.github.io/leaflet-velocity/wind-global.json But the data look strange for me. Is there any way to convert the weather data of OpenWeather API for all cities in specific country because those two format are totally different.
Supported Structure of Data
[{"header": {"discipline": 0,"disciplineName": "Meteorological products","gribEdition": 2,"gribLength": 76420,"center": 7,"centerName": "US National Weather Service - NCEP(WMC)","subcenter": 0,"refTime": "2016-04-30T06:00:00.000Z","significanceOfRT": 1,"significanceOfRTName": "Start of forecast","productStatus": 0,"productStatusName": "Operational products","productType": 1,"productTypeName": "Forecast products","productDefinitionTemplate": 0,"productDefinitionTemplateName": "Analysis/forecast at horizontal level/layer at a point in time","parameterCategory": 2,"parameterCategoryName": "Momentum","parameterNumber": 2,"parameterNumberName": "U-component_of_wind","parameterUnit": "m.s-1","genProcessType": 2,"genProcessTypeName": "Forecast","forecastTime": 0,"surface1Type": 103,"surface1TypeName": "Specified height level above ground","surface1Value": 10.0,"surface2Type": 255,"surface2TypeName": "Missing","surface2Value": 0.0,"gridDefinitionTemplate": 0,"gridDefinitionTemplateName": "Latitude_Longitude","numberPoints": 65160,"shape": 6,"shapeName": "Earth spherical with radius of 6,371,229.0 m","gridUnits": "degrees","resolution": 48,"winds": "true","scanMode": 0,"nx": 360,"ny": 181,"basicAngle": 0,"subDivisions": 0,"lo1": 0.0,"la1": 90.0,"lo2": 359.0,"la2": -90.0,"dx": 1.0,"dy": 1.0},"data": [4.54,4.52,4.49,4.47,4.44,4.41,4.38]}]
Open Weather API response, but it will be an array of objects for cities in a specific country
Currently, I am implementing the wind map using the data from https://onaci.github.io/leaflet-velocity/wind-global.json But the data look strange for me. Is there any way to convert the weather data of OpenWeather API for all cities in specific country because those two format are totally different.
Supported Structure of Data
Open Weather API response, but it will be an array of objects for cities in a specific country
The text was updated successfully, but these errors were encountered: