GBTSpectroscopy / degas

ARGUS Dense-Gas GBT Survey
GNU General Public License v3.0
2 stars 6 forks source link

postprocess.cleansplit() does not honor the data type (e.g. np.float32) #149

Open teuben opened 1 year ago

teuben commented 1 year ago

in the GBT-EDGE pipeline we now use griddata(...,dtype=np.float32) and this indeed produces BITPIX=-32 cubes.

However, we then use postprocess.cleansplit() which then produces cubes with BITPIX=-64.

Perhaps pedantic, but besides wasting space, karma (kpvslice) cannot handle it. I'll obviously check if I can solve it easily from my end, until then it's an issue.

Reference: https://github.com/teuben/GBT-EDGE/issues/4