Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-04-2016, 00:01   #61
Registered User

Join Date: May 2012
Posts: 347
Re: ncdf plugin for reading NetCDF tidal currents

I see the problem with OpenGL OFF where the colour area is displaced. The problem (I think) is that we are asking the plugin to make a very large number of small images which are then displayed on the screen.

Still no luck in getting the file name to crash O.

Mike
__________________

__________________
Rasbats is offline   Reply With Quote
Old 22-04-2016, 10:23   #62
Registered User

Join Date: May 2012
Posts: 347
Re: ncdf plugin for reading NetCDF tidal currents

Gilletarom,

Have made a few changes to the code to try to fix the force colour rendering with OpenGL OFF.

https://github.com/Rasbats/ncdf_pi/releases

v0.5 has the updated ncdf_pi.dll.

Mike
__________________

__________________
Rasbats is offline   Reply With Quote
Old 22-04-2016, 11:15   #63
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: ncdf plugin for reading NetCDF tidal currents

Mike,
Quote:
Originally Posted by Rasbats View Post
Gilletarom,
Have made a few changes to the code to try to fix the force colour rendering with OpenGL OFF.
https://github.com/Rasbats/ncdf_pi/releases
v0.5 has the updated ncdf_pi.dll.
Mike
I have just replace V04 by V05.

With OpenGL ON :
V 05 is a few best but not very best than 04.

There is no fluidity when you want to move the map with the mouse. Everything progresses by jump. And, not good for second bug.

With OpenGL OFF :
There is no difference between OpenGL ON and openGL OFF about second bug.

First bug :
Il I click on the name of file
- With OpenGL OFF, no crash. And then I can use correctly the file.
- With OpenGL ON, Crash.

In each case, if I click on "+" instead of name of file, no problem. No crash. I can select a hour.
Attached Thumbnails
Click image for larger version

Name:	2016-04-21-ncdf_dll_0.5_A.jpg
Views:	45
Size:	329.2 KB
ID:	122981  
__________________
Gilletarom is offline   Reply With Quote
Old 23-04-2016, 10:57   #64
Registered User

Join Date: May 2012
Posts: 347
Re: ncdf plugin for reading NetCDF tidal currents

v0.6 on GitHub.

https://github.com/Rasbats/ncdf_pi/releases/tag/v0.6

When a filename is selected from the tree control OpenCPN does not freeze.

Small improvement in rendering of force colour, but some erratic movement is still present.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 25-09-2016, 10:21   #65
Registered User

Join Date: May 2012
Posts: 347
Re: ncdf plugin for reading NetCDF tidal currents

Ref #26:

Using CDO ( https://code.zmaw.de ) made a grib from a netCDF file (.nc) downloaded from: DATA.SHOM.FR

SHOM.jpg shows the result. The grib data is displaced south by about 5nm. The grid in the nc file is 'curvilinear', is this the problem? Changed grid type in the nc to 'LatLon' but there was no change.

CDO was used to convert an nc file from Copernicus to grib. This is displayed correctly (CMEMS.jpg).

A Windows compiled version of CDO with jpeg support is contained in the "SHOM.zip" file I have put on GitHub: https://github.com/Rasbats/ncdf_pi/releases/tag/v0.6

Attached is the batch file used to convert nc to grib. This is also in the zip file on GitHub.

Can anyone explain the reason for the displaced SHOM data?

Mike
Attached Thumbnails
Click image for larger version

Name:	shom.jpg
Views:	19
Size:	94.7 KB
ID:	131711   Click image for larger version

Name:	cmems.jpg
Views:	23
Size:	97.1 KB
ID:	131715  

Attached Files
File Type: pdf copy_shom.bat.pdf (230 Bytes, 7 views)
__________________

__________________
Rasbats is offline   Reply With Quote
Reply

Tags
current, plug

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tidal Currents in West, North Europe christopher1958 OpenCPN 2 03-06-2012 10:36
Want To Buy: Canadian Atlas of Tidal Currents (St. Lawrence Estuary) Westerly33 Classifieds Archive 0 02-08-2011 08:50
OpenCPN Tidal Heights and Currents NAV OpenCPN 14 25-06-2011 03:23
Tidal Currents (Not Heights) wizard-merlin OpenCPN 3 16-02-2011 03:34
Riding Tidal Currents on the ICW endoftheroad Navigation 8 03-01-2010 16:38


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:47.


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.