NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] Low level C-like API for NetCDF-Java

Hi Arlindo:

There is no such low level C-like API in the netcdf-Java library. However, the 
Java API has a pretty close correspondence, but an automatic conversion is not 
likely. 

If what you need is netcdf + opendap in C, then you can use netcdf-4. Im not 
sure what the release status of that  is, but i know you could get a 
preliminary version.

OTOH, Im not sure exactly what you are trying to accomplish. Take existing C 
code using netCDF C library and turn into Java? For what purpose?

Regards,

John

Arlindo da Silva wrote:
> Hi,
> 
>     I am in the process of using NestedVM (uses gcc to compiles C
> sources into JAVA bytecode, see http://nestedvm.ibex.org/) to port
> some C code to Java. I've been able to compile the latest NetCDF 3.x
> code just fine, but I need OPeNDAP and nc-dap is a bit more
> challenging as I need to implement a fairly functional ipc/xdr layer
> for that. Therefore, I could save time by calling NetCDF-Java
> implementation instead.
> 
>    I only need to read classic NetCDF-3 files/OPeNDAP  URLs, therefore
> the immutability of the file object in  NetCDF-Java should not be a
> concern. Has anybody developed a wrapper (or does it exist privately
> inside NetCDF-Java) for NetCDF-Java with a C-Like API?  Say,
> nc_open(), nc_close, etc. I'm trying not to reinvent the wheel...
> 
>   Thank you,
> 
>        Arlindo
> 


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