Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

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

Hi Chris,

We've developed low level access to NetCDF-4/HDF5 using the JNA and the 
NetCDF-4 4.1.3 C library.  We'd be happy to share this with you but i'll warn 
you that it's a very light wrapper on top of the C library and doesn't leverage 
any of the NetCDF-Java API for writing.  The files can be read in NetCDF-Java 
with some caveats if you are using NetCDF-4 compound data types.

We're also looking at streaming data out (appending) and have settled on a 
discrete sampling geometry format that should let us write station time series 
data with time as the outer dimension using ragged-indexed arrays and NetCDF-4 
compound data types (structures) with some storage overhead.

If you interested in our code let us know.

Tom

On Oct 17, 2011, at 12:35 PM, 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/

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