Newsgroups: sci.math.num-analysis,sci.image.processing,comp.infosystems.gis
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!rutgers!news.cs.indiana.edu!umn.edu!fluke!szeliga
From: szeliga@fluke.forestry.umn.edu (Tim Szeliga - NWS)
Subject: Non-IEEE Floating point
Message-ID: <szeliga.803859767@fluke>
Summary: Need to convert non-IEEE floating point
Keywords: FP,IEEE,GVAR,GOES
Sender: news@news.cis.umn.edu (Usenet News Administration)
Nntp-Posting-Host: fluke.forestry.umn.edu
Reply-To: szeliga@snow.nohrsc.nws.gov
Organization: University of Minnesota, Twin Cities
Date: Thu, 22 Jun 1995 22:22:47 GMT
Lines: 25
Xref: glinda.oz.cs.cmu.edu sci.math.num-analysis:21643 sci.image.processing:15406 comp.infosystems.gis:35958



I have satellite data that has all the floating point data 
formatted with  (1/7/24) one sign bit, seven exponent bits and 24 mantissa
bits, instead of the IEEE standard of 1/8/23.  
The standard C floating point routines and octal dump won't read the data.
(The GOES GVAR data uses the Gould/SEL FP representation.)

+|1234567|123456781234567812345678  (exp is value - 64, so E-03 -> 61)
  to
+|12345678|12345678123456781234567  (exp is value - 128)


I suppose I can use masking and bitshifting to copy the data over
and translate it, losing a bit in the process,
 but is there anything availiable that will do this?
The translation will need to be fast.

Any pointers to references or more appropriate newsgroups would be 
appreciated.

Tim Szeliga
National Weather Service
tim@nws.gov

