Unfortunately, biom returns an ndarray of floats (even if the data are integers), so safe casting will fail. This call will truncate any floats when converted to ints.