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

Home » Public Forums » archive » Re: netCDF - ... and file size
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: netCDF - ... and file size [message #15393] Fri, 14 May 1999 00:00 Go to previous message
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
In article <373C8FDA.3C47B2@io.harvard.edu>, Martin Schultz
<mgs@io.harvard.edu> wrote:

> Martin Schultz wrote:
>>
>
> ... the file size of my test netCDF file is practically identical to the
> size of my
> "primitive" binary file (all dat being stored as float). Wouldn't it be
> nice if netCDF would support compression? In my case that would mean a
> reduction by a factor of 4 (using gzip). Or would they loose
> cross-platform portability then?

There has been talk about doing this, but I think there are considerable
obstacles. You can maintain cross-platform compatibility by using 'scale'
and 'offset' attributes to linearly transform your variables and store
them as, for example, 2-byte INTs instead of 4-byte FLOATS (at some cost
in precision, of course).

Ken
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: netCDF - char attributes
Next Topic: IDL Program Updates

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

Current Time: Thu Oct 09 20:51:09 PDT 2025

Total time taken to generate the page: 0.23909 seconds