...and looking towards Ayr, I think?Definitely Troon.
Yes, my first thought was Troon with a Southbound train arriving from the Glasgow direction.
Yes, the curve suggests a northbound train with shadows cast by late afternoon / early evening sunshine from the western side....and looking towards Ayr, I think?