Re: NetCDF support within IDL [message #515] |
Wed, 09 September 1992 15:11 |
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  |
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)
|
|
|