|
|
21-04-2013, 05:11
|
#136
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Ptizef, It opens exactly correctly to your directory. I think it is something I am not doing in GIT to cause the error when running
Git checkout ptizef/NEW_GRIB
Git branch -a
Shows on "no head"
git clone https://github.com/Ptizef/OpenCPN/tree/NEW_GRIB.git
Cloning into 'NEW_GRIB'...
fatal: https://github.com/Ptizef/OpenCPN/tr....git/info/refs not found:
did you run git update-server-info on the server?
Then because it is clear I don't have a local respository for ptizef/NEW_GRIB because it is a plugin and not a branch, I tried
git checkout origin/master
git branch -a
Shows head is at "origin/master"
cd plugins
..and I try this command again
git clone https://github.com/Ptizef/OpenCPN/tree/NEW_GRIB.git
Cloning into 'NEW_GRIB'...
fatal: https://github.com/Ptizef/OpenCPN/tr....git/info/refs not found:
did you run git update-server-info on the server?
Same error. It must be something I have not done with git... Did you change the location of these files some time ago? Maybe I have to initialize git for this directory somehow?
Thanks Jean Pierre for your help.
|
|
|
21-04-2013, 05:18
|
#137
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: New Grib Presentation
rgleason
Try:
git clone -b NEW_GRIB https://github.com/Ptizef/OpenCPN.git
Thomas
|
|
|
21-04-2013, 06:44
|
#138
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Thank you Thomas that worked. I need to get my head around GIT.
git clone -b NEW_GRIB https://github.com/Ptizef/OpenCPN.git
Quote:
-b <name>Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository's HEAD, point to <name> branch instead. In a non-bare repository, this is the branch that will be checked out. --branch can also take tags and detaches the HEAD at that commit in the resulting repository.
|
I believe this saved NEW_GRIB to grib_pi because there are todays dates.
Git - Git Basics
gitk that is distributed with Git. Gitk is basically a visual git log too
|
|
|
21-04-2013, 06:49
|
#139
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Yikes it downloaded 15336 objects. Did I get the full opencpn put somewhere? I was in the plugins directory. I'm afraid its pretty clear I don't know what I am doing all the time.
Did a git status and it appears it deleted a bunch of *.po files and other files in grib_pi.
|
|
|
21-04-2013, 08:06
|
#140
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Now I am having trouble figuring out where origin/master is located.
I've looked on sourceforge and github but have not found it.
I would like do GIT grib_pi from origin/master now.
|
|
|
21-04-2013, 08:32
|
#141
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,197
|
Re: New Grib Presentation
Quote:
Yikes it downloaded 15336 objects. Did I get the full opencpn put somewhere?
|
Most likely, I suppose you will now have the whole tree under your plugins directory.
Quote:
Now I am having trouble figuring out where origin/master is located.
|
The "master" repository is https://github.com/OpenCPN/OpenCPN (the Git URL: git://github.com/OpenCPN/OpenCPN.git) - but it actually does not mean that it has to be called "origin" on your machine as it depends on the order you added remote repositories... Brainfood: Git Reference
Whenever you are not sure what's what, use in your local repository to see from where you actually are pulling the code...
And about we have already talked somewhere else...
BTW, the merged code changes from Sean and J-P are already in the master, so if it's at least a bit possible, any further changes should be mergeable there, otherwise we will get insane
Pavel
|
|
|
21-04-2013, 09:29
|
#142
|
Registered User
Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
|
Re: New Grib Presentation
Hi everybody!
I am not quite up-to-date but very interested in the topic. Therefor it would be kind if someone could answer me some questions, please:
- Is the current developement a replacement for the included GRIB PI or is it a separate PI?
- AFAIK there are two GRIB editions - GRIB 1 and 2.
Does the new version/ plugin also support GRIB (edition) 2?
Many thanks in advance for enlightenment ...!
Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
|
|
|
21-04-2013, 10:23
|
#143
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Quote:
Quote:
Yikes it downloaded 15336 objects. Did I get the full opencpn put somewhere?
Most likely, I suppose you will now have the whole tree under your plugins directory.
|
Did not find another full tree. Must have just been checking files in my repository.
Pavel:
Thanks for the git path and the git remote command, will use it. Clarification about where to fetch or pull Sean and J-P grib_pi.dll is very clear. Kind of fun herding newbies like me!
Netsurfer:
There is one grib_pi.dll now merged to the "master" repository as Pavel stated.
It is not clear which grib is 1&2 (Sean or J-P) as you are unclear.
As far as I know, J-P has one very good improvement with respect to requests for gribs through saildocs.com which is the "MODIFY" button for changing resolution and grib data, which is not in the current grib. Perhaps that can be included in near future? J-P?
There are some small anomalies in reading grib data from different formats, that will need to be fixed in the grib_pi.dll, but I believe those will be remedied eventually when there is some time. I have done a little study on this, but did not want to inject it into this process.
|
|
|
21-04-2013, 11:09
|
#144
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Also some small things that are different:
J-P's version is a little more compact with the slider bar on the first line and shorter.
J-P's version rounds the pressure isobar text and it appears a little smaller which is nice.
Sean's version Config has a more comprehensive setup for editiing and saving Data Type parameters which I think is better.
In time these and other things can be brought together, but the big thing is we now have one grib_pi to work on that can be improved. Perhaps J-P can make some of those small changes to the repository with Git?
|
|
|
21-04-2013, 11:10
|
#145
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
|
Re: New Grib Presentation
Hello,
Quote:
Originally Posted by Netsurfer
Hi everybody!
I am not quite up-to-date but very interested in the topic. Therefor it would be kind if someone could answer me some questions, please:
- Is the current developement a replacement for the included GRIB PI or is it a separate PI?
- AFAIK there are two GRIB editions - GRIB 1 and 2.
Does the new version/ plugin also support GRIB (edition) 2?
...Gunther
|
I ask myself the same questions.
Gilletarom.
|
|
|
21-04-2013, 11:27
|
#146
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
1. Is the current development a replacement for the included GRIB PI or is it a separate PI? - The grib_pi.dll in the master has been updated by (Grib_enhancement + NEW_Grib) The "current development" is grib_pi.dll in the "master".
(There are some small things that J-P may be able to move over.)
2. The new version of Opencpn will support either of the other grib plugins because opencpn.exe now has the necessary hooks. However I believe it is important to focus development on the " current grib_pi.dll" otherwise we will forever be wishing features in one or the other and there will be bugs that get fixed in one and not in the other which will be a huge annoyance!!! -Also I am not going to test two separate DLLs!
--So stay focused on the "Current Grib" is my suggestion and Development will move faster.
I believe Pavel will correct me if I have this wrong.
|
|
|
21-04-2013, 12:18
|
#147
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Pavel I like that Git command.
Response:
C:\Data\..\opencpn-git>git remote -v
origin git://github.com/OpenCPN/OpenCPN.git (fetch)
origin git://github.com/OpenCPN/OpenCPN.git (push)
ptizef git://github.com/Ptizef/OpenCPN.git (fetch)
ptizef git://github.com/Ptizef/OpenCPN.git (push)
sean git://github.com/seandepagnier/OpenCPN.git (fetch)
sean git://github.com/seandepagnier/OpenCPN.git (push)
Just what I was looking for!
|
|
|
21-04-2013, 13:15
|
#148
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Jean Pierre, looking at Pavel's reference Git Reference it looks like you would PUSH your changes to
Quote:
git://github.com/OpenCPN/OpenCPN.git
|
using something like git push github master. Pavel could help I think.
Quote:
In a nutshell you can update your project with git fetch and share your changes with git push. You can manage your remote repositories with git remote.
|
|
|
|
21-04-2013, 13:52
|
#149
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
|
Re: New Grib Presentation
Jean Pierre, Pavel advises that you would send a Git Pull Request to him. See this Post #163 and the Post two before that.
|
|
|
22-04-2013, 03:02
|
#150
|
Registered User
Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
|
Re: New Grib Presentation
I am very sorry to not understand all what have been written above due to my bad English and my weak skill but I think the change I've done in NEW_GRIB are completely incompatible with master branch coming from NEW_GRIB and grib_enhancements merge
So when I work on master , what exactly I have to do to apply my change ?(a lot of things doesn't work and have to be fixed)
Jean Pierre
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|