hydromodpy.data.variables.geology.cases.common#

Shared helpers for geology demo launchers.

Functions

clip_square_window(gdf, *, center_x, center_y)

Clip one GeoDataFrame to a square window centered at (center_x, center_y).

format_axes_ticks_km(ax)

Improve axis tick readability for projected coordinates (meters -> km).

resolve_case_path(path_like)

Resolve a path relative to this geology-case directory.

resolve_output_path(path_like, *, default_file)

Resolve output path, routing bare filenames into outputs/.

save_figure(fig, output_path)

Save a matplotlib figure and ensure output directory exists.