this is my firsts playraw post. The weather of last week was a little crazy here, spring heat on one day, random snowstorm on the other.
I took this picture on an evening with sun and storm. The foreground was painted gold by the setting sun, while the background was stormy purpleish.
I attach a cropped camera jpg and a darktable edit - i tried to stay close to the camera version, only pushed the clouds to a little more drama.
Camera jpeg:
Looks like a classic dark-channel prior dehaze problem where the algorithm attempts to ignore (the bright patches of the) sky when colour correcting. An extension of that would be to reverse the mask to deal with the bluer part of the sky separately.