Comments (6)
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.
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.
Not really a lot.
It's just java - not java script.
from avnav.
from avnav.
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://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.
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)
- [IDEA] Live Charts for the Dashboard Page HOT 2
- Setting time from GPS not working HOT 8
- request: make formatDirection use ±180 or 0-360 range HOT 1
- Chart detail not showing at various zoom levels HOT 2
- Request: Enhance boat course vector HOT 2
- Request: Add minute notches to boat course and AIS target vectors
- Route Overlay Improvements
- 'Housekeeping' Tracks HOT 3
- 'Trip Log' Functionality HOT 3
- Additional raster chart source: VMH HOT 18
- Request: Show "route distance" and ETA to any waypoint HOT 4
- Add scss availability HOT 1
- Can Avnav send the complete route out via nmea? HOT 2
- Navigation map twitching HOT 1
- True Wind Data in NMEA HOT 3
- outdated docs HOT 5
- [Enhancement] Radial Gauges as Compass readability on Small Screens HOT 2
- [Enhancement] Caption readability on Small Screens HOT 2
- pitch/roll widget: missing case for value==0 HOT 1
- Dialog for picture upload for user link creation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avnav.