When not inconsistent with this chapter or any other ordinance, the chief of police has authority in an emergency to prohibit the parking or stopping of vehicles on any street or portion of a street or to close a street to traffic. All these orders shall be temporary only.