Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Netcdf for C and Perl



Naveenta:  I have used netCDF with both C and perl on DEC alpha with
no problems.  One point:  the perl library sits on top of the C library, 
so there is no conflict.  libnetcdf.a is used for C code, but it is
also compiled into the perl netCDF module.

You can use the perl netCDF module from the unidata page, but
I would encourage you to look into PDL::NetCDF, which is a more
natural (IMHO) interface to netCDF from perl using the PDL (perl data
language)
which allows one to manipulate Dense, N-dimensional, typed matrices in
perl
quickly and efficiently.

For more info, see:

http://pdl.perl.org/ or
http://sourceforge.net/projects/pdl/

and visit CPAN (the perl archive network) for PDL::NetCDF:

http://www.cpan.org/modules/by-module/PDL/

Regards, 

  Doug Hunt

Naveenta Anand wrote:
> 
> Hello,
> 
> Can Netcdf library for C coexist with Netcdf library for Perl on the same
> system? Any difficulties or experiences?? I have a dec alpha Unix system on
> which I will probably have to do it.
> 
> Thanks...
> Naveenta

-- 
dhunt@xxxxxxxx
Software Engineer III
UCAR - COSMIC, Tel. (303) 497-2611

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690