Hydrolysis of terminal non-reducing beta-D-galactose residues in beta-D-galactosides. Thermostable. Belongs to the glycosyl hydrolase 1 family. Was originally thought to originate from S.solfataricus strain P1, but the culture was contaminated with S.acidocaldarius.