Make write_cloudtype useable from trollduction.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>