comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: NetCDF support within IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: NetCDF support within IDL [message #515] Wed, 09 September 1992 15:11
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
In article <1992Sep9.024503.10346@bnlux1.bnl.gov>, rivers@bnlux1.bnl.gov (mark rivers) writes...
> I have just finished implementing the complete netCDF library from
> within IDL on VAX/VMS systems. I used the call_external routine to call
> the C netCDF library which I linked as a shareable image. This could be
> done quite simply for many Unix systems (SunOS, AIX, HP, etc.), although
> one additional layer of C interface routines is needed under Unix.

(rest of message deleted)

This makes me think. I keep hearing how CALL_EXTERNAL doesn't work on DEC
ULTRIX systems, because ULTRIX doesn't support shareable object libraries. Is
ULTRIX the only UNIX system that IDL runs on that doesn't support
CALL_EXTERNAL?

Does anybody know if CALL_EXTERNAL will work under DEC's OSF/1 when that comes
out?

Bill Thompson
Re: NetCDF support within IDL [message #518 is a reply to message #515] Tue, 08 September 1992 19:45 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
I have just finished implementing the complete netCDF library from
within IDL on VAX/VMS systems. I used the call_external routine to call
the C netCDF library which I linked as a shareable image. This could be
done quite simply for many Unix systems (SunOS, AIX, HP, etc.), although
one additional layer of C interface routines is needed under Unix.

I wrote IDL "wrapper" procedures with the same names as the netCDF C
routines, so the calling interface is almost identical to that
documented in the NetCDF User's Guide. The IDL routines do a lot of
bookeeping, type conversions, etc. which considerably ease the
programmers task compared to writing in C.

Anyone interested in getting what I have done let me know. I am
aware that netCDF is going to be added to IDL directly soon, but I wanted
to get started now. My routines should also work fine from PV-WAVE
wheras PV-WAVE may never have direct support for netCDF.


--
Mark Rivers (516) 282-7708 or 5626
Building 815 rivers@bnlx26.nsls.bnl.gov (Internet)
Brookhaven National Laboratory rivers@bnl (Bitnet)
Upton, NY 11973 BNLX26::RIVERS (Physnet)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: E-mail address of RSI or PVI to send bug reports/suggestions to
Next Topic: idl-pvwave-mode for emacs

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:37:08 PDT 2025

Total time taken to generate the page: 0.00546 seconds