Re: [netcdf-java] NetCDF-4 / HDF5 Write Capability

Perhaps JNI is the best approach. I don't know.

But I do know that using JNI makes Java code not write-once-run-anywhere. That is partly because the non-Java code must be available for all target platforms. Even if it is available, JNI can be very picky -- code has to be compiled with certain versions of compilers and with certain flags. So, using JNI can seem relatively straight-forward for the initial developer ("it works for me"), but be an installation headache for others trying to reuse the code.


On 10/17/2011 10:35 AM, Christopher Mueller wrote:
NetCDF-Java Folks,

We have a need to write NetCDF4/HDF5 files from within a project that
already has a significant framework developed in Java. We also have a
firm requirement to be able to "append" to existing files - which
(unfortunately) takes the Nujan library off the table (at least in it's
current incarnation). I see from the NetCDF-Java FAQ
(http://www.unidata.ucar.edu/software/netcdf-java/reference/faq.html#Writing)
that you are considering a JNI approach for writing NetCDF4 from NJ, and
I'd like to put my vote in for that. The HDF Team supports JNI Java
modules for Windows, Linux and Mac - wouldn't it be relatively
straightforward to integrate those into the NetCDF-Java distro to give
it NC4 writing capability?

As part of such an addition (including & using the JHI & JHI5
libraries), would you also consider refactoring the current HDF read
support to utilize the JNI libraries?

Best,
Chris


--
*Christopher Mueller* | Scientific Developer
Applied Science Associates
55 Village Square Drive | South Kingston, RI 02879 USA
p: +1 401-789-6224 | c: +1 401-219-2490 | f: +1 401-789-1932
e: cmueller@xxxxxxxxxxxxxx | www.asascience.com

*ASA | Science. Services. Solutions*

Consider the environment before printing this email.


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

--
Sincerely,

Bob Simons
IT Specialist
Environmental Research Division
NOAA Southwest Fisheries Science Center
1352 Lighthouse Ave
Pacific Grove, CA 93950-2079
Phone: (831)658-3205
Fax:   (831)648-8440
Email: bob.simons@xxxxxxxx

The contents of this message are mine personally and
do not necessarily reflect any position of the
Government or the National Oceanic and Atmospheric
Administration.
<>< <>< <>< <>< <>< <>< <>< <>< <><



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