PyWiFeS / pipeline

The Python data reduction pipeline for WiFeS
7 stars 26 forks source link

Data quality extension on data cubes is a double (not int) array #16

Open ADThomas-astro opened 8 years ago

ADThomas-astro commented 8 years ago

The data quality (third and final) extension of the data cubes seems to contain only integers (0, 1, ..., 6 in a cube I just looked at), however the array is stored as a double-precision float (8 bytes per value) instead of a 1-byte integer. This means that every cube file could be (7/8)*(1/3) = 30% smaller.