Converter using the poti_events function and creating a rastro file