Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-07-2014, 22:59   #286
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Climatology

I improved the handling of overlays by using npot textures instead of texture rectangles if supported. This won't affect some drivers much, but on others it could be faster or avoid other problems. It fixes several issues with viewport rotation.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 06-07-2014, 03:46   #287
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Climatology

I want to use this image for the download page.
Attached Thumbnails
Click image for larger version

Name:	climatology.jpg
Views:	93
Size:	216.5 KB
ID:	84522  
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 06-07-2014, 07:01   #288
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Rick:
Quote:
With everything on in the Display Panel, everything checked, and if Isbars is checked on for each datatype, plus the overlay is on for each datatype, that is a lot of calcs, so it is slower and isbar regen is more of a problem.

If you turn off opengl, the overlay is turned off so if all isbars are on, it will be faster, but still slow.

Opencpn 3.3.1824 seems to be a little better about this due to the opengl and optimizing.
Sean:
Quote:
I improved the handling of overlays by using npot textures instead of texture rectangles if supported. This won't affect some drivers much, but on others it could be faster or avoid other problems. It fixes several issues with viewport rotation.
I am talking about the situation when some idiot decides to check all the boxes to display all datatypes at once, with overlay textures checked on (opengl is on too), and requesting to have isobars drawn for every datatype!!!! -- (Later) You can't even understand all the overlays when they are displayed so there's a natural limit there too that most users will never reach. How many overlays displayed at one time is reasonable?

IMHO this is completely unreasonable, ridiculous, outrageous, extreme. We need a check on user control here I think, until everyone has even faster computers in 5 years. I am going to suggest:
First limit-
1. Isobars: No more than 5 datatypes with isobars "on" (Later, actually display).
2. Overlay (opengl on): When opengl is on, and more than 5 datatypes have overlay textures "on" (Later, ready to actually display and cause calcs.. needs some thought where to put the limit).
Second limit- If opengl is off, there is no overlay texture calcs, so the Isobar limit could be raised to something else like 7 datatypes with isobars "on".

When a user checks an additional isobar display, if the limit is reached a message comes up "Too many isbars checked, limit reached" and the box is not checked. (Later, maybe we should focus on the actual calcs, and display, so the user can set up his datatype to display as he wants, but he just cant check too many display boxes.....Your input would be very helpful here please.)

We would need to figure out what the limits should be and what is reasonable.

--In the image above for download page, I like the sustained wind colors, very very nice.
__________________
rgleason is offline   Reply With Quote
Old 06-07-2014, 19:48   #289
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Climatology

I think something similar is done in grib, only a single overlay is allowed at once.

So I suppose it could simply uncheck any fields which already have an overlay map.

I think it's possible to use 2 or more in some cases, but not really very useful.

