GBTSpectroscopy / degas

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

final cubes should have bunit='K' #37

Closed aakepley closed 6 years ago

aakepley commented 6 years ago

After gridding, the final cubes should have the bunit in the header set to 'K'.

aakepley commented 6 years ago

Like to bump the priority of this. Right now spectral cube isn't terribly happy about the lack of units.

The command: cube.header['BUNIT']='K' doesn't appear to work as advertised.

low-sky commented 6 years ago

To the spectral cube issue, header keywork and cube unit are different. This is being lost in the baselining. The original cube has the correct units. Working on the baseline now...

low-sky commented 6 years ago

Addressed in gbtpipe commit c2003b5

aakepley commented 6 years ago

Thanks. Managed to get a workaround by pulling the data out directly and doing a boolean mask, but not as elegant.