إِنْ تَصْفُ السَّمَاءُ نُتِمَّ الرَّصْدَ.
If the sky clears, we shall finish the observation.
إِذَا صَفَتِ السَّمَاءُ أَتْمَمْنَا الرَّصْدَ.
When the sky clears, we shall complete the observation.
In this context in marks a contingent, unrealized condition, whereas idhā often frames an expected situation or time. Both make completion conditional on clarity, but the degree of expectation differs.
Neither particle alone provides a universal rule that the event is impossible or certain. The rhetorical choice concerns how the speaker presents the pending circumstance.