ZoningSystem.old_to_new_zoning#
- classmethod ZoningSystem.old_to_new_zoning(old_dir, new_dir=PosixPath('I:/Data/Zoning Systems/core_zoning'), mode='csv')[source]#
Convert zoning info stored in the old format to the new format.
Optionally returns the zoning as well, but this is primarily designed for read in -> write out.
- Parameters:
old_dir (Directory containing the zoning data in the old format (i.e.)
normits_demand/base/definitions/zoning_systems (in)
new_dir (Directory for the reformatted zoning to be saved in. It will)
system. (be saved in a sub-directory named for the zoning)
mode (Whether to save as a csv or HDF. Passed directly to save method)
- Return type: