basic unit conversion
use number instead of resources
write the scaled number to the file.
use seconds for aggregate time scale instead of microseconds