-
Notifications
You must be signed in to change notification settings - Fork 35
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
Grib backport #111
Grib backport #111
Conversation
Did-g, can I make a pr and merge, and it will work? It sounds like Sean needs to do some additional programming, and we will need a new api115. No problem there, but doesn't OpenCPN Alpha needs to have it too? |
Hi, Unless you are trying to compute route with big grib or very small time steps (ie many interpolated records) this PR have no visible change. I wouldn't spend time on it. Regards |
Thanks, I am using th Alpha version now, so I guess I'll merge it next time, or when Sean does. |
Are there any measured performance improvements from shared pointers here? Is this safe to merge... will it be compatible with older grib plugins, or do we need to check the grib plugin version? |
Hi, This version isn't compatible with 4.8.0 there's no need for testing because API version 115 is not release yet and this version will fail to load on 4.8.0 or older. If you want to release a new weather_routing version for released O version don't merge this PR. |
You must be using full world gribs or very high resolution? What is
your source of gribs?
Maybe the plugin could request subsets of grib files to reduce the
memory load as well?
I _may_ release a new version soon, so I will hang onto this PR for nwo.
…On 12/30/17, didier ***@***.***> wrote:
Hi,
There's a small speed improvement but the main advantage is that on a 32
bits system for big gribs without sharing records weather_routing reach 4 GB
limit a lot earlier.
By using less memory there's another improvement even on 64 bits system:
Currently opencpn purges its charts cache if the whole process memory is
closed to a 1 GB limit.
Even without very big grib or a lot of computed routes it can really
slowdown opencpn to a point where restarting opencpn is the only option
left.
This version isn't compatible with 4.8.0 there's no need for testing
because API version 115 is not release yet and this version will fail to
load on 4.8.0 or older.
If you want to release a new weather_routing version for released O version
don't merge this PR.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#111 (comment)
|
My grib source? The best, me :) I'm using Meteo France for hourly wind 0.01° and IFREMER for 15 mn current 0.0023° . I'm having fun trying to find if it's worth it. |
There was no release, so I am ready to merge this, if you can resolve the conflicts. |
Hi, I'm pushing a second change with only gribrecord modifications since previous copy and paste gribrecord code in weather routing, if you commit this PR I will update this one (still trying to find a way to stay compatible with current OpenCPN). Regards |
I will merge if you can resolve conflicts. |
ok. waiting until opencpn (in git master) is ready. |
Weather routing is using some files from Opencpn main source code, by
copying them.
In 4.8.2 theses files have been slightly modified without breaking
compatibility with older versions.
#132 copy back them in weather routing.
It's not a mandatory change but by keeping both versions as close as
possible it'd make life easier down the line; both for understanding code
and in the case some incompatible changes have to be made.
…On Fri, Feb 9, 2018 at 8:00 PM, Rick Gleason ***@***.***> wrote:
What was this PR #132
<#132> Grib
Backport Grib record changes from Opencpn for?
078c4d1
<078c4d1>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALk2KmjcesvK9p47SLG9qo7xvaV2xAh4ks5tTJXcgaJpZM4RM5rJ>
.
|
On Feb 8 Sean merged #133 Error in Boundary which keeps compatibility with 4.8.2 and earlier. On Dec 30,2017 Did-g wrote:
So I believe that Grib Backport #111 this should not be merged until we move on to wxWidgets 3.1.1 and working at the head on API 16 and v4.99. |
Is this ready to merge or should we wait for O5 release? |
Hi,
It's missing O5 Appveyor dependencies but otherwise yes it's ready to merge.
…On Thu, Feb 7, 2019 at 6:06 AM seandepagnier ***@***.***> wrote:
Is this ready to merge or should we wait for O5 release?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALk2KlXGPHbEzMe2O8Ra10xCdfidNav4ks5vK7RYgaJpZM4RM5rJ>
.
|
Hi, |
Hi,
I'm hijacking plugin API version for testing grib record format change...
For testing on linux adding plugins as subtree is the easiest. My default branch https://github.com/did-g/OpenCPN.git have a bunch of subtree plugins , may have too much unrelated WIP changes though.
Regards
Didier