-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processing data for addVelocity #12
Comments
Hey @jmhatch, that is very interesting indeed. Unfortunately I have no idea, where this "bug" is coming from. I will have a look at my code but I'm pretty sure I just pass the json to the underlying plugin-library. So no transformation is happening on my side. Are you sure that you were looking at the same timeranges? I guess a time difference of 1 hour can already make a huge difference. |
@trafficonese I'm pretty sure it's the same time range. Here is another example, with a ref time of 2021-02-09T06:00:00.000Z from the json file I downloaded, which seems to correspond with what Windy is reporting for GFS. The discrepancy is pretty apparent. I must be doing something wrong? |
Could you maybe try to use the json file with the underlying JS-library? |
Good idea @trafficonese! I was able to replicate the 'mine' image above using the leaflet-velocity JS library. So it isn't a Thanks! |
I'm not sure this is a
leaflet.extras2
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 (the angle of the particles looks off). Not sure what is going on...
Windy
vs. mine
Maybe it's a projection issue?
The text was updated successfully, but these errors were encountered: