don't attempt to assign climate sites when state is null
implement suggested changes by Dr Hornbuckle