work in progress on creating arrays for libcloudph