He was director of the Observatori Fabra in Barcelona. He discovered 11 asteroids and 2 comets. In 1905 he received the Janssen prize from the Astronomical Society of France and was chosen member of the Astronomical Society of London.
- Fotografia del cel (1898)
- Astronomía y ciencia general (1907)
- Álbum fotográfico de la zona eclíptica (1915)
- Astronomía (1910, 1920, 1927)
- El cielo (1927)