The development of water and oxygen tolerant catalysts for ammonia synthesis