IDL Bug: (Re: Read HDF format file) [message #11043] |
Thu, 05 March 1998 00:00  |
Helge.Rebhan
Messages: 12 Registered: October 1997
|
Junior Member |
|
|
In article <MPG.f65bc901a73c503989733@news.frii.com>, davidf@dfanning.com
(David Fanning) wrote:
> Sophie Fabre (sfabre@onecert.fr) writes:
>
>> I have a file in HDF format.
>> What are the functions in IDL langage that will allow me to read this
>> file ?
>
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 ?
Servus, Helge
--
Sorry for this but please adjust e-mail address for direct reply
|
|
|
|
|
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
|
|
|
Re: IDL Bug: (Re: Read HDF format file) [message #11374 is a reply to message #11043] |
Fri, 20 March 1998 00:00  |
Helge.Rebhan
Messages: 12 Registered: October 1997
|
Junior Member |
|
|
In article <richard.adams-1903981816150001@mac-baker.physiol.ox.ac.uk>,
richard.adams@physiol.ox.ac.uk (Richard Adams) 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 !-(
>>>> >>
>
> 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.
My only workaround is: Before accessing any HDF File I call the 'Set
Working Path '
menu a set the path to my data directory. But: If you someone inbetween
load a IDL .pro File from another disk the working folder is switched back to
this location, so repeat the whole procedure before again accessing a
HDF-File ..... :-((
This is just one glimpse of my overall bad impression of the Mac portation
of IDL.
More than 3 years I was hoping for major improvements from IDL 3.6 -> 5.0.
But poor memory allocation, no direct printing and other things are still
unsolved problems.
So we decided that it is not worthwhile to spent the money for future updates
of IDL on the Mac. Nevertheless the bugs are not that severe and when you have
'wasted' your time to find the workarounds you can live with IDL on the Mac.
Servus, Helge
--
Sorry for this but please adjust e-mail address for direct reply
|
|
|