Test code in main

Signed-off-by: Adam Dybbroe <adam.dybbroe@smhi.se>
Adding data types to the hdf5 output

Signed-off-by: Adam Dybbroe <adam.dybbroe@smhi.se>