Development of a Novel Climate Adaptation Algorithm for Climate Risk Assessment