I am wondering is there any effect from wind on the altimeter reading?
I think when the wind is blowing, the static pressure around the aircraft in flight will somehow change and this can impact the altimeter reading. Is it correct or wrong?
A steady wind will not effect the altimeter reading on an airborne aircraft in any way, since the aircraft will be moving in relation to the airmass. This fully removes any effect a steady wind will have on the airframe and pressure sensitive systems attached to it.
Gusts may have temporary effect on altimeter reading depending on the location of the static port, a sudden gust may alter the pressure distribution around the airframe for a very short period of time inducing a higher or lower than actual pressure reading.
Yes, if a gust of wind was blowing directly into a static port, it could cause a temporary increase in measured static pressure and a drop in the altitude readout.
Traditionally this was corrected by putting static ports on both sides of the aircraft and connecting both of them together, in a T layout. This reads the average pressure on both sides.
Modern large aircraft instead use digital sensors on both sides and the air data computers combine the data. This eliminates potential leakage in the piping, which has caused gross altimeter errors in the past.
Large aircraft combine data from multiple sensors, particularly accelerometers from the inertial nav system, and AOA and sideslip probes. These allow corrections to be made for gusts and local airflow, important to be able to meet altimetry accuracy requirements for RVSM and Baro-VNAV. Another trick is that at least one sensor will be placed asymmetrically, so that vertical gusts will have a unique signature.
This is why air data functions are in the same box as the inertial reference units, forming the integrated air data inertial reference system (ADIRS).
static pressure around the aircraft will somehow change, and this can impact the altimeter reading
At the worst possible moment, when trying to hold a ground track in a landing pattern.
When holding a ground track, effects of wind direction can produce a relative wind that is not aligned with the direction of flight.
This could produce a wind sideforce on the aircraft, potentially affecting the static tube pressure by increasing (windward) or decreasing (leeward) "static" pressure.
Designers solve this by placing static ports in areas less affected by sideslip and/or gusts, and some, like the Cessna 172, have more than 1 static port, giving an average static pressure.
Any blockage, such as by icing, could also play havoc with the altimeter.
The Cessna 172 has 2 static ports, on either side of the fuselage, near the engine cowling.