Hmm, not to get too far ahead of myself, but I went to this URL:
http://gtsvn.refractions.net/geotools/branches/coverages_branch/trunk/gt/plugin/
My thought was, "Hey, I'll preview this GriB1-2.3.x.jar file and see where it came from" or something.
So I went to that url, expecting to track down the gt/plugin/GriB1/ directory, from which I could locate the correct GRIB plugin.
Only, there's no such directory there. Is that supposed to be that way?
Before receiving your email, Alex, I did try another method of resolving my problem.
I did the following:
$ cd <my-work-area>/geotools-trunk/plugin
(i.e, the plugins directory inside a fresh checkout of gt-trunk)
$ svn co http://gtsvn.refractions.net/geotools/trunk/spike/grib1
Then I modified the geotools-trunk/plugin/pom.xml file to refer to the grib1 directory, planning to build this darn GriB1-2.3-SNAPSHOT.jar file myself.
This worked fine, except now the gt grib code refers to an external library called "Jgrib". I went and tracked that down too, but the code inside geotools seems to refer to a newer, or else a *different* version of JGrib than whatever I downloaded (beta-6, I believe).
I then found this page:
http://docs.codehaus.org/display/GEOT/Eclipse+GeoTools+Quickstart
Aha! i thought. I need *that* jarfile, as it seems to be compatible with the exact thing I'm trying to build.
But no such luck. Seems that version of the jgrib jar file is also different than the version I downloaded/built (beta-6), but not the right one to actually build the grib1 spike code.
So let me phrase my question differently.
* Where can I find a copy of the JGrib library that will let me compile the gt2-grib1 plugin (from trunk/spike)?
(alternatively)
* Where can I find a version of the gt2-grib1 source code that will build on top of one of the jgrib libraries I've downloaded?
Of course, the easy way out of this is to ignore the secondary dependecy, grab the attachment you sent me alex (thanks for that!) and just go on about my business. I don't actually plan to use JGrib anyway.
I'll try that approach tomorrow!
thanks!
--saul
Hi Saul:
I had the exact same problem, solved it by using the grib jar from the
coverages_branch of geotools. I also attached it here.
I added it to my maven repo like this:
mvn install:install-file -DgroupId=org.geotools -DartifactId=gt2-GriB1 \
-Dversion=2.3-SNAPSHOT -Dpackaging=jar
-Dfile=~/workspace/gt_coverages_branch/trunk/gt/plugin/Grib1/target/GriB1-2.3.x.jar
just change "-Dfile" to the correct path of GriB1-2.3.x.jar