Is earth inertial or non-inertial frame of reference?

Since, earth revolves around the sun and also spins about its own axis, so it is an accelerated frame of reference. Hence, earth is a non-inertial frame of reference.
However, if we do not take large scale motion such as wind . and ocean currents into consideration, we can say that the approximation that the earth is an inertial frame.