Sean
__________________
boat_alexandra is offline   Reply With Quote
Old 08-07-2014, 07:51   #290
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Sean,
I git and compiled most recent climatology. It works with all isobars checked and with all overlays ON , I would never use it that way (I'd be an idiot) but the Isobar progress bar never came up and never got lost. I did not hit any limits where there was a message, so I am wondering what you did, but I think this is working now for all normal human beings...(----!!!!!

I think it should be released for general consumption. Unfortunately we have been changing VPS providers over the last 4 days (pretty seamless) but my file limits for Opencpn Beta File thingie got changed and I don't have access to change it back yet, so I cant upload the 6mb exe . It is at 2mb limit now.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2014-07-08 09.44.20.jpg
Views:	76
Size:	227.5 KB
ID:	84641  
__________________
rgleason is offline   Reply With Quote
Old 13-09-2014, 06:41   #291
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

When we zoom out too far the opengl texture overlays get out of scale horizontally.
It is a minor annoyance really, but should be fixed if possible.
OpenCPN Beta Version 3.3.2107 Released

Have posted in flyspray.
FS#1487 : Texture Overlay widens out of scale when zoom out (Opengl)
__________________
rgleason is offline   Reply With Quote
Old 28-09-2014, 20:48   #292
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Climatology

I have made a new release of climatology in git:
https://github.com/seandepagnier/climatology_pi

The required climatology data is rebuilt and can be obtained:
opencpnplugins - Browse /climatology_pi at SourceForge.net

The difference is only for wind and currents:
- The gales and calms are now computed more correctly
- The spacial resolution is half degree world grid instead of one degree
- The resolution for wind speed and directions is improved
- The compression of the wind data is greatly improved.
- Areas with insufficient data are omitted
- Current data for 0.2 knots and above instead of 0.3 knots

The package is 15% larger, but I didn't want to sacrifice the quality of the wind atlas.

My plan next is to produce an optional high resolution version with .25 degree spacial accuracy for wind, even more accuracy for directions and speeds (but this will greatly increase the database, up to around 15MB)

Next, it is possible to produce the following:
- Day/Night slider to show the changes in wind over the course of 24 hours at each time in the year
- Derivative terms or weekly averages to improve daily interpolation
- Wind atlas with speed buckets so you can see percentage of time wind is at various speeds for each direction.
- El Nino slider to show how wind and currents change.
__________________
boat_alexandra is offline   Reply With Quote
Old 29-09-2014, 09:12   #293
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Climatology_pi updated by Sean with a new more accurate DB downloaded from Sourceforge! See Sean's notes above.

Opencpn Beta File Thingie rguser rgpass
Directory: 3.2.2 PI Win
File: climatology_pi-0.13-ov3.2.2-d-db-new-win32.exe

I have used this plugin with Wind and Current and "Grib_pi" and "Weather_Routing_pi". The Gulf current eddys are represented better and the 10-12 wx-routes all calculated fine.

Windows users, please test it out. Thanks.

PS: Sean, your next versions sound enticing. Would you mind making the "Day" area in "Month" "Day" just a little wider? - maybe take some space from the month field? It is difficult to see the second numeral in the day field.

Thanks so much!
__________________
rgleason is offline   Reply With Quote
Old 29-09-2014, 19:20   #294
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: Climatology

Quote:
Originally Posted by boat_alexandra View Post
I have made a new release of climatology in git:
https://github.com/seandepagnier/climatology_pi

The required climatology data is rebuilt and can be obtained:
opencpnplugins - Browse /climatology_pi at SourceForge.net

The difference is only for wind and currents:
- The gales and calms are now computed more correctly
- The spacial resolution is half degree world grid instead of one degree
- The resolution for wind speed and directions is improved
- The compression of the wind data is greatly improved.
- Areas with insufficient data are omitted
- Current data for 0.2 knots and above instead of 0.3 knots

The package is 15% larger, but I didn't want to sacrifice the quality of the wind atlas.

My plan next is to produce an optional high resolution version with .25 degree spacial accuracy for wind, even more accuracy for directions and speeds (but this will greatly increase the database, up to around 15MB)

Next, it is possible to produce the following:
- Day/Night slider to show the changes in wind over the course of 24 hours at each time in the year
- Derivative terms or weekly averages to improve daily interpolation
- Wind atlas with speed buckets so you can see percentage of time wind is at various speeds for each direction.
- El Nino slider to show how wind and currents change.
Sean:
Ed here (Freddie). Will this Plugin run on the CubieTruck (ARMv7)? Does it need full OpenGL?
I would like to try getting all of your plugins working on the CubieTruck, but am not sure which if any require full OpenGL as opposed to OpenGL-ES2.

Thanks,
Freddie
__________________
sbfreddie is offline   Reply With Quote
Old 29-09-2014, 19:36   #295
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Climatology

Quote:
Originally Posted by sbfreddie View Post
Sean:
Ed here (Freddie). Will this Plugin run on the CubieTruck (ARMv7)? Does it need full OpenGL?
I would like to try getting all of your plugins working on the CubieTruck, but am not sure which if any require full OpenGL as opposed to OpenGL-ES2.

Thanks,
Freddie
All of my plugins work without opengl, however some features do not always work without opengl. The overlay maps for climatology need opengl. In the case with opengl-es2, it will work correctly (I use climatology on the cubie truck) As far as I know all the plugins work with opengl-es2, if not I would like to know.



I did a small experiment to build wind atlas maps for each time of day since the data is every 6 hours. I found the differences a lot more than I expected, especially on coastlines near tall mountains (like andes mountains) the daily land/sea wind effect can be seen far out to sea in these areas. In other areas, it is clear the wind direction shifts on a daily cycle 20-40 degrees is common in many areas. I expect this knowledge is useful when beating against the prevailing winds to time tacking appropriately. Unfortunately including this data would increase the database size to around 12MB.

Next experiment is to compare wind and current data built for different el-nino indicies.
__________________
boat_alexandra is offline   Reply With Quote
Old 29-09-2014, 19:50   #296
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Quote:
did a small experiment to build wind atlas maps for each time of day since the data is every 6 hours. I found the differences a lot more than I expected, especially on coastlines near tall mountains (like andes mountains) the daily land/sea wind effect can be seen far out to sea in these areas. In other areas, it is clear the wind direction shifts on a daily cycle 20-40 degrees is common in many areas. I expect this knowledge is useful when beating against the prevailing winds to time tacking appropriately. Unfortunately including this data would increase the database size to around 12MB.
-Sean would that 12mb increase be from only areas where the differences are significant? ...Or from increasing the data frequency over the entire world? Can the plugin process data that is not normalized spatially and over time? - I would not mind the 12mb increase for better routing!

-I wonder if there are places where the 6 hour data would be significant improvement?

-What would you use to define "a significant improvement"? --Where the wind changes more than 90 degrees and/or more than 20% of speed during the subject period?

Quote:
Next experiment is to compare wind and current data built for different el-nino indicies.
PS: Very interesting results.
__________________
rgleason is offline   Reply With Quote
Old 01-10-2014, 20:41   #297
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Sean has updated Climatology
- improve el-nino test for cyclones - fix possible warning

Also the most recent CL-DATA-1.0 Database download from Sourceforge is included.

Note that at the moment Weather_Routing will not recognize this new Climatology data, there is a popup note from Weather_Routing.

This version of climatology is about 6042kb rather than 5400kb due to the .5 degree wind data.

Opecpn Beta File Thingie rguser rgpass
In folder 3.2.2 PI Win
climatology_pi-1.0-ov3.2.2-f-db-new-win32.exe
__________________
rgleason is offline   Reply With Quote
Old 25-12-2014, 17:46   #298
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Sean,
With Opencpn 3.3.2424 running Climatology, it appears that the Overlays or the Background Land outline is fogged or fuzzy and the overlays seem to be a little weird.
Is this being caused by something in Opencpn 3.3.2424?
__________________
rgleason is offline   Reply With Quote
Old 28-12-2014, 16:50   #299
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

Sean
See this post about the Climatology overlays at Zoom out scales.

OpenCPN Beta Version 3.3.2424 Released

I have updated the Climatology writeup and images, and Thomas has added many menu items.
__________________
rgleason is offline   Reply With Quote
Old 31-12-2014, 10:23   #300
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: Climatology

See these screenshots.
OpenCPN Beta Version 3.3.2424 Released
Is there any chance for improvement?
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
paracelle

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:51.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.