SMS: Inverse modeling of the ocean and atmosphere