Re: IDL Bug: (Re: Read HDF format file) [message #11232 is a reply to message #11043] |
Thu, 19 March 1998 00:00   |
richard.adams
Messages: 1 Registered: March 1998
|
Junior Member |
|
|
In article <mgs-0603982303080001@sc23-17-167.thegrid.net>,
mgs@sd.cybernex.net (Mike Schienle) wrote:
> In article <Helge.Rebhan-0603981507580001@vrmc10.jw.estec.esa.nl>,
> Helge.Rebhan@REMOVE-THIS.gmx.net (Helge Rebhan) wrote:
>
>> In article <mgs-0503981912550001@sc17-16-22.thegrid.net>,
>> mgs@sd.cybernex.net (Mike Schienle) wrote:
>>
>>>
>>>> Helge Rebhan (Helge.Rebhan@REMOVE-THIS.gmx.net) writes:
>>>>
>>>> > BTW, I found a strange bug in IDL 5.0 on the Macintosh with respect
> to HDF.
>>>> > If your 'working folder' is not pointing to the partition where your
>> HDF file
>>>> > is located any IDL-HDF routines failes to recognize the HDF format !!???
>>>> > If you change your defalut folder everyhting is working fine !-(
>>>> >
>>>> > Anybody had the same experience ?
>>>>
>>>
>>> I have to go with David on this one. I've never changed my Working Folder,
>>> and I used to have separate partitions for data and applications. I don't
>>> recall any Mac-specific problems relating to HDF.
>>>
>>
>> My suspicion is a general bug with Mac specific pathnames:
>> For example: I cannot write an HDF File to "HR DATA:" (root partition)
>> But I'm able to write to "HR DATA:tmp:"
>> Maby something related to the spaces in the root pathname .... ???
>
> Very likely the problem. That may be a problem for UNIX as well. You can
> put spaces in UNIX file and directory names, but you don't see it done on
> a regular basis as with a Mac.
>
> --
> Mike Schienle Interactive Visuals
> mgs@sd.cybernex.net http://ww2.sd.cybernex.net/~mgs/
I have been fighting with the same problem but have only just found that
it has been discussed here. In my experience it does not seem to relate
just to the working directory or its partition - directories shallower
than the appliaction directories give erroneous results as do other disks.
It seems not to be just a 'programming' problem, since the same HDF file
moved around to different directories is variably readable or unreadable.
Also the space-in-name hypothesis seems not to hold since changing the
disk name does not save the situation, too bad :-( Interestingly, a file
looks ok if it is re-read during the same session in IDL but is not usable
if you restart the application. Has there been any more progress here. It
certainly makes using HDF files on a Mac difficult which is too bad since
they are just what I need right now.
Richard.
--
Richard Adams
University Laboratory of Physiology
Oxford University
Parks Road
Oxford OX1 3PT
UK
E: richard.adams@physiol.ox.ac.uk
T: +44 (1865) 272506
F: +44 (1865) 272469
|
|
|