<div dir="ltr">Is anyone aware of a description of the Rice compression algorithm that is used by FITS?<div><br></div><div><div>The only pseudo-description that I can find is the ricecomp.c code in the cfitsio repository. It would be nice to have a language agnostic description. Note that it is a non-standard algorithm, because it divides the data into subarrays and performs some preprocessing of the subarrays before compressing the data. The standard Rice compression algorithm does not perform preprocessing.<div><br></div><div>I should also note that cfitsio does not have an algorithm for Int64 types; only Int8, Int16, and Int32. The FITS specification permits all four integer types. I guess no one does Int64 compression.</div><div><br></div><div> -- Paul</div><div><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Paul Barrett, PhD<div>Department of Physics</div><div>The George Washington University</div><div>Washington, DC 20052</div><div><br></div></div></div></div></div></div>