fixed humidty to opacity conversion