A 5.2-magnitude earthquake occurred today near the rural Tubu area in Gansu Province, western China.