good thinking. That will sure prevent the rain.
My dad has “pvc” curtains with a rail outside on the veranda for the same purpose: Rain and sun.
Abbas, Castro Valley, CA