The temple honours the Northern Emperor, revered by fishermen as a protector against floods and fire.