New Zealand has been put on Tsunami alert after National Emergency Management Agency (NEMA) issued a warning following a magnitude 6.3 earthquake.