Giter Site home page Giter Site logo

Grib file overlay about avnav HOT 6 OPEN

antonical avatar antonical commented on August 30, 2024
Grib file overlay

from avnav.

Comments (6)

wellenvogel avatar wellenvogel commented on August 30, 2024

There already have been questions on that.
It would be relatively easy if there would be a java script library to show the grib files.
But until now I did not find any.
Another option would be to render them on the server - but this is much more effort.

from avnav.

Fietsenwiel avatar Fietsenwiel commented on August 30, 2024

Does this help: https://github.com/spidru/JGribX ?
JGribX was originally designed to be a Java library, meaning that it did not have any useful functionality when run as a standalone app. However, a command-line interface is currently being developed which allows JGribX to be used as a standalone app via command-line.

from avnav.

wellenvogel avatar wellenvogel commented on August 30, 2024

Not really a lot.
It's just java - not java script.

from avnav.

Fietsenwiel avatar Fietsenwiel commented on August 30, 2024

from avnav.

antonical avatar antonical commented on August 30, 2024

Is it possible to use the opencpn grib plugin as base for this? I am not a coder so not sure.

Right now we use Xygrib and run that on the nav computer. But really trying to consolidate devices as much as possible. As the RPI4 AvNav server is headless not sure how to get gribs on the server side. I guess it would be something core to the avnav server.

https://opengribs.org/en/gribs

https://www.ucc.ie/en/eel/posts/grib-command-line-tools-from-ecmwf.html#:~:text=ECMWF%20supplies%20some%20useful%20command,version%20of%20the%20GRIB%20API.

https://pysselilivet.blogspot.com/2022/09/grib-files-extracting-data-in-linux.html

The last one looks like you can request a grib from the command line. I guess the challenge will be overlaying it and switching the sequence as time moves on.

from avnav.

wellenvogel avatar wellenvogel commented on August 30, 2024

Basically there would be 2 options:
(1) Render the gribs on the server an send the rendered data as a picture to the browser
(2) Extract gribs on the server and add some js based overlay. This would require some js based code for the rendering.

I would prefer (2) - but did not find a promising js lib.

The OpenCPN plugin would be more (1) - but its a huge effort to integrate this (did something similar for o-charts) - nothing I will do again.

from avnav.

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.