Re: [netcdf-java] [netcdfgroup] NetCDF jars=>Maven Central Repos?

Hi Chris:

We havent really got our act together on the external svn yet, so its a bit messy.

generally you check everything from:

http://svn.unidata.ucar.edu/repos/thredds/trunk/ <http://svn.unidata.ucar.edu/repos/thredds/trunk/cdm/> to {local}/thredds

http://svn.unidata.ucar.edu/repos/common/java/trunk/ to {local}/unidataCommon

the java-netcdf build is in {local}/thredds/cdm/build.xml

its possible to get the grib source and opendap source, but i think the ant build will use the jar files in

{local}/thredds/lib/**

which i think is the right thing to do for the moment. we are going to move the grib source under thredds, so next round we can incorporate that. im not yet sure of opendap - for now assume its independent.

we might see what contortions your patch brings and try to clean up our act some.

thanks



On 4/26/2010 7:46 PM, Mattmann, Chris A (388J) wrote:
(copying tika-dev@xxxxxxxxxxxxxxxxx so that we can get some dev help in Tika-land)

Hi John,

Thanks for the information --- we have a number of experienced developers over in Tika-ville that likely can help provide a patch to your ant build scripts to upload via Ant (and likely Ivy) to the Maven Central repos. Jukka Zitting is one of the masters of Maven Central and of Maven in general --- Jukka, do you know how to use Ant, with e.g., Ivy, to help out the NetCDF-java'ers?

Thanks for the info too on the RandomAccessFile notion in netCDF. I found it out while trying to process it in Tika, so ended up working around it via the Tika interface and loading the stream into memory first. Jukka is working on TIKA-153 [1] that builds a TikaInputStream to handle these types of situations and provide a stream based interface around situations like this :)

Thanks and we will be in touch: can you point us to your SVN and to your ant build script so we know how to contribute a patch for you guys?

Thanks!

Cheers,
Chris


On 4/26/10 5:58 PM, "John Caron" <caron@xxxxxxxxxxxxxxxx> wrote:

    Hi Chris:

    Im guessing you actually want the netcdf-java libraries ( I have
    cross posted to netcdf-java@xxxxxxxxxxxxxxxx which is the correct
    email group for that). We unfortunately dont use Maven and dont
    have any expertise in it. We have had some contributed POM files
    by users. We would be willing to upload jar files automaticallly
    if theres a simple way to do that (add to our ant build?). Do we
    have to build with maven to do so? Of course, the complication
    comes from the dependencies.

    >From your Jira entry, it seems theres some question about files vs
    streams. netcdf is a random access file format. The java library
    does handle streams, but only by loading it into memory, as
    apparently youve discovered. If you are only interested in the
    metadata from netcdf-3 formatted files, all of the metadata is in
    the front of the file, and its usually quite small, so one could
    optimize that. For HDF5/netcdf4 the metadata is usually scattered
    around the file, so theres no easy way currently to optimize that.
    netcdf-java handles a lot of file formats, but all are assumed to
    be random access.

    John Caron

    On 4/26/2010 2:21 PM, Mattmann, Chris A (388J) wrote:

        Re: NetCDF jars=>Maven Central Repos? Hi Folks,

        I never heard back regarding this message. Any thoughts?

        Thanks!

        Cheers,
        Chris


        On 4/12/10 8:53 AM, "Mattmann, Chris A (388J)"
        <chris.a.mattmann@xxxxxxxxxxxx> wrote:


            Hi there NetCDF'ers,

            We've been working [1] on integrating NetCDF support into
            Apache Tika [2].
            Tika uses Maven2 as its build tool, and I was having
            trouble finding a copy
            of the NetCDF jars in the Maven Central repos. Would you
            guys be willing to
            upload/publish the NetCDF jars into Maven Central so that
            we could integrate
            them into Apache Tika? Right now, I've worked around this
            problem by using
            the following external NetCDF repo [3], but as Jukka
            Zitting informed me on
            the Tika mailing lists, per current Maven policies, it's
            bad practice to
            reference external repositories in POMs meant to be
            released to Maven
            Central [4]. It looks like you guys had some discussions
            about this before
            [5], but it's unclear if a consensus was reached.

            Please let me know, your help would be appreciated!

            Cheers,
            Chris


            [1] http://issues.apache.org/jira/browse/TIKA-400

            [2] http://lucene.apache.org/tika/

            [3] http://bit.ly/bkOXEi

            [4] http://bit.ly/aIYD38

            [5] http://bit.ly/bkI9ma

            ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
            Chris Mattmann, Ph.D.
            Senior Computer Scientist
            NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
            Office: 171-266B, Mailstop: 171-246
            Email: Chris.Mattmann@xxxxxxxxxxxx
            WWW: http://sunset.usc.edu/~mattmann/
            <http://sunset.usc.edu/%7Emattmann/>
            <http://sunset.usc.edu/%7Emattmann/>
            ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
            Adjunct Assistant Professor, Computer Science Department
            University of Southern California, Los Angeles, CA 90089 USA
            ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






        ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        Chris Mattmann, Ph.D.
        Senior Computer Scientist
        NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
        Office: 171-266B, Mailstop: 171-246
        Email: _Chris.Mattmann@xxxxxxxxxxxx
        _WWW: _http://sunset.usc.edu/~mattmann/
        <http://sunset.usc.edu/%7Emattmann/>
        <http://sunset.usc.edu/%7Emattmann/>
        _++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        Adjunct Assistant Professor, Computer Science Department
        University of Southern California, Los Angeles, CA 90089 USA
        ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




        _______________________________________________
        netcdfgroup mailing list
        netcdfgroup@xxxxxxxxxxxxxxxx
        For list information or to unsubscribe,  visit:
        http://www.unidata.ucar.edu/mailing_lists/





++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: _Chris.Mattmann@xxxxxxxxxxxx
_WWW: _http://sunset.usc.edu/~mattmann/ <http://sunset.usc.edu/%7Emattmann/>
_++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: