Git Product home page Git Product logo

Comments (4)

trafficonese avatar trafficonese commented on June 7, 2024

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.

from leaflet.extras2.

jmhatch avatar jmhatch commented on June 7, 2024

@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.

Windy
windy_2

vs. mine
mine_2

The discrepancy is pretty apparent. I must be doing something wrong?

from leaflet.extras2.

trafficonese avatar trafficonese commented on June 7, 2024

Could you maybe try to use the json file with the underlying JS-library?
Unfortunately, I am not able to install grib2json on my computer, so its a bit hard for me to debug..

from leaflet.extras2.

jmhatch avatar jmhatch commented on June 7, 2024

Good idea @trafficonese!

I was able to replicate the 'mine' image above using the leaflet-velocity JS library. So it isn't a leaflet.extras2 issue. It must be a data issue. I'll open up an issue over at leaflet-velocity to see if someone can help me out.

Thanks!

Capture

from leaflet.extras2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.