now also obtain airmass_g
minor code fix, nothing major changed
minor changes