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)
|
|
|