For the rte_solver sdisort refraction may be included by  

nrefrac value

 
where value has the meaning

No refraction, default.

1

Refraction included using fast, but harsh method.

2

Refraction included using slow, but accurate method.

If refraction is included also set parameter refraction_file.