comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Behaviour of REFORM() changed in IDL 5.5?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Behaviour of REFORM() changed in IDL 5.5? [message #29247 is a reply to message #29241] Fri, 08 February 2002 08:57 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Georg Wiora wrote:
>
> Hi everybody!
>
> I just found out that the behaviour of the REFORM() function
> seems to be changed in IDL 5.5. With IDL 5.4 I was able to
> reform a one dimensional array to a two dimensional with a
> trailing dimension of size one. With idl 5.5 these dimension
> is removed automaticaly. But from the documentation the
> automatic reduction of dimensions should only happen if no
> dimensions are specified. This change is not documented in
> the (windows) help file.
>
> Here is my example:
> array = INDGEN(100)
> image = REFORM(100,1)
>
> In IDl 5.4 the result was: image[100,1]
> In IDl 5.5 the result is: image[100]
>
> Is there anything known about a bug fix for that?
>
> Thanks,
>
> Georg


Are you sure ?

IDL> array = INDGEN(100)
IDL> image = REFORM(array,100,1)
IDL> help,image
IMAGE INT = Array[100, 1]

IDL> help ,!version,/str
** Structure !VERSION, 8 tags, length=76, data length=76:
ARCH STRING 'x86'
OS STRING 'linux'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'linux'
RELEASE STRING '5.5'
BUILD_DATE STRING 'Aug 28 2001'
MEMORY_BITS INT 32
FILE_OFFSET_BITS
INT 32

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Division of two images
Next Topic: alphaLINUX IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 23:19:50 PDT 2025

Total time taken to generate the page: 0.87771 seconds