I searched for how measure gas weight and about gases in space
https://www.shutterstock.com/search/space+gases
https://education.seattlepi.com/gases-found-outer-space-5888.html
Will the weight of gas measurement in space as well as in other planets of the Solar system be different as compared to gas measurement on Planet Earth?