Write to database rather than CV, infinity -> na