Automated thermal sample preparation for water content analysis when samples cannot be titrated directly.