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
This isn't a leaflet-velocity issue, but I thought I'd start here. I'm trying to add wind data to a leaflet map. I download the data using the following link,
First of all, in order see the exact Wind animation in your leaflet map as in Windy, Earth etc
you should make sure you are using the same input.
This can be done by checking side to side the .json values that you are using with the ones that Windy or Earth uses.
It may be kinda tricky, as I know that Windy does not pass .json files but .png files to client.
Alternatively, you can open downloaded .grib files with Panoply and see if you are displaying the same forecast (if the forecast is for the same datetime). It will be easier to look datetimes in UTC.
You should check that your are downloading the same model from NOAA server with the same resolution.
Note that slight differences may be still found since forecasting service providers may meta-process their data before visualization.
After ensuring you have the same .grib input and displaying the same .json data you should definitely
The angle convention option refers to the convention used to express the wind direction as an angle from north direction in the control. It can be any combination of bearing (angle toward which the flow goes) or meteo (angle from which the flow comes), and CW (angle value increases clock-wise) or CCW (angle value increases counter clock-wise). If not given defaults to bearingCCW.
onaci
locked and limited conversation to collaborators
Sep 6, 2021
This isn't a
leaflet-velocity
issue, but I thought I'd start here. I'm trying to add wind data to a leaflet map. I download the data using the following link,Then I convert the grib file to json using the
weacast-grib2json
program,Basically following the guidance found here and here.
However, when I display the wind data on my leaflet map,
it looks different than what is displayed on windy or earth.
Not sure what is going on, as the reference datetimes are the same, but it has to be a data issue.
Attached the json and index.html file as a MWE.
mwe_wind_data.zip
The text was updated successfully, but these errors were encountered: