Re: CDF_Varget routine [message #13581] |
Thu, 26 November 1998 00:00 |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Harald Jeszenszky wrote in message
<36592124.352199746@news.tu-graz.ac.at>...
> This means that you can't read more than 64kB of data 'at a time'
> under the CDF interface for Windows. My solution was to read blocks of
> data smaller than 64kB using the REC_START and REC_COUNT keywords of
> the CDF_VARGET routine.
You mean they still haven't fixed this!!! The original CDF routines on IDL
for win32 didn't have this limitation. It was introduced when RSI 'updated'
their code, and presumably used 16-bit code designed for DOS. This was
thoroughly unnecessary, because IDL for Windows has always been 32-bit. I
complained about it then and for several versions afterwards when the
problem went unfixed. Last I heard they were going to fix it REAL SOON.
I don't use CDF any more, partly for this reason.
My advice: COMPLAIN. I've given up.
--
Mark Hadfield, m.hadfield@niwa.cri.nz http://www.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
|
|
|
Re: CDF_Varget routine [message #13622 is a reply to message #13581] |
Mon, 23 November 1998 00:00  |
harald
Messages: 5 Registered: October 1998
|
Junior Member |
|
|
On Fri, 20 Nov 1998 09:29:10 -0700, Haje Korth <hkorth@lanl.gov>
wrote:
> Hi Everybody,
> I just tried to port my IDL routines that inlcude IDL's built in CDF
> routines from UNIX to the PC. This is the first time a port didn't work
> right away for me. This is what happened:
> I am using the CDF_VARGET routine to read data from a CDF file into a
> variable. The whole file is only 150KB small and I tried to read the
> 'Epoch' variable. The error I get is: IBM_PC_OVERFLOW: Greater than 64Kb
> of memory required.
> Does that mean I can't read any CDF file variable that is greater than
> 64KB??? Why use CDF then???????
> Maybe since I don't see the solution right now you know better than I
> do....
This means that you can't read more than 64kB of data 'at a time'
under the CDF interface for Windows. My solution was to read blocks of
data smaller than 64kB using the REC_START and REC_COUNT keywords of
the CDF_VARGET routine.
Harald
------------------------------------------------------
Harald Jan Jeszenszky
harald@iwf.tu-graz.ac.at
Space Research Institute
Austrian Academy of Sciences
------------------------------------------------------
|
|
|