added diagnostics on arrays passed from wrf