Dear Fei, please excuse me if I seemed critical. That was not my intent. I
tried to compile it under Cygwin and then under Linux.
Kurt sent me a note privately criticizing me for being 'unappreciative'. In
fact, as soon as I saw your description, I was eager to look at it.
The download and untar went fine. The 'assert' is missing. Is there someone
else in the group who has successfully compiled the code? I tried three
different c++ compilers.
Russ, have you looked at the code?
John
-----Original Message-----
From: owner-netcdfgroup@xxxxxxxxxxxxxxxx on behalf of Fei Liu
Sent: Thu 4/6/2006 12:28 PM
To: Russ Rew
Cc: Fei Liu; netcdfgroup@xxxxxxxxxxxxxxxx; Hanson, Kurt
Subject: Announcing netcdf c++ wrapper library
Hi Group,
netcdf c++ wrapper library is a library around existing netcdf c++
library provided by unidata. It can be downloaded directly from here:
ftp://ftp.gfdl.noaa.gov/pub/fil/netcdflib.tgz
This library introduces a few key modern c++ techniques to class design
and interface design. A new class, ONetCDFFile::NcFile, is introduced to
make writing a netCDF file much easier based on an existing input netCDF
file. This class contains template member functions that copies netCDF
variables from input file to output file. It also provides book keeping
records of attributes, dimensions, variables copied from one file to
another.
ncatt.h and ncatt.cpp captures key methods to copy attributes from a
input
object (NcFile or NcVar) to an output object. This wrapper uses facade
design to provide a unified function interface. It also provides a
template member function to easily retrieve value of a given attribute.
ncio.h provides template functions to read and write data from/to a
netCDF
file. This class is tightly coupled with array.h. array.h is a small and
efficient multiple dimension array implementation. Its access methods
resembles fortran syntax and can be used very intuitively.
All class and methods reside in namespace 'feiliu' to prevent name
collision with other similar libraries.
To build the example, use 'build'. All source codes are ISO c+ᄮ standard
compliant.
Let me know if you have any suggestions to improve this library. Thanks!
Fei
On Wed, 5 Apr 2006, Russ Rew wrote:
> Hi Fei,
>
>> Hi Russ and Kurt, I have finished coding some wrapper interfaces to
make
>> using netCDF in C++ a little easier. I don't have a convenient way to
>> publish my code (noaa has web page design requirement). Let me know
if you
>> want me to send a zip file to you. Enclosed is the source code of a
test
>> app to show you the improvements I've made over existing netcdfcpp
>> classes (introducing namespace, facade design, template to
netcdfcpp).
>
> Yes, thanks, please send a zip file with your improvements!
>
> I would like to test your changes for backwards compatibility and
> maybe incorporate them in a future release, with credit to you, of
> course. I also have a summer student working on the C++ interface
> this summer. I might have her start with your wrappers and see what
> other improvements are possible while maintaining backwards
> compatibility with the current interface.
>
> Thanks again for your efforts in improving netCDF.
>
> --Russ
>
> _____________________________________________________________________
>
> Russ Rew UCAR Unidata Program
> russ@xxxxxxxxxxxxxxxx http://www.unidata.ucar.edu
>
>
==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================
==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================
>From owner-netcdfgroup@xxxxxxxxxxxxxxxx 5 Wed, Aug
Date: Wed, 5 Aug 1992 21:07:16 EDT
From: RIVERS@xxxxxxxxxxxxxxxxxxx (Mark Rivers)
To: netcdfgroup@xxxxxxxxxxxxxxxx
Subject: VMS
Received: by unidata.ucar.edu id AA09308
(5.65c/IDA-1.4.4 for netcdfgroup-send); Wed, 5 Aug 1992 19:08:30 -0600
Received: from bnlx26.nsls.bnl.gov by unidata.ucar.edu with SMTP id AA09304
(5.65c/IDA-1.4.4 for <netcdfgroup@xxxxxxxxxxxxxxxx>); Wed, 5 Aug 1992
19:08:28 -0600
Message-Id: <920805210716.216016ce@xxxxxxxxxxxxxxxxxxx>
X-Vmsmail-To: SMTP%"netcdfgroup@xxxxxxxxxxxxxxxx"
Folks,
I would like to get on you mailing list for netCDF. I have just read the
documentation and it looks like just what I am looking for. I got
the tar.Z file for Unix no problem. However, I find that when I try to
get the VAX/VMS version from laurel.ucar.edu it is an unknown host.
When I try laurel.unidata.ucar.edu it never responds. When I try by the
Internet host number given in the README I also get no response. Is there
a machine available where I can get the VAX/VMS saveset.
Mark Rivers