caf.cvt.data_cleaning#

Cleans raw input data to prepare it for input into the model.

Functions

clip_to_boundary(gdf, boundary)

Clip a GeoDataFrame to a specified spatial boundary.

data_cleaning(config)

Clean all input data for CVT.

explode_to_polygons(gdf[, track_part])

Explodes the MultiPolygons and GeomCollections in a GeoDataFrame into Polygons.

write_to_file(data, output_path[, mode, layer])

Write a DataFrame or GeoDataFrame to a file.

Classes

ZipFile(file[, mode, compression, ...])

Class with methods to open, read, write, close, list zip files.

Exceptions