Re: [netcdfgroup] what is status of netCDF3 vs netCDF4?

  • To: John Caron <caron@xxxxxxxx>
  • Subject: Re: [netcdfgroup] what is status of netCDF3 vs netCDF4?
  • From: Joe Lee <hyoklee@xxxxxxxxxxxx>
  • Date: Fri, 7 Nov 2014 00:38:20 +0000
Hi John!

  I hope that you can provide pure Java netCDF-4 / HDF5 writer in NetCDF-Java 
library.

BTW, is Nujan [1] dead?

[1] http://www.ral.ucar.edu/~steves/nujan.html

From: netcdfgroup-bounces@xxxxxxxxxxxxxxxx 
[mailto:netcdfgroup-bounces@xxxxxxxxxxxxxxxx] On Behalf Of John Caron
Sent: Thursday, November 06, 2014 5:52 PM
Cc: netcdfgroup@xxxxxxxxxxxxxxxx List
Subject: Re: [netcdfgroup] what is status of netCDF3 vs netCDF4?

Hi all:

I thought I would clarify one small piece of the conversation:

Unidata supports two libraries, one in C and one in Java. All other Unidata 
netCDF libraries are wrappers around the C library  (notably C++, F77, F90, and 
Python) , or the Java Library (notably matlab).

The Java library supports reading netCDF-4 files in pure Java. For writing 
netCDF-4, it requires the netCDF4 C library.

A pure Python library for netcdf-3 would be easy and I'm sure has already been 
done. I predict no one will ever again be foolhardy enough to write another 
netCDF4 / HDF5 library that doesnt use the netCDF4 / HDF5 C libraries.

Regards,
John

On Thu, Nov 6, 2014 at 11:04 AM, Chris Barker 
<chris.barker@xxxxxxxx<mailto:chris.barker@xxxxxxxx>> wrote:

Quick comment on this:

a previous post seemed to imply that Python was supported. I think the C and 
Fortran libraries should be top priority,

the netCDF4 python package is a wrapper around the C lib.

So it is as robust as the C lib, but also just as hard to compile!

I agree that C and Fortran are key (actually primarily C -- you should be abel 
to call C from Fortran anyway) And C gets you the ability to wrap for a whole 
pile of higher-level languages (Julia, Octave, R, etc....)

That leaves us with the Java world -- which does not map so easily to C

What about .net, by the way? I don't care, but maybe some folks do ;-) I have 
no idea how hard it is to call C from .net languages...

-Chris

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959<tel:%28206%29%20526-6959>   voice
7600 Sand Point Way NE   (206) 526-6329<tel:%28206%29%20526-6329>   fax
Seattle, WA  98115       (206) 526-6317<tel:%28206%29%20526-6317>   main 
reception

Chris.Barker@xxxxxxxx<mailto:Chris.Barker@xxxxxxxx>

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

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