Currently when SolarIn receives a StreamDatum it converts it back to a GeneralDatum and then stores that in the database. The reason for this is because the storing of a GeneralDatum is what triggers audit data updating and aggregate data processing. It might make more sense to add a new database procedure to accept a StreamDatum and also trigger the audit data updating/aggregate data processing.