Measuring and modeling biodiversity from space