Recently, FSO (Free-Space Optical Communication) has received a lot of attention thanks to its high data-rate transmission via unbounded unlicensed bandwidth. However, some weather conditions lead to significant degradation of the FSO link performance. Based on this context and in order to have a better understanding of the capabilities of FSO communication in a coastal environment, the effects of temperature and humidity on an FSO system are investigated in this study. An experiment is conducted using an open source FSO system that achieves a transmission rate of 1 Gbit/s at a distance of 70 m. Two new mathematical models are proposed to represent the effects of temperature and humidity on our developed FSO system operating at a wavelength of 1 550 nm. The first model links the FSO attenuation coefficient to the air temperature in coastal regions, while the second model links the FSO attenuation coefficient to the humidity and the dew-point temperature. The key finding of this study is that FSO links can achieve maximum availability in a coastal city with normal variations in temperature and humidity.