comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: 32bit signed integer problems

Re: 32bit signed integer problems
type: item
description: bprause@campra.phys.nd.edu (Burkhard Prause) wrote: > Array then turns out to contain sheer noise. If I read the data file > into a one dimesional vector, then extract 16 bit integers by reading > every third and fourth byte into a 256x128x128 integer array, I can > produce the "correct" image. So my data set is not garbage. However, > by doing this I basically limit my contrast, because all values larger > than 2^16 are read as 65536. > > Any suggestions what I may be doing wrong here? Have a look at the BYTEORDER procedure. Alex -- Alex Schuster Wonko@weird.cologne.de PGP Key available alex@pet.mpin-koeln.mpg.de
creator: a2652099
date: 1998-04-14T07:00:00-00:00

Re: 32bit signed integer problems
type: item
description: In article 38A5@campra.phys.nd.edu, Burkhard Prause <bprause@campra.phys.nd.edu> writes: > I try to read what I believe are 32 bit signed integer binary data > files. > Any suggestions what I may be doing wrong here? Were they produced on the same machine that you're reading them on? Ie do you have byteswap problems? -W. --- William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/ Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
creator: wmc
date: 1998-04-15T07:00:00-00:00