GithubHelp home page GithubHelp logo

rodemfr / meteovache_pi Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 4.56 MB

MeteoVache plugin for OpenCPN

CMake 3.60% C++ 22.69% C 68.10% Shell 3.54% Batchfile 0.51% Python 1.55%
opencpn sailing weather-forecast weather

meteovache_pi's People

Contributors

rodemfr avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rasbats

meteovache_pi's Issues

Show status of an ongoing request in the report window

When the quality of the internet connection is bad, the time to retrieve data from the server can be long, several seconds. There is no way for the user to know what is happening in this case. The window stays empty.
It would be nice to have a small status bar and/or an animated progress indicator showing that the request is still ongoing. It should also provide an error message when the plug-in finally assumes that the connection is lost.

Add possibility to save weather reports

In the current version, weather reports are not saved by the plug-in. Every new forecast request erases the previous one. You have to copy-paste manually the report in a text editor to save it. This is cumbersome.

A button should be added to the report window to trigger a "more or less" automatic save. Maybe with an intermediate dialog to fill some information fields or just to give a filename.

Window size can be invalid in some case

Meteovache window size and position is stored in meteovache_pi's config parameters. I have seen one time these values become invalid (i.e. 32768 as position and random size). In this case, window is no more visible and nothing can be done to bring it back to screen appart from manually editing OpenCPN's INI file.
A verification should be put at meteovache_pi stratup to ensure that window is inside screen.

Make plug-in compilable standalone

In the path to produce a nice well mannered plug-in, being able to compile it without the full OpenCPN tree is a must have.

Comment from @Rasbats :

Going forward 'zlib' is causing me problems for compiling standalone. I have 'zlib.lib' on my system from working with netCDF. Needed to copy 'zlib.h' and 'zconf.h' to the 'src' folder from the zlib source code. Not sure how to deal with this at the moment on Windows, but Sean Depagnier has used 'zlib' for the Weather Routeing plugin.

Problem here:

FIND_PACKAGE(ZLIB REQUIRED)
TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} ${wxWidgets_LIBRARIES} ${ZLIB_LIBRARY})

'ocpn_plugin.h' had to be copied to the 'src' folder.

The final hurdle was the location of 'opencpn.lib'.

LINK : fatal error LNK1181: cannot open input file '..\..\release\opencpn.lib

Using Visual Studio 2017 I edited the link file location and built the plugin. Made an installer package at the same time, which worked fine.

Errors in text file report

When saving reports to a file, there are two errors :

  • Month numbering is wrong
  • special characters in short day names are invalid

Add a preference panel

Add a preference panel reachable from the plug-in manager.
This preference panel should at least propose to select the display units (kt, m/s, bft, etc.)

SelEction of a zone instead of a point.

Hi,
First thanks for thhis nice plugin.
But as in zygrib or xgrib, would it be possible to select a zone instead of just a point : when sailing, wee move from one place to another one!
And also, it would be useful to be able to select the same zone automatically, at will (which zygrib nor xgrib do).
Bye

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.