Fabric systems should be retracted in strong wind. A motor with a wind sensor can do this for you. For heavy rain, choose a waterproof retractable roof or a louvre roof, and make sure it’s designed to drain away from the house.
Louvres can be angled to let hot air escape while still shading, which keeps the space cooler on still days.